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:
parent
410680bafe
commit
acad0a6ed4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue