From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 4/6] make runcom compile on recent distributions
Date: Thu, 21 Oct 2010 10:18:38 +0200 [thread overview]
Message-ID: <1287649120-30740-5-git-send-email-pbonzini@redhat.com> (raw)
In-Reply-To: <1287649120-30740-1-git-send-email-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
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
next prev parent reply other threads:[~2010-10-21 8:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-21 8:18 [Qemu-devel] [PATCH 0/6] First part of autoconfy series: cleanup tests/ Paolo Bonzini
2010-10-21 8:18 ` [Qemu-devel] [PATCH 1/6] unbreak "make" from tests directory Paolo Bonzini
2010-10-21 8:18 ` [Qemu-devel] [PATCH 2/6] unbreak "make" from vpath-built " Paolo Bonzini
2010-10-21 8:18 ` [Qemu-devel] [PATCH 3/6] disable test_enter on i386, it is broken Paolo Bonzini
2010-10-21 8:18 ` Paolo Bonzini [this message]
2010-10-21 8:18 ` [Qemu-devel] [PATCH 5/6] fix test_path Paolo Bonzini
2010-10-21 8:18 ` [Qemu-devel] [PATCH 6/6] rewrite i386 tests Makefile Paolo Bonzini
2010-10-22 13:26 ` [Qemu-devel] [PATCH 0/6] First part of autoconfy series: cleanup tests/ Luiz Capitulino
2010-10-22 13:38 ` Paolo Bonzini
2010-10-22 13:44 ` Luiz Capitulino
2010-10-22 13:53 ` Paolo Bonzini
2010-10-22 13:55 ` Luiz Capitulino
2010-10-23 14:54 ` Blue Swirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1287649120-30740-5-git-send-email-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).