Ver código fonte

Add librm_base.

tags/v0.9.3
Michael Brown 19 anos atrás
pai
commit
44e62317be
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5
    0
      src/arch/i386/include/librm.h

+ 5
- 0
src/arch/i386/include/librm.h Ver arquivo

40
 extern void (*_prot_to_real[]) ( void );
40
 extern void (*_prot_to_real[]) ( void );
41
 extern void (*_prot_call[]) ( void );
41
 extern void (*_prot_call[]) ( void );
42
 extern void (*_real_call[]) ( void );
42
 extern void (*_real_call[]) ( void );
43
+extern uint32_t _librm_base[];
43
 extern segoff_t _rm_stack[];
44
 extern segoff_t _rm_stack[];
44
 extern uint32_t _pm_stack[];
45
 extern uint32_t _pm_stack[];
45
 extern char _librm_ref_count[];
46
 extern char _librm_ref_count[];
57
 #define inst_prot_to_real	LIBRM_FN ( prot_to_real )
58
 #define inst_prot_to_real	LIBRM_FN ( prot_to_real )
58
 #define inst_prot_call		LIBRM_FN ( prot_call )
59
 #define inst_prot_call		LIBRM_FN ( prot_call )
59
 #define inst_real_call		LIBRM_FN ( real_call )
60
 #define inst_real_call		LIBRM_FN ( real_call )
61
+#define inst_librm_base		LIBRM_VAR ( librm_base )
60
 #define inst_rm_stack		LIBRM_VAR ( rm_stack )
62
 #define inst_rm_stack		LIBRM_VAR ( rm_stack )
61
 #define inst_pm_stack		LIBRM_VAR ( pm_stack )
63
 #define inst_pm_stack		LIBRM_VAR ( pm_stack )
62
 #define inst_librm_ref_count	LIBRM_VAR ( librm_ref_count )
64
 #define inst_librm_ref_count	LIBRM_VAR ( librm_ref_count )
63
 #define librm_size		LIBRM_CONSTANT ( librm_size )
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
 /* Functions that librm expects to be able to link to.  Included here
70
 /* Functions that librm expects to be able to link to.  Included here
66
  * so that the compiler will catch prototype mismatches.
71
  * so that the compiler will catch prototype mismatches.
67
  */
72
  */

Carregando…
Cancelar
Salvar