david/ipxe
Archived
1
0
Commit Graph

2193 Commits

Author SHA1 Message Date
Michael Brown
7b6d11e713 Started IB driver rewrite 2007-09-12 22:17:43 +01:00
Michael Brown
5f6439c828 Merge branch 'master' into 3leaf-rewrite 2007-09-11 15:42:17 +01:00
Michael Brown
98de16befd Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe 2007-09-09 13:31:38 +01:00
Michael Brown
6f799db5bd Use "/bin/echo -e" instead of shell builtin echo; some shells don't
implement the -e option.

(Thanks to Jim McQuillan for this suggestion.)
2007-09-08 23:38:17 +01:00
Michael Brown
972f293e46 Check for correct block number in tftp_rx_data().
(Problem observed by Clay McClure in VMware Fusion.)
2007-09-08 19:30:25 +01:00
Michael Brown
fbec308f41 Re-added the kpxe prefix. I have no idea when this disappeared. 2007-09-08 15:57:01 +01:00
Michael Brown
66207bb912 Add the possibility to create .o files from arbitrary binary blobs. 2007-09-06 15:11:09 +01:00
Michael Brown
a82e6ec2de Added missing .kpxe prefix. 2007-09-06 15:08:41 +01:00
Michael Brown
00d93c6dd9 Minor style fix: structure fields are generally initialised in the
order in which they occur.
2007-09-06 13:37:47 +01:00
Marty Connor
14e1d3cc4d TFTP default blocksize fix from Vampyre 2007-08-30 13:51:38 -04:00
Marty Connor
63f0e4e796 allpxes allroms alldsks fixes from Vampyre 2007-08-30 13:08:46 -04:00
Marty Connor
eaca053174 Add sis900 variant (patch from Vampyre) 2007-08-30 08:36:00 -04:00
Michael Brown
74a49af4ab Force MAC address for testing purposes 2007-08-29 20:07:41 +01:00
Holger Lubitz
5d6f6fb924 Merge branch 'master' into curses
Conflicts:

	src/include/compiler.h
	src/include/readline/readline.h

