Michael Brown
4ce8d61a5c
Import various libgcc functions from syslinux.
Experimentation reveals that gcc ignores -mrtd for the implicit
arithmetic functions (e.g. __udivdi3), but not for the implicit
memcpy() and memset() functions. Mark the implicit arithmetic
functions with __attribute__((cdecl)) to compensate for this.
(Note: we cannot mark with with __cdecl, because we define __cdecl to
incorporate regparm(0) as well.)
17 anni fa
Michael Brown
f62d6486d8
GCC's optimiser seems to screw up if this is left static...
17 anni fa
Michael Brown
3b9bf40682
Preparation for adding tls.c
17 anni fa
Michael Brown
a6467c99a0
Added a simple pass-through filter layer for data transfer interfaces.
17 anni fa
Michael Brown
304d1e9fa5
Don't rely on retry.c's periodically calling currticks() in order to
allow the UNDI NIC interrupt to happen.
17 anni fa
Michael Brown
218314e712
Added HMAC code from TLS project
17 anni fa
Michael Brown
43013da9bf
Quick hack to get AoE back in to the tree, on a par with the current
iSCSI hack.
17 anni fa
Michael Brown
a6a1052096
Applied a modified version of holger's regparm patches.
17 anni fa
Michael Brown
e3484e26eb
Merge branch 'symcheck2'
17 anni fa
Michael Brown
0d568ac219
Make has_key() a static inline, rather than omitting it altogether.
17 anni fa
Michael Brown
3e816c3d56
Revert "make bool m_echo static" - I suspect this to be defined by spec
This reverts commit 3cb133d27d .
17 anni fa
Holger Lubitz
52e5c24565
Revert "make isspace static" - prototype for isspace() is defined by C99, so can't be static
This reverts commit ed06bd8a89 .
17 anni fa
Holger Lubitz
0ae6c53bd9
Revert "make __udivmoddi4 static" - gcc links to it implicitly
This reverts commit 9e7b165017 .
17 anni fa
Michael Brown
ca41159f57
Ensure clock line is in the idle state before asserting chip select.
17 anni fa
Holger Lubitz
63e489c14d
make struct velocity_info vptx static
17 anni fa
Holger Lubitz
5c486ee75d
make struct velocity_info_tbl *info static
17 anni fa
Holger Lubitz
5a0c703403
make struct nsx static
17 anni fa
Holger Lubitz
4cd21524ef
make struct bnx2 bnx2 static
17 anni fa
Holger Lubitz
9a4790667a
make multiboot_load static
17 anni fa
Holger Lubitz
dc38303ff9
make nbi_load static
17 anni fa
Holger Lubitz
e6cfa7ced9
make http_open static
17 anni fa
Holger Lubitz
5ec4e2ad50
make eltorito_load static
17 anni fa
Holger Lubitz
909ad9e80a
make cards_found static and add missing initialization
17 anni fa
Holger Lubitz
3cb133d27d
make bool m_echo static
17 anni fa
Holger Lubitz
ac1e0aa63e
remove has_key by #if 0'ing out
17 anni fa
Holger Lubitz
0e0843a872
make _wgetc static
17 anni fa
Holger Lubitz
59ad3dac40
Merge branch 'master' into symcheck2
17 anni fa
Holger Lubitz
9e7b165017
make __udivmoddi4 static
17 anni fa
Holger Lubitz
77ffd636fa
make RTL8169_READ_GMII_REG, RTL8169_WRITE_GMII_REG static
17 anni fa
Holger Lubitz
9280f2649a
make struct _softlabelkeys *slks static
17 anni fa
Holger Lubitz
fa11865de0
make add_ndp_entry static
17 anni fa
Holger Lubitz
ed06bd8a89
make isspace static
17 anni fa
Holger Lubitz
29134e35dc
make md5_steps static
17 anni fa
Holger Lubitz
97aade0d1f
make imgfill_cmdline static
17 anni fa
Holger Lubitz
42910594f7
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
17 anni fa
Holger Lubitz
1ec846b038
make netboot() static
17 anni fa
Holger Lubitz
426c2c150d
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
17 anni fa
Michael Brown
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.
17 anni fa
Michael Brown
84c347c7de
Inhibit a spurious warning on GCC 4.0.1
17 anni fa
Michael Brown
2c7ffa8c27
Added two lines of code that were completely missing!
17 anni fa
Michael Brown
09118cd5bf
Don't overwrite %dl with a (potentially) modified drive number if we
already handled the INT13 call.
17 anni fa
Michael Brown
d5e39286f7
We probably shouldn't leave interrupts disabled when starting an OS.
17 anni fa
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