Go to the documentation of this file.
26 #ifndef __XEN_PUBLIC_IO_FBIF_H__
27 #define __XEN_PUBLIC_IO_FBIF_H__
42 #define XENFB_TYPE_UPDATE 2
56 #define XENFB_TYPE_RESIZE 3
67 #define XENFB_OUT_EVENT_SIZE 40
83 #define XENFB_IN_EVENT_SIZE 40
92 #define XENFB_IN_RING_SIZE 1024
93 #define XENFB_IN_RING_LEN (XENFB_IN_RING_SIZE / XENFB_IN_EVENT_SIZE)
94 #define XENFB_IN_RING_OFFS 1024
95 #define XENFB_IN_RING(page) \
96 ((union xenfb_in_event *)((char *)(page) + XENFB_IN_RING_OFFS))
97 #define XENFB_IN_RING_REF(page, idx) \
98 (XENFB_IN_RING((page))[(idx) % XENFB_IN_RING_LEN])
100 #define XENFB_OUT_RING_SIZE 2048
101 #define XENFB_OUT_RING_LEN (XENFB_OUT_RING_SIZE / XENFB_OUT_EVENT_SIZE)
102 #define XENFB_OUT_RING_OFFS (XENFB_IN_RING_OFFS + XENFB_IN_RING_SIZE)
103 #define XENFB_OUT_RING(page) \
104 ((union xenfb_out_event *)((char *)(page) + XENFB_OUT_RING_OFFS))
105 #define XENFB_OUT_RING_REF(page, idx) \
106 (XENFB_OUT_RING((page))[(idx) % XENFB_OUT_RING_LEN])
130 unsigned long pd[256];
138 #define XENFB_WIDTH 800
139 #define XENFB_HEIGHT 600
140 #define XENFB_DEPTH 32