Revision 7fb9a24e tests/runcom.c

b/tests/runcom.c
3 3
 */
4 4
#include <stdlib.h>
5 5
#include <stdio.h>
6
#include <string.h>
6 7
#include <inttypes.h>
7 8
#include <unistd.h>
8 9
#include <fcntl.h>
......
14 15

  
15 16
//#define SIGTEST
16 17

  
18
#undef __syscall_return
19
#define __syscall_return(type, res) \
20
do { \
21
	return (type) (res); \
22
} while (0)
23

  
17 24
_syscall2(int, vm86, int, func, struct vm86plus_struct *, v86)
18 25

  
19 26
#define COM_BASE_ADDR    0x10100

Also available in: Unified diff