ia64/xen-unstable

view extras/mini-os/include/fbfront.h @ 19836:d9890e67d2b7

tools: add SHAREDIR to buildmakevars2file

c/s 19818 dropped SHAREDIR from xen/util/path.py, which broke the "xm
new" command. This patch adds SHAREDIR back to the new
buildmakevars2file-closure function.

Signed-off-by: Ryan O'Connor <rjo@cs.ubc.ca>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 25 13:05:10 2009 +0100 (2009-06-25)
parents 707e10c9a487
children
line source
1 #include <xen/io/kbdif.h>
2 #include <xen/io/fbif.h>
3 #include <mini-os/wait.h>
5 /* from <linux/input.h> */
6 #ifndef BTN_LEFT
7 #define BTN_LEFT 0x110
8 #endif
9 #ifndef BTN_RIGHT
10 #define BTN_RIGHT 0x111
11 #endif
12 #ifndef BTN_MIDDLE
13 #define BTN_MIDDLE 0x112
14 #endif
15 #ifndef KEY_Q
16 #define KEY_Q 16
17 #endif
18 #ifndef KEY_MAX
19 #define KEY_MAX 0x1ff
20 #endif
23 struct kbdfront_dev;
24 struct kbdfront_dev *init_kbdfront(char *nodename, int abs_pointer);
25 #ifdef HAVE_LIBC
26 int kbdfront_open(struct kbdfront_dev *dev);
27 #endif
29 int kbdfront_receive(struct kbdfront_dev *dev, union xenkbd_in_event *buf, int n);
30 extern struct wait_queue_head kbdfront_queue;
32 void shutdown_kbdfront(struct kbdfront_dev *dev);
35 struct fbfront_dev *init_fbfront(char *nodename, unsigned long *mfns, int width, int height, int depth, int stride, int n);
36 #ifdef HAVE_LIBC
37 int fbfront_open(struct fbfront_dev *dev);
38 #endif
40 int fbfront_receive(struct fbfront_dev *dev, union xenfb_in_event *buf, int n);
41 extern struct wait_queue_head fbfront_queue;
42 void fbfront_update(struct fbfront_dev *dev, int x, int y, int width, int height);
43 void fbfront_resize(struct fbfront_dev *dev, int width, int height, int stride, int depth, int offset);
45 void shutdown_fbfront(struct fbfront_dev *dev);