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 years ago
Michael Brown
f62d6486d8
GCC's optimiser seems to screw up if this is left static...
17 years ago
Michael Brown
3b9bf40682
Preparation for adding tls.c
17 years ago
Holger Lubitz
f397fc443c
make bcopy use memmove
17 years ago
Michael Brown
a6467c99a0
Added a simple pass-through filter layer for data transfer interfaces.
17 years ago
Michael Brown
304d1e9fa5
Don't rely on retry.c's periodically calling currticks() in order to
allow the UNDI NIC interrupt to happen.
17 years ago
Michael Brown
218314e712
Added HMAC code from TLS project
17 years ago
Michael Brown
43013da9bf
Quick hack to get AoE back in to the tree, on a par with the current
iSCSI hack.
17 years ago
Michael Brown
a6a1052096
Applied a modified version of holger's regparm patches.
17 years ago
Michael Brown
0d568ac219
Make has_key() a static inline, rather than omitting it altogether.
17 years ago
Michael Brown
3e816c3d56
Revert "make bool m_echo static" - I suspect this to be defined by spec
This reverts commit 3cb133d27d .
17 years ago
Holger Lubitz
52e5c24565
Revert "make isspace static" - prototype for isspace() is defined by C99, so can't be static
This reverts commit ed06bd8a89 .
17 years ago
Holger Lubitz
0ae6c53bd9
Revert "make __udivmoddi4 static" - gcc links to it implicitly
This reverts commit 9e7b165017 .
17 years ago
Michael Brown
ca41159f57
Ensure clock line is in the idle state before asserting chip select.
17 years ago
Holger Lubitz
63e489c14d
make struct velocity_info vptx static
17 years ago
Holger Lubitz
5c486ee75d
make struct velocity_info_tbl *info static
17 years ago
Holger Lubitz
5a0c703403
make struct nsx static
17 years ago
Holger Lubitz
4cd21524ef
make struct bnx2 bnx2 static
17 years ago
Holger Lubitz
9a4790667a
make multiboot_load static
17 years ago
Holger Lubitz
dc38303ff9
make nbi_load static
17 years ago
Holger Lubitz
e6cfa7ced9
make http_open static
17 years ago
Holger Lubitz
5ec4e2ad50
make eltorito_load static
17 years ago
Holger Lubitz
909ad9e80a
make cards_found static and add missing initialization
17 years ago
Holger Lubitz
3cb133d27d
make bool m_echo static
17 years ago
Holger Lubitz
ac1e0aa63e
remove has_key by #if 0'ing out
17 years ago
Holger Lubitz
0e0843a872
make _wgetc static
17 years ago
Holger Lubitz
9e7b165017
make __udivmoddi4 static
17 years ago
Holger Lubitz
77ffd636fa
make RTL8169_READ_GMII_REG, RTL8169_WRITE_GMII_REG static
17 years ago
Holger Lubitz
9280f2649a
make struct _softlabelkeys *slks static
17 years ago
Holger Lubitz
fa11865de0
make add_ndp_entry static
17 years ago
Holger Lubitz
ed06bd8a89
make isspace static
17 years ago
Holger Lubitz
29134e35dc
make md5_steps static
17 years ago
Holger Lubitz
97aade0d1f
make imgfill_cmdline static
17 years ago
Holger Lubitz
42910594f7
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
17 years ago
Holger Lubitz
1ec846b038
make netboot() static
17 years ago
Holger Lubitz
426c2c150d
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
17 years ago
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 years ago
Michael Brown
84c347c7de
Inhibit a spurious warning on GCC 4.0.1
17 years ago
Michael Brown
2c7ffa8c27
Added two lines of code that were completely missing!
17 years ago
Michael Brown
09118cd5bf
Don't overwrite %dl with a (potentially) modified drive number if we
already handled the INT13 call.
17 years ago
Michael Brown
d5e39286f7
We probably shouldn't leave interrupts disabled when starting an OS.
17 years ago
Michael Brown
9aa61ad5a2
Add per-file error identifiers
17 years ago
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 years ago
Michael Brown
3f338b7b80
Include errno.h in the few drivers which use it, rather than in nic.h
17 years ago
Michael Brown
ed9ba18ec6
Allow -Werror to be temporarily disabled using "make NO_WERROR=1"
17 years ago
Michael Brown
75912b3b77
Remove some obsolete sections of librm.h and libkir.h.
Add some of the missing parts to libkir.h.
17 years ago
Michael Brown
b188311edd
We can finally enable -Werror :)
17 years ago
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 years ago
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 years ago
Marty Connor
767a3cef77
Changed #warning to FIXME for nvo hack warning.
17 years ago