Subversion Repositories Kolibri OS

Rev

Rev 4973 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4973 right-hear 1
#include
2
 
3
int __menuet__wait_for_event(void)
4
{
5
 __u32 __ret;
6
 __asm__ __volatile__("int $0x40":"=a"(__ret):"0"(10));
7
 return __ret;
8
}
9
 
10
int __menuet__check_for_event(void)
11
{
12
 __u32 __ret;
13
 __asm__ __volatile__("int $0x40":"=a"(__ret):"0"(11));
14
 return __ret;
15
}
16
 
5029 hidnplayr 17
void __menuet__set_bitfield_for_wanted_events(__u32 ev)
4973 right-hear 18
{
19
 __asm__ __volatile__("int $0x40"::"a"(40),"b"(ev));
20
}