Michael Brown
84c347c7de
Inhibit a spurious warning on GCC 4.0.1
vor 17 Jahren
Michael Brown
2c7ffa8c27
Added two lines of code that were completely missing!
vor 17 Jahren
Michael Brown
09118cd5bf
Don't overwrite %dl with a (potentially) modified drive number if we
already handled the INT13 call.
vor 17 Jahren
Michael Brown
d5e39286f7
We probably shouldn't leave interrupts disabled when starting an OS.
vor 17 Jahren
Michael Brown
9aa61ad5a2
Add per-file error identifiers
vor 17 Jahren
Michael Brown
f0acd8d7a7
Define -DOBJECT when generating Makefile rules, for consistency.
Inhibit -Werror when generating Makefile rules, to prevent warnings
from killing the dependency list.
vor 17 Jahren
Michael Brown
3f338b7b80
Include errno.h in the few drivers which use it, rather than in nic.h
vor 17 Jahren
Michael Brown
ed9ba18ec6
Allow -Werror to be temporarily disabled using "make NO_WERROR=1"
vor 17 Jahren
Michael Brown
75912b3b77
Remove some obsolete sections of librm.h and libkir.h.
Add some of the missing parts to libkir.h.
vor 17 Jahren
Michael Brown
b188311edd
We can finally enable -Werror :)
vor 17 Jahren
Michael Brown
90b5315db0
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
vor 17 Jahren
Marty Connor
02a7514128
Change #warning to FIXME for ns8390.c
This driver really needs to be rewritten.
It tries to build both ISA and PCI images,
and makes life diffifult for the build system
and rom-o-matic.net. The warning was just a reminder
that it needs to be cleaned up and re-factored
to split the PCI and ISA drivers.
vor 17 Jahren
Marty Connor
4e177aee17
Change #warning to FIXME for depca
This ancient ISA driver should probably be removed.
It is hard to get a card to test it with, and there
are comments to the effect that it cannot work with
relocation. I would be quite interested to get a
bug report by someone who actually has this card.
vor 17 Jahren
Marty Connor
767a3cef77
Changed #warning to FIXME for nvo hack warning.
vor 17 Jahren
Marty Connor
63c9131eeb
Add NIC to targets that are always made.
Even though it is only currently used for rom-o-matic.net code,
it is good to make sure it gets built, and that the parsing code
is working.
vor 17 Jahren
Michael Brown
07e11f8af9
Minor debug improvement
vor 17 Jahren
Michael Brown
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).
vor 17 Jahren
Michael Brown
a8111e8ab7
Remove INT 13,4b handler; it represents an incomplete feature (CD-ROM
emulation support) for an unknown purpose, and breaks grub.
vor 17 Jahren
Michael Brown
0d9d2ccbae
Completed definition of struct int13_cdrom_specification, and moved to
int13.h.
vor 17 Jahren
Michael Brown
013d381e3c
Real-mode code might set the direction flag, which would cause carnage.
vor 17 Jahren
Michael Brown
c94cdf2b7d
Move .zinfo to libprefix.S; it doesn't belong with the decompression code.
vor 17 Jahren
Michael Brown
cb237819ca
Produce no output unless -v is specified or an error occurs.
vor 17 Jahren
Michael Brown
dc52db4920
Removed dead code identified by symcheck
vor 17 Jahren
Michael Brown
94415b7669
Added missing "static" declarations
vor 17 Jahren
Michael Brown
19904804da
Restore the "shared symbol found only in a single object should be
treated as being provided by that object" code.
vor 17 Jahren
Michael Brown
62d92348fe
Added symbols that the DBG() macros will use.
vor 17 Jahren
Michael Brown
f44969f7df
nameserver should be static
vor 17 Jahren
Michael Brown
7df3d4a177
Obsolete code removal
vor 17 Jahren
Michael Brown
60ce8e884d
Added missing extern
vor 17 Jahren
Michael Brown
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).
vor 17 Jahren
Michael Brown
38dbe14bbe
Kill off redundant references to the .zprefixes.
vor 17 Jahren
Michael Brown
84551d485e
Update all prefixes currently referring to _load_size to include a
compressor fixup section.
vor 17 Jahren
Michael Brown
0929142a15
Rename _rom_size to _load_size_sect, since hdprefix.S also uses it.
vor 17 Jahren
Michael Brown
048bbeeebc
Compressed ROM images now work.
vor 17 Jahren
Michael Brown
37fa9a8706
Split the objcopy stage out of final image preparation to a separate
bin/%.bin target.
vor 17 Jahren
Michael Brown
6d2e4e719c
Move uninitialised .data16 variables to .bss16; saves around 2000
bytes of useless zeroes in the final image.
vor 17 Jahren
Michael Brown
389204713f
Kill off some long-redundant CFLAGS
vor 17 Jahren
Michael Brown
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).
vor 17 Jahren
Michael Brown
c482fc90fb
Revert "no need for depending on build library ("blib")"
This reverts commit 9dc2515d7e .
I want "make" to actually build something.
vor 17 Jahren
Michael Brown
a8780a4fe4
Added nrv2b binary to ignore list
vor 17 Jahren
Michael Brown
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.
vor 17 Jahren
Michael Brown
aa729d2d10
Reverting unintended change caused by merge of indolent/natsemi branch.
vor 17 Jahren
Michael Brown
c27b06fc4d
Merge commit 'indolent/natsemi'
vor 17 Jahren
Udayan Kumar
37517f7752
removed type casting from DBG statements.
vor 17 Jahren
Udayan Kumar
fc47f2a4ce
replaces printf with dbg
vor 17 Jahren
Udayan Kumar
04962a0b31
added natsemi.h
vor 17 Jahren
Udayan Kumar
ecfa8f41e8
mdc's+nvs
vor 17 Jahren
Udayan Kumar
008bfb6e85
more debugging
vor 17 Jahren
Udayan Kumar
f58c8511a0
more debugging
vor 17 Jahren
Udayan Kumar
d6ceb8bbd7
added silicon revision number
vor 17 Jahren