make SMA_SIZE a comiple time option
This commit is contained in:
parent
bde25c214d
commit
162114dd66
8 changed files with 21 additions and 16 deletions
|
|
@ -1,5 +1,6 @@
|
|||
option SIS540
|
||||
option USE_DOC_MIL
|
||||
option SMA_SIZE=0x90
|
||||
docipl northsouthbridge/sis/540/ipl.S
|
||||
raminit northsouthbridge/sis/540/raminit.inc
|
||||
|
||||
|
|
|
|||
|
|
@ -177,17 +177,17 @@ no_sdram:
|
|||
movw %fs, %ax
|
||||
movb $0x63, %ah
|
||||
#ifdef HAVE_FRAMEBUFFER
|
||||
orb $0x90, %al # enable SMA 4 MB for VGA
|
||||
orb $SMA_SIZE, %al # enable SMA 8 MB for VGA
|
||||
#endif /* HAVE_FRAMEBUFFER */
|
||||
|
||||
#else /* !SIZE_ALL */
|
||||
|
||||
no_sdram:
|
||||
#ifdef HAVE_FRAMEBUFFER
|
||||
# enable DIMM 0 and
|
||||
movw $0x6391, %ax # enable SMA 4 MB for VGA
|
||||
movb $0x63, %ah # enable DIMM 0 and
|
||||
movw $SMA_SIZE + $0x01, %ax # enable SMA 8 MB for VGA
|
||||
#else /* HAVE_FRAMEBUFFER */
|
||||
movw $0x6301, %ax # enable DIMM 0
|
||||
movw $0x6301, %ax # enable DIMM 0
|
||||
#endif /* HAVE_FRAMEBUFFER */
|
||||
|
||||
#endif /* SIZE_ALL */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
option SIS550
|
||||
option USE_DOC_MIL
|
||||
option SMA_SIZE=0xA0
|
||||
docipl northsouthbridge/sis/550/ipl.S
|
||||
raminit northsouthbridge/sis/550/raminit.inc
|
||||
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@
|
|||
|
||||
sis630spd_start:
|
||||
cli # Disables the maskable
|
||||
# hardware interrupts.
|
||||
|
||||
movw %cs, %ax # makes data segment ==
|
||||
movw %ax, %ds # code segment
|
||||
|
|
@ -183,17 +184,17 @@ no_sdram:
|
|||
movw %fs, %ax
|
||||
movb $0x63, %ah
|
||||
#ifdef HAVE_FRAMEBUFFER
|
||||
orb $0xA0, %al # enable SMA 8 MB for VGA
|
||||
orb $SMA_SIZE, %al # enable SMA 8 MB for VGA
|
||||
#endif /* HAVE_FRAMEBUFFER */
|
||||
|
||||
#else /* !SIZE_ALL */
|
||||
|
||||
no_sdram:
|
||||
#ifdef HAVE_FRAMEBUFFER
|
||||
# enable DIMM 0 and
|
||||
movw $0x63A1, %ax # enable SMA 8 MB for VGA
|
||||
movb $0x63, %ah # enable DIMM 0 and
|
||||
movw $SMA_SIZE + $0x01, %ax # enable SMA 8 MB for VGA
|
||||
#else /* HAVE_FRAMEBUFFER */
|
||||
movw $0x6301, %ax # enable DIMM 0
|
||||
movw $0x6301, %ax # enable DIMM 0
|
||||
#endif /* HAVE_FRAMEBUFFER */
|
||||
|
||||
#endif /* SIZE_ALL */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
option SIS630
|
||||
option USE_DOC_MIL
|
||||
option SMA_SIZE=0xA0
|
||||
docipl northsouthbridge/sis/630/ipl.S
|
||||
raminit northsouthbridge/sis/630/raminit.inc
|
||||
|
||||
|
|
|
|||
|
|
@ -177,17 +177,17 @@ no_sdram:
|
|||
movw %fs, %ax
|
||||
movb $0x63, %ah
|
||||
#ifdef HAVE_FRAMEBUFFER
|
||||
orb $0xA0, %al # enable SMA 8 MB for VGA
|
||||
orb $SMA_SIZE, %al # enable SMA 8 MB for VGA
|
||||
#endif /* HAVE_FRAMEBUFFER */
|
||||
|
||||
#else /* !SIZE_ALL */
|
||||
|
||||
no_sdram:
|
||||
#ifdef HAVE_FRAMEBUFFER
|
||||
# enable DIMM 0 and
|
||||
movw $0x63A1, %ax # enable SMA 8 MB for VGA
|
||||
movb $0x63, %ah # enable DIMM 0 and
|
||||
movw $SMA_SIZE + $0x01, %ax # enable SMA 8 MB for VGA
|
||||
#else /* HAVE_FRAMEBUFFER */
|
||||
movw $0x6301, %ax # enable DIMM 0
|
||||
movw $0x6301, %ax # enable DIMM 0
|
||||
#endif /* HAVE_FRAMEBUFFER */
|
||||
|
||||
#endif /* SIZE_ALL */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
option SIS730
|
||||
option USE_DOC_MIL
|
||||
option SMA_SIZE=0xA0
|
||||
docipl northsouthbridge/sis/730/ipl.S
|
||||
raminit northsouthbridge/sis/730/raminit.inc
|
||||
|
||||
|
|
|
|||
|
|
@ -177,17 +177,17 @@ no_sdram:
|
|||
movw %fs, %ax
|
||||
movb $0x63, %ah
|
||||
#ifdef HAVE_FRAMEBUFFER
|
||||
orb $0xA0, %al # enable SMA 8 MB for VGA
|
||||
orb $SMA_SIZE, %al # enable SMA 8 MB for VGA
|
||||
#endif /* HAVE_FRAMEBUFFER */
|
||||
|
||||
#else /* !SIZE_ALL */
|
||||
|
||||
no_sdram:
|
||||
#ifdef HAVE_FRAMEBUFFER
|
||||
# enable DIMM 0 and
|
||||
movw $0x63A1, %ax # enable SMA 8 MB for VGA
|
||||
movb $0x63, %ah # enable DIMM 0 and
|
||||
movw $SMA_SIZE + $0x01, %ax # enable SMA 8 MB for VGA
|
||||
#else /* HAVE_FRAMEBUFFER */
|
||||
movw $0x6301, %ax # enable DIMM 0
|
||||
movw $0x6301, %ax # enable DIMM 0
|
||||
#endif /* HAVE_FRAMEBUFFER */
|
||||
|
||||
#endif /* SIZE_ALL */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue