No changes between revisions
/contrib/sdk/sources/SDL-1.2.2_newlib/src/SYSCALL/src/event.c |
0,0 → 1,20 |
#include<menuet/os.h> |
|
int __menuet__wait_for_event(void) |
{ |
__u32 __ret; |
__asm__ __volatile__("int $0x40":"=a"(__ret):"0"(10)); |
return __ret; |
} |
|
int __menuet__check_for_event(void) |
{ |
__u32 __ret; |
__asm__ __volatile__("int $0x40":"=a"(__ret):"0"(11)); |
return __ret; |
} |
|
void __menuet__set_bitfield_for_wanted_events(__u32 ev) |
{ |
__asm__ __volatile__("int $0x40"::"a"(40),"b"(ev)); |
} |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |