]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Add librm_base.
authorMichael Brown <mcb30@etherboot.org>
Sun, 10 Apr 2005 16:44:49 +0000 (16:44 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sun, 10 Apr 2005 16:44:49 +0000 (16:44 +0000)
src/arch/i386/include/librm.h

index 16bfc0891d23d659d83b98ae867c571451578c80..2edc1096813a6b67d894fed47369be3ea0b9f6da 100644 (file)
@@ -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.
  */