projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
410680b
)
use symbols for segment numbers
author
Kevin O'Connor
<kevin@koconnor.net>
Mon, 3 Mar 2008 04:24:16 +0000
(23:24 -0500)
committer
Kevin O'Connor
<kevin@koconnor.net>
Mon, 3 Mar 2008 04:24:16 +0000
(23:24 -0500)
this patch uses symbols for segment numbers in romlayout.S
Signed-off-by: Nguyen Anh Quynh
src/romlayout.S
patch
|
blob
|
history
diff --git
a/src/romlayout.S
b/src/romlayout.S
index 0a4bf5d3857a01b4da3ee8ac358c7ef161bba8c0..41ce3d7146ff9f8e8c649be883ee150134115c8b 100644
(file)
--- a/
src/romlayout.S
+++ b/
src/romlayout.S
@@
-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