2005-07-17 Yoshinori Okuji <okuji@enbug.org>
* conf/i386-pc.rmk (pxeboot_img_LDFLAGS): The text address should be 0x7C00 instead of 0x8000. * boot/i386/pc/pxeboot.S: Rewritten. * kern/i386/pc/startup.S (gate_a20_try_bios): No need to specify EXT_C. (gate_a20_check_state): Read a byte from 0x108000. Invert the result.
This commit is contained in:
parent
654fc59fe4
commit
ebedfd0003
5 changed files with 44 additions and 35 deletions
|
@ -48,7 +48,7 @@ pxeboot_img-boot_i386_pc_pxeboot.d: boot/i386/pc/pxeboot.S
|
|||
-include pxeboot_img-boot_i386_pc_pxeboot.d
|
||||
|
||||
pxeboot_img_ASFLAGS = $(COMMON_ASFLAGS)
|
||||
pxeboot_img_LDFLAGS = -nostdlib -Wl,-N,-Ttext,8000
|
||||
pxeboot_img_LDFLAGS = -nostdlib -Wl,-N,-Ttext,7C00
|
||||
|
||||
# For diskboot.img.
|
||||
diskboot_img_SOURCES = boot/i386/pc/diskboot.S
|
||||
|
|
|
@ -14,7 +14,7 @@ boot_img_LDFLAGS = -nostdlib -Wl,-N,-Ttext,7C00
|
|||
# For pxeboot.img
|
||||
pxeboot_img_SOURCES = boot/i386/pc/pxeboot.S
|
||||
pxeboot_img_ASFLAGS = $(COMMON_ASFLAGS)
|
||||
pxeboot_img_LDFLAGS = -nostdlib -Wl,-N,-Ttext,8000
|
||||
pxeboot_img_LDFLAGS = -nostdlib -Wl,-N,-Ttext,7C00
|
||||
|
||||
# For diskboot.img.
|
||||
diskboot_img_SOURCES = boot/i386/pc/diskboot.S
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue