diff options
author | Michael Brown | 2005-04-10 18:44:49 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-10 18:44:49 +0200 |
commit | 44e62317be49b8dff0528b292ec02b44eb399e4c (patch) | |
tree | d91a00a0188ef0741c01cb5f09c0cab01f924031 /src/arch/i386/include/librm.h | |
parent | hooks.o is now a single object, rather than having separate hooks.o and (diff) | |
download | ipxe-44e62317be49b8dff0528b292ec02b44eb399e4c.tar.gz ipxe-44e62317be49b8dff0528b292ec02b44eb399e4c.tar.xz ipxe-44e62317be49b8dff0528b292ec02b44eb399e4c.zip |
Add librm_base.
Diffstat (limited to 'src/arch/i386/include/librm.h')
-rw-r--r-- | src/arch/i386/include/librm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/i386/include/librm.h b/src/arch/i386/include/librm.h index 16bfc089..2edc1096 100644 --- a/src/arch/i386/include/librm.h +++ b/src/arch/i386/include/librm.h @@ -40,6 +40,7 @@ extern void (*_real_to_prot[]) ( void ); extern void (*_prot_to_real[]) ( void ); extern void (*_prot_call[]) ( void ); extern void (*_real_call[]) ( void ); +extern uint32_t _librm_base[]; extern segoff_t _rm_stack[]; extern uint32_t _pm_stack[]; extern char _librm_ref_count[]; @@ -57,11 +58,15 @@ extern char _librm_ref_count[]; #define inst_prot_to_real LIBRM_FN ( prot_to_real ) #define inst_prot_call LIBRM_FN ( prot_call ) #define inst_real_call LIBRM_FN ( real_call ) +#define inst_librm_base LIBRM_VAR ( librm_base ) #define inst_rm_stack LIBRM_VAR ( rm_stack ) #define inst_pm_stack LIBRM_VAR ( pm_stack ) #define inst_librm_ref_count LIBRM_VAR ( librm_ref_count ) #define librm_size LIBRM_CONSTANT ( librm_size ) +/* Symbols within local (uninstalled) copy of librm */ +extern uint32_t librm_base; + /* Functions that librm expects to be able to link to. Included here * so that the compiler will catch prototype mismatches. */ |