提交 e311248b 编写于 作者: P Paolo Bonzini 提交者: Blue Swirl

make runcom compile on recent distributions

Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 f34f1fed
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册