Michael Brown
9aa61ad5a2
Add per-file error identifiers
17 anni fa
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.
17 anni fa
Michael Brown
3f338b7b80
Include errno.h in the few drivers which use it, rather than in nic.h
17 anni fa
Michael Brown
ed9ba18ec6
Allow -Werror to be temporarily disabled using "make NO_WERROR=1"
17 anni fa
Michael Brown
75912b3b77
Remove some obsolete sections of librm.h and libkir.h.
Add some of the missing parts to libkir.h.
17 anni fa
Michael Brown
b188311edd
We can finally enable -Werror :)
17 anni fa
Michael Brown
90b5315db0
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
17 anni fa
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.
17 anni fa
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.
17 anni fa
Marty Connor
767a3cef77
Changed #warning to FIXME for nvo hack warning.
17 anni fa
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.
17 anni fa
Michael Brown
07e11f8af9
Minor debug improvement
17 anni fa
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).
17 anni fa
Michael Brown
a8111e8ab7
Remove INT 13,4b handler; it represents an incomplete feature (CD-ROM
emulation support) for an unknown purpose, and breaks grub.
17 anni fa
Michael Brown
0d9d2ccbae
Completed definition of struct int13_cdrom_specification, and moved to
int13.h.
17 anni fa
Michael Brown
013d381e3c
Real-mode code might set the direction flag, which would cause carnage.
17 anni fa
Michael Brown
c94cdf2b7d
Move .zinfo to libprefix.S; it doesn't belong with the decompression code.
17 anni fa
Michael Brown
cb237819ca
Produce no output unless -v is specified or an error occurs.
17 anni fa
Michael Brown
dc52db4920
Removed dead code identified by symcheck
17 anni fa
Michael Brown
94415b7669
Added missing "static" declarations
17 anni fa
Michael Brown
19904804da
Restore the "shared symbol found only in a single object should be
treated as being provided by that object" code.
17 anni fa
Michael Brown
62d92348fe
Added symbols that the DBG() macros will use.
17 anni fa
Michael Brown
f44969f7df
nameserver should be static
17 anni fa
Michael Brown
7df3d4a177
Obsolete code removal
17 anni fa
Michael Brown
60ce8e884d
Added missing extern
17 anni fa
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).
17 anni fa
Michael Brown
38dbe14bbe
Kill off redundant references to the .zprefixes.
17 anni fa
Michael Brown
84551d485e
Update all prefixes currently referring to _load_size to include a
compressor fixup section.
17 anni fa
Michael Brown
0929142a15
Rename _rom_size to _load_size_sect, since hdprefix.S also uses it.
17 anni fa
Michael Brown
048bbeeebc
Compressed ROM images now work.
17 anni fa
Michael Brown
37fa9a8706
Split the objcopy stage out of final image preparation to a separate
bin/%.bin target.
17 anni fa
Michael Brown
6d2e4e719c
Move uninitialised .data16 variables to .bss16; saves around 2000
bytes of useless zeroes in the final image.
17 anni fa
Michael Brown
389204713f
Kill off some long-redundant CFLAGS
17 anni fa
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).
17 anni fa
Michael Brown
c482fc90fb
Revert "no need for depending on build library ("blib")"
This reverts commit 9dc2515d7e .
I want "make" to actually build something.
17 anni fa
Michael Brown
a8780a4fe4
Added nrv2b binary to ignore list
17 anni fa
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.
17 anni fa
Michael Brown
aa729d2d10
Reverting unintended change caused by merge of indolent/natsemi branch.
17 anni fa
Michael Brown
c27b06fc4d
Merge commit 'indolent/natsemi'
17 anni fa
Udayan Kumar
37517f7752
removed type casting from DBG statements.
17 anni fa
Udayan Kumar
fc47f2a4ce
replaces printf with dbg
17 anni fa
Udayan Kumar
04962a0b31
added natsemi.h
17 anni fa
Udayan Kumar
ecfa8f41e8
mdc's+nvs
17 anni fa
Udayan Kumar
008bfb6e85
more debugging
17 anni fa
Udayan Kumar
f58c8511a0
more debugging
17 anni fa
Udayan Kumar
d6ceb8bbd7
added silicon revision number
17 anni fa
Udayan Kumar
334abbde83
init_fix_up
17 anni fa
Udayan Kumar
751cb2e450
added cable magic for 100Mps in natsemi
17 anni fa
Udayan Kumar
11d246f3b5
duplex setting added to natsemi.c
17 anni fa
Udayan Kumar
621f6fb503
more indentation and styling done
17 anni fa