Commit e311248b authored by Paolo Bonzini's avatar Paolo Bonzini Committed by Blue Swirl
Browse files

make runcom compile on recent distributions

parent f34f1fed
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -13,15 +13,12 @@
#include <linux/unistd.h>
#include <asm/vm86.h>

//#define SIGTEST
extern int vm86 (unsigned long int subfunction,
		 struct vm86plus_struct *info);

#undef __syscall_return
#define __syscall_return(type, res) \
do { \
	return (type) (res); \
} while (0)
#define VIF_MASK                0x00080000

_syscall2(int, vm86, int, func, struct vm86plus_struct *, v86)
//#define SIGTEST

#define COM_BASE_ADDR    0x10100