mirror of https://github.com/xemu-project/xemu.git
make runcom compile on recent distributions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
f34f1fed71
commit
e311248b64
|
@ -13,16 +13,13 @@
|
|||
#include <linux/unistd.h>
|
||||
#include <asm/vm86.h>
|
||||
|
||||
extern int vm86 (unsigned long int subfunction,
|
||||
struct vm86plus_struct *info);
|
||||
|
||||
#define VIF_MASK 0x00080000
|
||||
|
||||
//#define SIGTEST
|
||||
|
||||
#undef __syscall_return
|
||||
#define __syscall_return(type, res) \
|
||||
do { \
|
||||
return (type) (res); \
|
||||
} while (0)
|
||||
|
||||
_syscall2(int, vm86, int, func, struct vm86plus_struct *, v86)
|
||||
|
||||
#define COM_BASE_ADDR 0x10100
|
||||
|
||||
static void usage(void)
|
||||
|
|
Loading…
Reference in New Issue