[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/6] make runcom compile on recent distributions
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 4/6] make runcom compile on recent distributions |
Date: |
Thu, 21 Oct 2010 10:18:38 +0200 |
Signed-off-by: Paolo Bonzini <address@hidden>
---
tests/runcom.c | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/tests/runcom.c b/tests/runcom.c
index 6380566..d60342b 100644
--- a/tests/runcom.c
+++ b/tests/runcom.c
@@ -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
--
1.7.2.3
- [Qemu-devel] [PATCH 0/6] First part of autoconfy series: cleanup tests/, Paolo Bonzini, 2010/10/21
- [Qemu-devel] [PATCH 2/6] unbreak "make" from vpath-built tests directory, Paolo Bonzini, 2010/10/21
- [Qemu-devel] [PATCH 1/6] unbreak "make" from tests directory, Paolo Bonzini, 2010/10/21
- [Qemu-devel] [PATCH 3/6] disable test_enter on i386, it is broken, Paolo Bonzini, 2010/10/21
- [Qemu-devel] [PATCH 4/6] make runcom compile on recent distributions,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 5/6] fix test_path, Paolo Bonzini, 2010/10/21
- [Qemu-devel] [PATCH 6/6] rewrite i386 tests Makefile, Paolo Bonzini, 2010/10/21
- Re: [Qemu-devel] [PATCH 0/6] First part of autoconfy series: cleanup tests/, Luiz Capitulino, 2010/10/22
Re: [Qemu-devel] [PATCH 0/6] First part of autoconfy series: cleanup tests/, Blue Swirl, 2010/10/23