bits 16
- section .bss1
+ section .bss
alignb 4
RealModeEAX resd 1 ; Real mode EAX
Com32SysSP resw 1 ; SP saved during COM32 syscall
err_notdos db ': attempted DOS system call INT ',0
err_comlarge db 'COMBOOT image too large.', CR, LF, 0
- section .bss1
+ section .bss
alignb 4
DOSErrTramp resd 33 ; Error trampolines
ConfigName resb FILENAME_MAX
.rdata: equ $
endstruc
- section .bss2
+ section .bss
alignb 2
DNSSendBuf resb DNS_MAX_PACKET
DNSRecvBuf resb DNS_MAX_PACKET
VGAFontSize dw 16 ; Defaults to 16 byte font
UserFont db 0 ; Using a user-specified font
- section .bss1
+ section .bss
alignb 4
GXPixCols resw 1 ; Graphics mode pixel columns
GXPixRows resw 1 ; Graphics mode pixel rows
.isk: shl ebx,10 ; * 2^10
jmp .fini
- section .bss1
+ section .bss
alignb 4
NumBuf resb 15 ; Buffer to load number
NumBufEnd resb 1 ; Last byte in NumBuf
; of this byte.
UsingVGA db 0
- section .bss1
+ section .bss
alignb 4
LSSHeader equ $
LSSMagic resd 1 ; Magic number
; Some of these are touched before the whole image
; is loaded. DO NOT move this to .uibss.
- section .bss2
+ section .bss
alignb 4
ISOFileName resb 64 ; ISO filename canonicalization buffer
ISOFileNameEnd equ $
section .replacestub exec write progbits align=16
; 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.
+ ; .earlybss should be used for things that absolutely have
+ ; to be below 0x7c00.
section .bss write nobits align=16
%if 0 ; IS_PXELINUX
RBFG_brainfuck: resb 2048 ; Bigger than an Ethernet packet...
%endif
- section .bss2 write nobits align=16
-
section .init exec write progbits align=1
section .text exec write progbits align=1
section .bcopyxx exec write progbits align=16
; the spillover from the last fractional sector load.
section .uibss write nobits align=16
- ; Normal bss...
- section .bss1 write nobits align=16
-
; Symbols from linker script
%macro SECINFO 1
extern __%1_start, __%1_lma, __%1_end
alignb 16
; BOOTP/DHCP packet buffer
- section .bss2
+ section .bss
alignb 16
packet_buf resb 2048 ; Transfer packet
packet_buf_size equ $-packet_buf