%ifndef _CONFIG_INC
%define _CONFIG_INC
-max_cmd_len equ 511 ; Must be &3; 255 is the kernel limit
+max_cmd_len equ 2047 ; Must be &3; 2047 is the kernel limit
HIGHMEM_MAX equ 037FFFFFFh ; DEFAULT highest address for an initrd
DEFAULT_BAUD equ 9600 ; Default baud rate for serial port
BAUD_DIVISOR equ 115200 ; Serial port parameter
trackbuf resb trackbufsize ; Track buffer goes here
; ends at 2800h
- section .bss1
+ section .bss
SuperBlock resb 1024 ; ext2 superblock
SuperInfo resq 16 ; DOS superblock expanded
ClustSize resd 1 ; Bytes/cluster ("block")
section .config align=4 valign=16 follows=.bcopy32 vfollows=.bcopy32
section .config.end nobits valign=4 vfollows=.config
- ; Use .bss1 for things that doesn't have to be in low memory,
- ; but are in order to offload .bss
- section .bss1 nobits valign=16 vfollows=.config.end
+ ; Use .bss for things that doesn't have to be in low memory;
+ ; with .bss1 and .bss2 to offload. .earlybss should be used
+ ; for things that absolutely have to be below 0x7c00.
+ section .bss nobits valign=16 vfollows=.config.end
; Warning here: RBFG build 22 randomly overwrites
; memory location [0x5680,0x576c), possibly more. It
%if IS_PXELINUX
section .bss2 nobits valign=16 vfollows=.rbfg
%else
- section .bss2 nobits valign=16 vfollows=.bss1
+ section .bss2 nobits valign=16 vfollows=.bss
%endif
section .text start=TEXT_START
section .uibss nobits align=16 follows=.adv
; Normal bss...
- section .bss nobits align=16 follows=.uibss
+ section .bss1 nobits align=16 follows=.uibss
; Reserve space for stack
section .stack nobits align=16 start=STACK_START