aboutsummaryrefslogtreecommitdiff
path: root/osdep.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2012-02-15 18:02:32 +0000
committerBlue Swirl <blauwirbel@gmail.com>2012-03-18 12:21:48 +0000
commit6a18ae2d2947532d5c26439548afa0481c4529f9 (patch)
tree3500cfc398fd03282a6987b8773d76ebb6a13a8c /osdep.h
parent361dea401f529fc136aaeb49c82b2a5bb7faa316 (diff)
downloadqemu-6a18ae2d2947532d5c26439548afa0481c4529f9.zip
qemu-6a18ae2d2947532d5c26439548afa0481c4529f9.tar.gz
qemu-6a18ae2d2947532d5c26439548afa0481c4529f9.tar.bz2
i386: Remove REGPARM
Use stack based calling convention (GCC default) for interfacing with generated code instead of register based convention (regparm(3)). Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'osdep.h')
-rw-r--r--osdep.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/osdep.h b/osdep.h
index 0350383..156666e 100644
--- a/osdep.h
+++ b/osdep.h
@@ -70,12 +70,6 @@
#define inline always_inline
#endif
-#ifdef __i386__
-#define REGPARM __attribute((regparm(3)))
-#else
-#define REGPARM
-#endif
-
#define qemu_printf printf
int qemu_daemon(int nochdir, int noclose);