Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


To be able to run Windows I'll need more graphics capabilities. This patch is the...
[palacios.git] / palacios / include / palacios / vmm_packet.h
index 78585c1..f343821 100644 (file)
 
 #ifdef __V3VEE__
 
-#define V3_send_Raw(pkt, size, data) ({                                \
-           extern struct v3_packet_hooks * packet_hooks;               \
-           int ret;                                                                    \
-           if ((packet_hooks) && (packet_hooks)->send) {       \
-               ret = (packet_hooks)->send(pkt,size,data);              \
-           }                                                   \
-           ret;                                                \
-       })
+int V3_send_raw(const char * pkt, uint32_t len);
 
 #endif
 
-
 struct v3_packet_hooks {
 
-    int (*send)(const char * pkt, const int size, void * private_data);
+    int (*send)(const char * pkt, unsigned int size, void * private_data);
 
 };
 
-
 extern void V3_Init_Packet(struct v3_packet_hooks * hooks);
 
 #endif