Revision e311248b tests/runcom.c
b/tests/runcom.c | ||
---|---|---|
13 | 13 |
#include <linux/unistd.h> |
14 | 14 |
#include <asm/vm86.h> |
15 | 15 |
|
16 |
//#define SIGTEST |
|
16 |
extern int vm86 (unsigned long int subfunction, |
|
17 |
struct vm86plus_struct *info); |
|
17 | 18 |
|
18 |
#undef __syscall_return |
|
19 |
#define __syscall_return(type, res) \ |
|
20 |
do { \ |
|
21 |
return (type) (res); \ |
|
22 |
} while (0) |
|
19 |
#define VIF_MASK 0x00080000 |
|
23 | 20 |
|
24 |
_syscall2(int, vm86, int, func, struct vm86plus_struct *, v86)
|
|
21 |
//#define SIGTEST
|
|
25 | 22 |
|
26 | 23 |
#define COM_BASE_ADDR 0x10100 |
27 | 24 |
|
Also available in: Unified diff