426c2c150d
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
Holger Lubitz2007-07-27 21:31:11 +02:00
47a86bca2d
Prepare for iBFT merge when possible. iscsiboot.c contains a really, really ugly hack at present, but that doesn't hugely matter since I'm aiming to change the interface to iSCSI devices anyway within the next week.
Michael Brown2007-07-26 02:13:38 +01:00
2c7ffa8c27
Added two lines of code that were completely missing!
Michael Brown2007-07-25 13:32:02 +01:00
09118cd5bf
Don't overwrite %dl with a (potentially) modified drive number if we already handled the INT13 call.
Michael Brown2007-07-25 02:03:29 +01:00
d5e39286f7
We probably shouldn't leave interrupts disabled when starting an OS.
Michael Brown2007-07-25 02:02:24 +01:00
2cfe0dee1f
Don't trash the %ecx value returned by relocate(). This was causing us to round down the size for the relocation copy to the nearest 64kB (+0x10 bytes); this just happened to work on most machines because the last 64kB of the image is all-zeroes anyway (it's the .bss).
Michael Brown2007-07-19 15:54:33 +01:00
a8111e8ab7
Remove INT 13,4b handler; it represents an incomplete feature (CD-ROM emulation support) for an unknown purpose, and breaks grub.
Michael Brown2007-07-19 11:16:05 +01:00
0d9d2ccbae
Completed definition of struct int13_cdrom_specification, and moved to int13.h.
Michael Brown2007-07-19 11:15:01 +01:00
013d381e3c
Real-mode code might set the direction flag, which would cause carnage.
Michael Brown2007-07-17 13:46:37 +01:00
c94cdf2b7d
Move .zinfo to libprefix.S; it doesn't belong with the decompression code.
Michael Brown2007-07-17 12:52:54 +01:00
cb237819ca
Produce no output unless -v is specified or an error occurs.
Michael Brown2007-07-17 01:59:48 +01:00
19904804da
Restore the "shared symbol found only in a single object should be treated as being provided by that object" code.
Michael Brown2007-07-17 01:39:06 +01:00
62d92348fe
Added symbols that the DBG() macros will use.
Michael Brown2007-07-17 01:24:04 +01:00
c3290aae54
Use objdump -t for symcheck; it allows us to take the symbol section into account (and so remove the false positives due to .tbl.* symbols).
Michael Brown2007-07-17 01:15:39 +01:00
38dbe14bbe
Kill off redundant references to the .zprefixes.
Michael Brown2007-07-16 17:26:07 +01:00
84551d485e
Update all prefixes currently referring to _load_size to include a compressor fixup section.
Michael Brown2007-07-16 17:17:26 +01:00
0929142a15
Rename _rom_size to _load_size_sect, since hdprefix.S also uses it.
Michael Brown2007-07-16 17:03:19 +01:00
37fa9a8706
Split the objcopy stage out of final image preparation to a separate bin/%.bin target.
Michael Brown2007-07-16 13:41:27 +01:00
6d2e4e719c
Move uninitialised .data16 variables to .bss16; saves around 2000 bytes of useless zeroes in the final image.
Michael Brown2007-07-16 13:22:12 +01:00
833d6cc8ec
Add __bss16() macro, and allow use of .bss16 section by removing link-time check for section overlaps. (In order to avoid wasting space in the executable image, .bss16 will overlap with the following section, which is .text).
Michael Brown2007-07-16 13:10:49 +01:00
c482fc90fb
Revert "no need for depending on build library ("blib")"
Michael Brown2007-07-16 13:06:58 +01:00
ab859a5355
Use a single _payload_offset linker-defined variable to locate the start of the non-prefix blocks in the loaded image, and rely on the image ordering. This should make introducing compression much easier.
Michael Brown2007-07-15 02:52:02 +01:00
aa729d2d10
Reverting unintended change caused by merge of indolent/natsemi branch.
Michael Brown2007-07-15 02:22:49 +01:00
26473105cd
On advice of hpa: be more patient with the KBC and SCPA methods; retry in a long loop before giving up on them. Record method which worked and default to that method on next attempt.
Michael Brown2007-07-14 20:56:12 +01:00
adf192f566
Shrink cpu.c and render it useful for our purposes.
Michael Brown2007-07-14 19:12:13 +01:00
25fd42ca87
Reduced etherboot.h dependencies to avoid unnecessary rebuilds.
Michael Brown2007-07-14 15:52:23 +01:00
95c07736cb
Be more aggressive in attempts to enable A20, now that we have the optimisation of only trying to do so when necessary.
Michael Brown2007-07-14 14:21:18 +01:00
8624fdc445
Kill off the enforced RX quota; it only seems to hurt on real hardware.
Michael Brown2007-07-14 00:30:11 +01:00
57b5e227ff
Use fast in-situ test for gate A20 being set, to cut down on the number of (potentially very slow) gateA20_set operations.
Michael Brown2007-07-13 13:32:49 +01:00