|
@@ -46,8 +46,11 @@ extern char *text16;
|
46
|
46
|
/* Variables in librm.S, present in the normal data segment */
|
47
|
47
|
extern uint16_t rm_sp;
|
48
|
48
|
extern uint16_t rm_ss;
|
49
|
|
-extern uint16_t rm_cs;
|
50
|
49
|
extern uint32_t pm_esp;
|
|
50
|
+extern uint16_t __data16 ( rm_cs );
|
|
51
|
+#define rm_cs __use_data16 ( rm_cs )
|
|
52
|
+extern uint16_t __text16 ( rm_ds );
|
|
53
|
+#define rm_ds __use_text16 ( rm_ds )
|
51
|
54
|
|
52
|
55
|
/* Functions that librm expects to be able to link to. Included here
|
53
|
56
|
* so that the compiler will catch prototype mismatches.
|