evdi : evdi protocol was changed
authorDaiYoung Kim <daiyoung777.kim@samsung.com>
Tue, 16 Apr 2013 09:22:15 +0000 (18:22 +0900)
committerDaiYoung Kim <daiyoung777.kim@samsung.com>
Tue, 16 Apr 2013 09:22:15 +0000 (18:22 +0900)
Signed-off-by: DaiYoung, Kim <daiyoung777.kim@samsung.com>
drivers/maru/maru_virtio_evdi.c
include/linux/virtio_ids.h [changed mode: 0644->0755]

index 776e8a115d84e1bcdc530414d0d7958fe18281f4..6480ff0ceddc6a9296784d1efb9c8bda2a9d864c 100755 (executable)
 #define NUM_OF_EVDI    2
 #define DEVICE_NAME            "evdi"
 
+/* device protocol */
 #define __MAX_BUF_SIZE 1024
 
+enum
+{
+       route_qemu = 0,
+       route_control_server = 1,
+       route_monitor = 2
+};
+
+typedef unsigned int CSCliSN;
+
 struct msg_info {
        char buf[__MAX_BUF_SIZE];
+
+       uint32_t route;
        uint32_t use;
+       uint16_t count;
+       uint16_t index;
+
+       CSCliSN cclisn;
 };
 
+/* device protocol */
+
 #define SIZEOF_MSG_INFO        sizeof(struct msg_info)
 
 struct msg_buf {
old mode 100644 (file)
new mode 100755 (executable)
index fb2ad0a..afb8c72
@@ -45,7 +45,7 @@
 #define VIRTIO_ID_KEYBOARD     12 /* virtio keyboard */
 #define VIRTIO_ID_ESM          13 /* virtio ESM */
 #define VIRTIO_ID_HWKEY                14 /* virtio hwkey */
-#define VIRTIO_ID_EVDI         15 /* virtio hwkey */
+#define VIRTIO_ID_EVDI         15 /* virtio evdi */
 
 #endif