Browse Source

[librm] Make rm_sp and rm_ss globals again

tags/v0.9.4
Daniel Verkamp 16 years ago
parent
commit
2539f5fa4a
2 changed files with 4 additions and 0 deletions
  1. 2
    0
      src/arch/i386/include/librm.h
  2. 2
    0
      src/arch/i386/transitions/librm.S

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

@@ -60,6 +60,8 @@ extern char *text16;
60 60
 	  ( ( ( void * ) (pointer) ) - ( ( void * ) text16 ) ) )
61 61
 
62 62
 /* Variables in librm.S, present in the normal data segment */
63
+extern uint16_t rm_sp;
64
+extern uint16_t rm_ss;
63 65
 extern uint16_t __data16 ( rm_cs );
64 66
 #define rm_cs __use_data16 ( rm_cs )
65 67
 extern uint16_t __text16 ( rm_ds );

+ 2
- 0
src/arch/i386/transitions/librm.S View File

@@ -552,7 +552,9 @@ rc_function:	.word 0, 0
552 552
  ****************************************************************************
553 553
  */
554 554
 	.section ".data"
555
+	.globl rm_sp
555 556
 rm_sp:	.word 0
557
+	.globl rm_ss
556 558
 rm_ss:	.word 0
557 559
 pm_esp:	.long _estack
558 560
 

Loading…
Cancel
Save