Browse Source

Add librm_base.

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
44e62317be
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      src/arch/i386/include/librm.h

+ 5
- 0
src/arch/i386/include/librm.h View File

@@ -40,6 +40,7 @@ extern void (*_real_to_prot[]) ( void );
40 40
 extern void (*_prot_to_real[]) ( void );
41 41
 extern void (*_prot_call[]) ( void );
42 42
 extern void (*_real_call[]) ( void );
43
+extern uint32_t _librm_base[];
43 44
 extern segoff_t _rm_stack[];
44 45
 extern uint32_t _pm_stack[];
45 46
 extern char _librm_ref_count[];
@@ -57,11 +58,15 @@ extern char _librm_ref_count[];
57 58
 #define inst_prot_to_real	LIBRM_FN ( prot_to_real )
58 59
 #define inst_prot_call		LIBRM_FN ( prot_call )
59 60
 #define inst_real_call		LIBRM_FN ( real_call )
61
+#define inst_librm_base		LIBRM_VAR ( librm_base )
60 62
 #define inst_rm_stack		LIBRM_VAR ( rm_stack )
61 63
 #define inst_pm_stack		LIBRM_VAR ( pm_stack )
62 64
 #define inst_librm_ref_count	LIBRM_VAR ( librm_ref_count )
63 65
 #define librm_size		LIBRM_CONSTANT ( librm_size )
64 66
 
67
+/* Symbols within local (uninstalled) copy of librm */
68
+extern uint32_t librm_base;
69
+
65 70
 /* Functions that librm expects to be able to link to.  Included here
66 71
  * so that the compiler will catch prototype mismatches.
67 72
  */

Loading…
Cancel
Save