use symbols for segment numbers

this patch uses symbols for segment numbers in romlayout.S

Signed-off-by: Nguyen Anh Quynh
This commit is contained in:
Kevin O'Connor 2008-03-02 23:24:16 -05:00
parent 410680bafe
commit acad0a6ed4
1 changed files with 2 additions and 2 deletions

View File

@ -104,12 +104,12 @@ __call16_from32:
pushl %eax
// Jump to 16bit mode
ljmp $0x20, $1f
ljmp $REAL_MODE_CS, $1f
.code16gcc
1:
// restore data segment limits to 0xffff
movw $0x28, %ax
movw $REAL_MODE_DS, %ax
movw %ax, %ds
movw %ax, %es
movw %ax, %ss