summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@nokia.com>2010-01-04 19:05:47 +0200
committerTiago Vignatti <tiago.vignatti@nokia.com>2010-01-04 19:05:47 +0200
commit96f7ad1d03c28e4147e190900a5021f1ad2a210b (patch)
treece4abb16457cdc5ba0ae523f0b5881e9472d9ea1
parentbb157876c98c1ff17574a930de71b69b09b78a3e (diff)
lrmi: put LRMI_set_exit_condition on the common code
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
-rw-r--r--src/lrmi/backend-x86emu.c10
-rw-r--r--src/lrmi/common.c10
2 files changed, 10 insertions, 10 deletions
diff --git a/src/lrmi/backend-x86emu.c b/src/lrmi/backend-x86emu.c
index 9c0e058..61c6d68 100644
--- a/src/lrmi/backend-x86emu.c
+++ b/src/lrmi/backend-x86emu.c
@@ -272,16 +272,6 @@ LRMI_init(xf86Int10InfoPtr pInt)
}
void
-LRMI_set_exit_condition(xf86Int10InfoPtr pInt)
-{
- /*
- * Here we set the exit condition: We return when we encounter
- * 'hlt' (=0xf4), which we locate at address 0x600 in x86 memory.
- */
- MEM_WB(pInt, 0x0600, 0xf4);
-}
-
-void
LRMI_fini(xf86Int10InfoPtr pInt)
{
if (Int10Current == pInt)
diff --git a/src/lrmi/common.c b/src/lrmi/common.c
index 85c744c..585fd14 100644
--- a/src/lrmi/common.c
+++ b/src/lrmi/common.c
@@ -245,3 +245,13 @@ int LRMI_common_init(void)
return 1;
}
+
+void
+LRMI_set_exit_condition(xf86Int10InfoPtr pInt)
+{
+ /*
+ * Here we set the exit condition: We return when we encounter
+ * 'hlt' (=0xf4), which we locate at address 0x600 in x86 memory.
+ */
+ MEM_WB(pInt, 0x0600, 0xf4);
+}