Chameleon

Chameleon Commit Details

Date:2011-07-12 22:51:44 (12 years 9 months ago)
Author:Azimutz
Commit:1153
Parents: 1152
Message:Add warnings about boot0 and boot1h compilation errors, with debug enabled.
Changes:
M/trunk/i386/boot0/boot0.s
M/trunk/i386/boot1/boot1h.s

File differences

trunk/i386/boot0/boot0.s
799799
800800
801801
802
803
804
805
806
802807
803808
804809
; According to EFI specification, maximum boot code size is 440 bytes
;
;
; XXX - compilation errors with debug enabled (see comment above about nasm)
; Azi: boot0.s:808: error: TIMES value -111 is negative
; boot0.s:811: error: TIMES value -41 is negative
;
pad_boot:
times 440-($-$$) db 0
trunk/i386/boot1/boot1h.s
986986
987987
988988
989
990
991
992
989993
990994
991995
......
14391443
14401444
14411445
1446
1447
1448
1449
1450
14421451
14431452
14441453
; If the booter code becomes too large, then nasm will complain
; that the 'times' argument is negative.
;
; XXX - compilation errors with debug enabled (see comment above about nasm)
; Azi: boot1h.s:994: error: TIMES value -67 is negative
;
pad_table_and_sig:
times510-($-$$) db 0
dwkBootSignature
; Pad the rest of the 512 byte sized sector with zeroes. The last
; two bytes is the mandatory boot sector signature.
;
;
; XXX - compilation errors with debug enabled
; Azi: boot1h.s:1452: error: TIMES value -64 is negative
;
pad_sector_1:
times1022-($-$$) db 0
dwkBootSignature

Archive Download the corresponding diff file

Revision: 1153