leave more room for IPL in STD_FLASH case

This commit is contained in:
Li-Ta Lo 2002-02-20 02:35:31 +00:00
parent 9884a1a948
commit 9180eb5955
3 changed files with 12 additions and 10 deletions

View file

@ -31,11 +31,10 @@
#include "ipl.h"
#define SIS550_BUG
.code16
#ifdef STD_FLASH
.org 0xfe00
.org 0xfc00
#endif
#undef SIZE_ALL
@ -350,8 +349,8 @@ pci_init_table:
#ifdef STD_FLASH
.org 0xfff0
reset_vector:
.byte 0xea # jmp to f000:fe00, where IPL
.word 0xfe00, 0xf000 # starts in Standard Flash
.byte 0xea # jmp to f000:fc00, where IPL
.word 0xfc00, 0xf000 # starts in Standard Flash
#else /* !STD_FLASH i.e. DoC Mil */
#if (USE_DOC_MIL == 1)
.org 0x1f0

View file

@ -34,7 +34,7 @@
.code16
#ifdef STD_FLASH
.org 0xfe00
.org 0xfc00
#endif
#define SIZE_ALL
@ -47,6 +47,9 @@ sis630spd_start:
movw %cs, %ax # makes data segment ==
movw %ax, %ds # code segment
movb $0x01, %al
outb %al, $0x80
movw $0x408a, %ax # ACPI Enable.
CALL_SP(write_lpc_register) # (for use of SMBus)
@ -326,8 +329,8 @@ pci_init_table:
#ifdef STD_FLASH
.org 0xfff0
reset_vector:
.byte 0xea # jmp to f000:fe00, where IPL
.word 0xfe00, 0xf000 # starts in Standard Flash
.byte 0xea # jmp to f000:fc00, where IPL
.word 0xfc00, 0xf000 # starts in Standard Flash
#else /* !STD_FLASH i.e. DoC Mil */
#if (USE_DOC_MIL == 1)
.org 0x1f0

View file

@ -34,7 +34,7 @@
.code16
#ifdef STD_FLASH
.org 0xfe00
.org 0xfc00
#endif
#define SIZE_ALL
@ -334,8 +334,8 @@ pci_init_table:
#ifdef STD_FLASH
.org 0xfff0
reset_vector:
.byte 0xea # jmp to f000:fe00, where IPL
.word 0xfe00, 0xf000 # starts in Standard Flash
.byte 0xea # jmp to f000:fc00, where IPL
.word 0xfc00, 0xf000 # starts in Standard Flash
#else /* !STD_FLASH i.e. DoC Mil */
#if defined(USE_DOC_MIL)
.org 0x1f0