david/ipxe
Archived
1
0
Commit Graph

2101 Commits

Author SHA1 Message Date
Holger Lubitz
6f61e254dc use malloc attribute 2007-08-20 20:29:50 +02:00
Holger Lubitz
347ab9b8c2 use malloc attribute 2007-08-20 20:29:41 +02:00
Holger Lubitz
c4285e148d use malloc attribute 2007-08-20 20:29:30 +02:00
Holger Lubitz
05708503e5 use malloc attribute 2007-08-20 20:29:23 +02:00
Holger Lubitz
9386263433 use malloc attribute 2007-08-20 20:29:09 +02:00
Holger Lubitz
68455adf37 use malloc attribute 2007-08-20 20:28:47 +02:00
Holger Lubitz
dea89e8d62 use malloc attribute 2007-08-20 20:28:23 +02:00
Holger Lubitz
2220e1a676 define malloc attribute 2007-08-20 20:28:11 +02:00
Holger Lubitz
7e1db201b9 strdup and strndup call malloc and are not pure 2007-08-02 03:04:44 +02:00
Holger Lubitz
bb94c143d9 move strndup back to string.c - used by strdup 2007-08-02 01:48:20 +02:00
Holger Lubitz
6b6dbe5600 move strndup back to string.c - used by strdup 2007-08-02 01:47:31 +02:00
Holger Lubitz
7e8e4f8abd declare pointers passed to string functions as nonnull 2007-08-02 01:02:06 +02:00
Holger Lubitz
e3d10ac673 define __nonnull 2007-08-02 01:01:01 +02:00
Holger Lubitz
d0d044443d memscan does not alter the mem pointer - make it const 2007-08-02 00:52:04 +02:00
Holger Lubitz
8e3e97fcef set __pure attribute where possible 2007-08-02 00:51:38 +02:00
Holger Lubitz
cd619a1eec define __pure and __const 2007-08-02 00:27:54 +02:00
Holger Lubitz
c9c97b3444 stripped down version of string.c containing only the used functions 2007-08-02 00:27:37 +02:00
Holger Lubitz
c7ad6778ac put unused functions from string.c into separate file 2007-08-02 00:27:19 +02:00
Holger Lubitz
58f5565eb0 Merge branch 'master' into strings 2007-08-02 00:13:40 +02:00
Michael Brown
24f32a1945 Initrd concatenation now working 2007-08-01 15:29:15 +01:00
Michael Brown
c5d9114064 Allow loading of multiple initramfs images. 2007-07-31 18:09:18 +01:00
Michael Brown
291d69d7fd Added support for draft version of the AoE Boot Firmware Table. 2007-07-31 14:05:03 +01:00
Michael Brown
dde3f99e4e Fix endianness of "shelf" field 2007-07-31 03:48:43 +01:00
Michael Brown
79691961ba Add identifier for the network device into the DHCP request. 2007-07-31 03:32:22 +01:00
Michael Brown
5e26df0325 Centralise construction of the DHCP request and response packets. 2007-07-31 03:02:21 +01:00
Michael Brown
d0abffc2f6 Added the AoE boot information table as used by Vampyre's AoE
initiator.  This table needs to be replaced by something similar to
iBFT (i.e. scanned for and identified by signature, rather than being
at a fixed address), but it works for now.
2007-07-30 23:58:59 +01:00
Michael Brown
847ac4f336 tls_change_cipher() can complain about null cipher and digest
algorithms; we only need the pubkey check disabled (and only because
pubkey algorithms are not yet integrated into the crypto_algorithm
subsystem).
2007-07-30 03:30:27 +01:00
Michael Brown
60e3aa4d75 Change #warnings to FIXMEs, so that we can build without NO_WERROR=1 2007-07-30 03:06:08 +01:00
Michael Brown
bf3d8fb1aa Allowed HTTPS to be a separately configurable feature. 2007-07-30 03:01:04 +01:00
Michael Brown
3b8b06ae90 Added missing #include 2007-07-30 03:00:15 +01:00
Michael Brown
74ad5014c5 Inhibit compiler warning 2007-07-30 02:58:22 +01:00
Michael Brown
6fc9ed167e TLS now working again. 2007-07-30 02:48:38 +01:00
Michael Brown
9a9f46ff58 Upgrade AXTLS import to version 1.1.5-a 2007-07-30 02:48:00 +01:00
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.)
2007-07-30 02:43:43 +01:00
Michael Brown
f62d6486d8 GCC's optimiser seems to screw up if this is left static... 2007-07-30 02:42:32 +01:00
Michael Brown
3b9bf40682 Preparation for adding tls.c 2007-07-29 17:16:00 +01:00
Holger Lubitz
f397fc443c make bcopy use memmove 2007-07-29 17:35:38 +02:00
Michael Brown
a6467c99a0 Added a simple pass-through filter layer for data transfer interfaces. 2007-07-29 16:05:14 +01:00
Michael Brown
304d1e9fa5 Don't rely on retry.c's periodically calling currticks() in order to
allow the UNDI NIC interrupt to happen.
2007-07-29 15:27:47 +01:00
Michael Brown
218314e712 Added HMAC code from TLS project 2007-07-29 03:09:00 +01:00
Michael Brown
43013da9bf Quick hack to get AoE back in to the tree, on a par with the current
iSCSI hack.
2007-07-29 02:31:14 +01:00
Michael Brown
a6a1052096 Applied a modified version of holger's regparm patches. 2007-07-29 00:17:25 +01:00
Michael Brown
e3484e26eb Merge branch 'symcheck2' 2007-07-28 22:55:31 +01:00
Michael Brown
0d568ac219 Make has_key() a static inline, rather than omitting it altogether. 2007-07-28 22:55:17 +01:00
Michael Brown
3e816c3d56 Revert "make bool m_echo static" - I suspect this to be defined by spec
This reverts commit 3cb133d27d.
2007-07-28 22:52:20 +01:00
Holger Lubitz
52e5c24565 Revert "make isspace static" - prototype for isspace() is defined by C99, so can't be static
This reverts commit ed06bd8a89.
2007-07-28 23:20:44 +02:00
Holger Lubitz
0ae6c53bd9 Revert "make __udivmoddi4 static" - gcc links to it implicitly
This reverts commit 9e7b165017.
2007-07-28 23:20:00 +02:00
Michael Brown
ca41159f57 Ensure clock line is in the idle state before asserting chip select. 2007-07-28 16:05:41 +01:00
Holger Lubitz
63e489c14d make struct velocity_info vptx static 2007-07-27 22:07:01 +02:00
Holger Lubitz
5c486ee75d make struct velocity_info_tbl *info static 2007-07-27 22:05:47 +02:00