diff options
author | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-01-05 18:42:33 +0200 |
---|---|---|
committer | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-01-05 18:44:30 +0200 |
commit | fda0acbc420efa876fc1ac9797305572f80a849f (patch) | |
tree | 7c4c141abf12ce2c62f8aa2cec900d262f572b25 /include | |
parent | cd3a35fb27b26824e3c539ff64462eb3db2babe6 (diff) |
vm86: import real-mode allocating functions from X
and hide this monster here to protect normal human beings.
(soundtrack: The Mars Volta, Cassandra Gemini V)
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libx86.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/libx86.h b/include/libx86.h index 4217f20..77f23b4 100644 --- a/include/libx86.h +++ b/include/libx86.h @@ -98,6 +98,8 @@ typedef struct _int10Mem { void LRMI_init(xf86Int10InfoPtr pInt); +void LRMI_setup(xf86Int10InfoPtr pInt); + void LRMI_fini(xf86Int10InfoPtr pInt); /* Get the base address of the real memory address space block. */ @@ -110,7 +112,9 @@ void LRMI_int(xf86Int10InfoPtr pInt); /* Allocate real mode memory. The returned block is paragraph (16 byte) aligned */ -void *LRMI_alloc_real(int size); +//void *LRMI_alloc_real(int size); +void *LRMI_alloc_real(xf86Int10InfoPtr pInt, int num, int *off); /* Free real mode memory */ -void LRMI_free_real(void *m); +//void LRMI_free_real(void *m); +void LRMI_free_real(xf86Int10InfoPtr pInt, void *pbase, int num); |