created by strings branch merge. resolved.
2007-08-23 23:15:54 +02:00
Michael Brown
746d0f8feb Merge commit 'holger/strings' 2007-08-23 21:51:57 +01:00
Michael Brown
b62a9ee0f4 Merge branch 'master' into 3leaf 2007-08-23 20:50:58 +01:00
Michael Brown
01b755704a Auto-assign drive number only if set to 0xff; almost all applications
require that we use drive 0x80, so it should probably be the default.
2007-08-23 20:50:24 +01:00
Michael Brown
d078fb3cb7 Allow legacy "make bin/etherboot.%". 2007-08-22 23:10:00 +01:00
Michael Brown
8ee7eeb407 Merge branch 'master' into 3leaf 2007-08-21 01:53:11 +01:00
Holger Lubitz
f92096d180 use malloc attribute 2007-08-20 20:30:24 +02:00
Holger Lubitz
bc9f960b66 use malloc attribute 2007-08-20 20:30:17 +02:00
Holger Lubitz
6f0eca1400 use malloc attribute 2007-08-20 20:30:11 +02:00
Holger Lubitz
8bb295e3fd use malloc attribute 2007-08-20 20:29:58 +02:00
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
2e88138b06 __nonnull changes 2007-08-20 00:35:07 +02:00
Holger Lubitz
a0fbce4656 __nonnull changes 2007-08-20 00:34:59 +02:00
Holger Lubitz
d0867b101d __nonnull changes 2007-08-20 00:34:46 +02:00
Holger Lubitz
d2dd4b9e31 __nonnull changes 2007-08-20 00:34:39 +02:00
Holger Lubitz
e1eefee16b __nonnull changes 2007-08-20 00:34:32 +02:00
Holger Lubitz
3559beeb0f __nonnull changes 2007-08-20 00:34:17 +02:00
Holger Lubitz
3c19e4a07e __nonnull changes 2007-08-20 00:34:04 +02:00
Holger Lubitz
d39e79248c __nonnull changes 2007-08-20 00:33:55 +02:00
Holger Lubitz
c5414e6d12 __nonnull changes 2007-08-20 00:33:51 +02:00
Holger Lubitz
6a3ee34c18 __nonnull changes 2007-08-20 00:32:51 +02:00
Holger Lubitz
e7114f1215 __nonnull changes 2007-08-20 00:32:36 +02:00
Holger Lubitz
3859abb7de define __nonnull 2007-08-19 22:51:17 +02:00
Holger Lubitz
e8b8991b84 define __pure and __const 2007-08-19 22:50:48 +02:00
Michael Brown
a45a145b8c Added error IDs for all files in drivers/net; they're likely to need them. 2007-08-19 00:29:43 +01:00
Michael Brown
db61b0a577 Added error IDs for all files in drivers/net; they're likely to need them. 2007-08-19 00:29:27 +01:00
Michael Brown
8ad8804f7a Fix building on distros which use dash as the default shell. 2007-08-18 19:05:06 +01:00
Michael Brown
800c8b014b Add barrier() primitive (was present in Eb5.4), used by some currently
out-of-tree driver code.
2007-08-18 18:05:00 +01:00
Michael Brown
a895fd0c15 Add barrier() primitive (was present in Eb5.4), used by some currently
out-of-tree driver code.
2007-08-18 18:04:50 +01:00
Michael Brown
b42c5905cb Very quick and very dirty hack to get the Mellanox code building
inside gPXE.
2007-08-18 18:04:18 +01:00
Michael Brown
9d2c54735e Started fixing up compilation warnings. 2007-08-17 20:34:48 +01:00
Michael Brown
d0974ec716 Separate out arch-independent parts of stdint.h 2007-08-17 19:51:35 +01:00
Michael Brown
eff8b06eff Separate out arch-independent parts of stdint.h 2007-08-17 19:51:08 +01:00
Michael Brown
d9bba621c8 Imported latest versions from Etherboot 5.4 2007-08-17 19:35:40 +01:00
Michael Brown
2ff1b1245b Use start_timer_nodelay() in protocols which rely on the retry timer
to generate the initial transmission; this cuts off around 0.3s per
instantiated connection.
2007-08-13 11:03:33 -07:00
Michael Brown
0a3c2b80ea Add start_timer_nodelay() 2007-08-13 10:59:00 -07:00
Michael Brown
5cda460f19 Build the all-driver images by default, and print instructions for usage. 2007-08-09 20:17:35 -07:00
Michael Brown
54bf2621ed Add iBFT code derived from IBM document.
No Microsoft intellectual property was harmed in the production of
this code.
2007-08-09 17:44:20 -07:00
Michael Brown
cfcc41d407 Set current working URI to be that of the executable image when
executing any image, not just a script.  (This will enable pxelinux to
use relative URIs, should it wish to.)
2007-08-07 06:50:12 -07:00
Michael Brown
950057eeed Add PXE FILE API. 2007-08-04 01:23:37 +01:00
Michael Brown
07f84566d5 Make read_user() non-blocking, and add select() call. 2007-08-04 01:22:52 +01:00
Michael Brown
218651e125 Display name and status of each file as it is downloaded. 2007-08-03 12:49:21 +01:00
Michael Brown
6e46dddc2c Print multiple commands per line in help 2007-08-03 01:03:21 +01:00
Michael Brown
688bac1656 Place multiboot command lines in base memory; Xen won't pick them up
otherwise.  :(
2007-08-02 23:09:03 +01:00
Michael Brown
710c6c1be1 Error message cleanups. 2007-08-02 20:27:50 +01:00
Michael Brown
1ae40765a6 Set current working URI equal to script URI during script execution. 2007-08-02 20:27:19 +01:00
Michael Brown
49009a4c1b uri_get(NULL) and uri_put(NULL) are explicitly allowed. 2007-08-02 20:26:49 +01:00
Michael Brown
d4947c05b2 Allow images to hold references to the originating URI.
Some shuffling around of the image management code; this needs tidying up.
2007-08-02 20:18:32 +01:00
Michael Brown
9fd6a0418f Allowed zero-cost enforced ordering of features in startup banner
list.

Added FEATURE() macros to most relevant (non-driver) files.
2007-08-02 14:51:03 +01:00
Michael Brown
67afe84292 Use otherwise-useless byte in DHCP feature option as a version number 2007-08-02 04:36:00 +01:00
Michael Brown
0acb016840 Add FEATURE() macro, plus code to display features at startup time,
and generate DHCP options to indicate features to DHCP server (and to
PXE NBPs).
2007-08-02 04:24:39 +01:00
Holger Lubitz
7e1db201b9 strdup and strndup call malloc and are not pure 2007-08-02 03:04:44 +02:00
Holger Lubitz
857c5db4dd fix gcc 4.2.1 warning: discards qualifiers from pointer target type 2007-08-02 01:56:57 +01:00
Holger Lubitz
fdd5fbe3ae fix gcc 4.2.1 warning: initialized field overwritten 2007-08-02 01:56:50 +01:00
Holger Lubitz
91a8ae1216 include more changes for x86_64 2007-08-02 01:55:48 +01:00
Holger Lubitz
0ebf6cdef4 remove old minorversion!=4 check (added -march a second time) 2007-08-02 01:54:42 +01:00
Holger Lubitz
06eb725cd4 remove x86_64 comments from arch specific Config
options are in main makefile now
2007-08-02 01:48:28 +01:00
Michael Brown
02de18eb3e Cope with non-newline-terminated scripts.
Print error status using strerror().
2007-08-02 01:12:42 +01: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
726e366e8f Add code for constructing single-file cpio archives on the fly 2007-08-01 23:10:30 +01: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