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