aboutsummaryrefslogtreecommitdiff
path: root/exec-i386.h
diff options
context:
space:
mode:
Diffstat (limited to 'exec-i386.h')
-rw-r--r--exec-i386.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/exec-i386.h b/exec-i386.h
index 00da9b8a3d..af82370032 100644
--- a/exec-i386.h
+++ b/exec-i386.h
@@ -124,6 +124,8 @@ register unsigned int A0 asm("$11");
register unsigned int EAX asm("$12");
register unsigned int ESP asm("$13");
register unsigned int EBP asm("$14");
+/* Note $15 is the frame pointer, so anything in op-i386.c that would
+ require a frame pointer, like alloca, would probably loose. */
register struct CPUX86State *env asm("$15");
#define reg_EAX
#define reg_ESP