Skip to content

Commit

Permalink
[librm] Make rm_sp and rm_ss globals again
Browse files Browse the repository at this point in the history
  • Loading branch information
danielverkamp authored and Michael Brown committed Aug 28, 2008
1 parent 179fa70 commit 2539f5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/arch/i386/include/librm.h 100644 → 100755
Expand Up @@ -60,6 +60,8 @@ extern char *text16;
( ( ( void * ) (pointer) ) - ( ( void * ) text16 ) ) )

/* Variables in librm.S, present in the normal data segment */
extern uint16_t rm_sp;
extern uint16_t rm_ss;
extern uint16_t __data16 ( rm_cs );
#define rm_cs __use_data16 ( rm_cs )
extern uint16_t __text16 ( rm_ds );
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/transitions/librm.S 100644 → 100755
Expand Up @@ -552,7 +552,9 @@ rc_function: .word 0, 0
****************************************************************************
*/
.section ".data"
.globl rm_sp
rm_sp: .word 0
.globl rm_ss
rm_ss: .word 0
pm_esp: .long _estack

Expand Down

0 comments on commit 2539f5f

Please sign in to comment.