X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fdevices%2Fkeyboard.h;fp=palacios%2Finclude%2Fdevices%2Fkeyboard.h;h=d2923beea2d21c047dad944a3f9e5fcdb6ec2e1e;hb=66a1a4c7a9edcd7d8bc207aca093d694a6e6b5b2;hp=64ad387363ae9916d1f8436ce6ef67a4a7151210;hpb=f7cf9c19ecb0a589dd45ae0d2c91814bd3c2acc2;p=palacios-OLD.git diff --git a/palacios/include/devices/keyboard.h b/palacios/include/devices/keyboard.h index 64ad387..d2923be 100644 --- a/palacios/include/devices/keyboard.h +++ b/palacios/include/devices/keyboard.h @@ -17,20 +17,19 @@ * redistribute, and modify it as specified in the file "V3VEE_LICENSE". */ -#ifndef __KEYBOARD_H -#define __KEYBOARD_H +#ifndef __DEVICES_KEYBOARD_H__ +#define __DEVICES_KEYBOARD_H__ + +#ifdef __V3VEE__ + + #include -// -// The underlying driver needs to call this on each key that -// it wants to inject into the VMM for delivery to a VM -// -void deliver_key_to_vmm(uchar_t status, uchar_t scancode); -// And call this one each streaming mouse event -// that the VMM should deliver -void deliver_mouse_to_vmm(uchar_t mouse_packet[3]); +struct vm_device * v3_create_keyboard(); + + -struct vm_device *create_keyboard(); +#endif // ! __V3VEE__ #endif