浏览代码

[librm] Make rm_sp and rm_ss globals again

tags/v0.9.4
Daniel Verkamp 16 年前
父节点
当前提交
2539f5fa4a
共有 2 个文件被更改,包括 4 次插入0 次删除
  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 查看文件

@@ -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 查看文件

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

正在加载...
取消
保存