Przeglądaj źródła

[librm] Make rm_sp and rm_ss globals again

tags/v0.9.4
Daniel Verkamp 15 lat temu
rodzic
commit
2539f5fa4a

+ 2
- 0
src/arch/i386/include/librm.h Wyświetl plik

@@ -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 Wyświetl plik

@@ -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
 

Ładowanie…
Anuluj
Zapisz