summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@nokia.com>2009-12-23 15:48:42 +0200
committerTiago Vignatti <tiago.vignatti@nokia.com>2009-12-23 15:48:42 +0200
commit82760c2e7b69b61c78d7091f4814802c0850b0a2 (patch)
tree96e6a93d35f6113bbc414e854eff82d624521444
parent42468f5f88cec5814345388eb9f36d1880af289b (diff)
lrmi: remove LRMI_regs structure
this was replaced by xf86Int10InfoPtr, which has the same purpose. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
-rw-r--r--include/libx86.h27
-rw-r--r--src/lrmi/backend-x86emu.c1
2 files changed, 0 insertions, 28 deletions
diff --git a/include/libx86.h b/include/libx86.h
index e6f7efb..3eb21aa 100644
--- a/include/libx86.h
+++ b/include/libx86.h
@@ -85,26 +85,6 @@ typedef struct _int10Mem {
void(*wl)(xf86Int10InfoPtr, int, unsigned long);
} int10MemRec, *int10MemPtr;
-struct LRMI_regs {
- unsigned int edi;
- unsigned int esi;
- unsigned int ebp;
- unsigned int reserved;
- unsigned int ebx;
- unsigned int edx;
- unsigned int ecx;
- unsigned int eax;
- unsigned short int flags;
- unsigned short int es;
- unsigned short int ds;
- unsigned short int fs;
- unsigned short int gs;
- unsigned short int ip;
- unsigned short int cs;
- unsigned short int sp;
- unsigned short int ss;
-};
-
#define LRMI_CONCAT2(a, b) a ## b
#define LRMI_CONCAT(a, b) LRMI_CONCAT2(a, b)
#define LRMI_MAKENAME(a) LRMI_CONCAT(LRMI_PREFIX, a)
@@ -138,13 +118,6 @@ LRMI_get_int10_addr(xf86Int10InfoPtr pInt, unsigned long addr);
void
LRMI_set_exit_condition(xf86Int10InfoPtr pInt);
-/*
- Simulate a 16 bit far call
- returns 1 if sucessful, 0 for failure
-*/
-#define LRMI_call LRMI_MAKENAME(call)
-int
-LRMI_call(struct LRMI_regs *r);
/*
Simulate a 16 bit interrupt
diff --git a/src/lrmi/backend-x86emu.c b/src/lrmi/backend-x86emu.c
index 877d643..d3de033 100644
--- a/src/lrmi/backend-x86emu.c
+++ b/src/lrmi/backend-x86emu.c
@@ -93,7 +93,6 @@ __BUILDIO(l,,int)
char *mmap_addr = SHMERRORPTR;
-struct LRMI_regs *regs;
static void *stack;
/*