Michael Brown
af23ff8a24
Assertions are now handled via the POSIX-like <assert.h>.
2006-03-23 19:33:57 +00:00
Michael Brown
bb7394b041
Merge from Etherboot 5.4
2006-03-16 17:59:51 +00:00
Michael Brown
708bbc43bc
Merge from Etherboot 5.4
2006-03-16 17:40:55 +00:00
Michael Brown
df9cbc23cc
Added documentation and ASSERT() statements.
2005-06-06 12:01:19 +00:00
Michael Brown
33dbdda28e
Allow data blocks to be less than sizeof ( struct buffer_free_block ) in
...
size. (The restriction on the size of free blocks remains.)
2005-06-06 11:42:14 +00:00
Michael Brown
cbed5ed9ad
Always include code for sending multicast packets.
2005-06-02 10:14:26 +00:00
Michael Brown
be7897523d
IGMP protocol now uses the generic background protocol mechanism.
2005-06-01 22:22:14 +00:00
Michael Brown
85a380530d
Add generic mechanism for background protocols (e.g. ARP, IGMP)
2005-06-01 22:18:38 +00:00
Geert Stappers
5265975334
patch of Helge Wagner
2005-05-31 11:32:45 +00:00
Michael Brown
0e494614b5
Some versions of doxygen seem to object to "@ret None" or similar.
2005-05-24 00:11:25 +00:00
Michael Brown
809933d9f7
Split PXE code into preboot, udp, tftp, undi and loader units.
...
PXE code now compiles without errors (though it won't actually work).
2005-05-23 23:32:56 +00:00
Michael Brown
8fcb6448bd
Moved pxe_errors.c to pxe/interface/
2005-05-23 22:47:21 +00:00
Michael Brown
6bcd74b65c
Moved pxe_export.c to pxe.c, since the old pxe.c no longer exists.
2005-05-20 15:32:41 +00:00
Michael Brown
a96759f9c8
Use "#var" rather than "@c var" for doxygen.
2005-05-20 10:27:02 +00:00
Michael Brown
bf32da87f0
Doxygenation
2005-05-20 10:24:11 +00:00
Michael Brown
8bc4551f5e
API docs to .h
2005-05-19 18:41:54 +00:00
Michael Brown
2ddbac101e
Move API docs to buffer.h, implementation to buffer.c.
2005-05-19 18:32:04 +00:00
Michael Brown
4e87543c74
Synced across updates from Etherboot 5.4 tree
2005-05-19 16:47:19 +00:00
Michael Brown
d0c9183903
Doxygenation
2005-05-19 14:51:37 +00:00
Michael Brown
eff1cd867b
errno.h now required in order to compile.
2005-05-19 14:49:56 +00:00
Michael Brown
e911a74724
More documentation
2005-05-19 11:54:41 +00:00
Michael Brown
a2915ad06d
Added preliminary doxygen documentation
2005-05-19 00:17:48 +00:00
Michael Brown
0e921cdd9e
More doxygen docs
2005-05-18 15:28:33 +00:00
Michael Brown
d04b607eb9
Add doxygen documentation
2005-05-18 14:44:38 +00:00
Michael Brown
127362581f
Document %m
2005-05-18 14:44:05 +00:00
Michael Brown
307cf36fca
Linker symbols no longer defined in etherboot.h
...
Use %m to print error
2005-05-18 14:43:27 +00:00
Michael Brown
ab07740755
First version
2005-05-17 18:39:27 +00:00
Michael Brown
ff9104e029
Added errno, strerror and the "%m" printf metacharacter. These will allow
...
us to return proper PXE status codes, while simultaneously allowing for
more consistent error reporting (complete with verbose error messages as a
build-time option).
2005-05-17 18:26:41 +00:00
Michael Brown
40c7b127aa
Added const to fill_buffer
2005-05-17 14:34:46 +00:00
Michael Brown
022661283a
Load buffer is now handled by the autoload() function.
2005-05-17 13:44:08 +00:00
Michael Brown
510de6cb8c
Restructured to allow per-object image formats
2005-05-17 13:40:31 +00:00
Michael Brown
0571dcdb05
Added print_images() and autoload().
2005-05-17 13:38:24 +00:00
Michael Brown
9968c9513e
Moved find_segment into elf_loader.c
2005-05-17 13:37:29 +00:00
Michael Brown
3ce6504f14
Use shared symbols for heap_ptr and heap_end
2005-05-17 13:35:43 +00:00
Michael Brown
6e8f29d3cb
Image formats moved into the new config system
2005-05-17 13:33:49 +00:00
Michael Brown
5c8ea0b93a
Add realloc, since the load buffer code requires it.
2005-05-13 13:20:16 +00:00
Michael Brown
59a1662978
Added debugging
2005-05-13 11:24:02 +00:00
Michael Brown
42250e9b1a
Tidied up init_heap()
2005-05-13 11:16:14 +00:00
Michael Brown
f0d048bf91
Added ASSERT() macro
2005-05-13 10:18:21 +00:00
Michael Brown
eff4fa5a04
Merged the unaligned and aligned heap APIs and simplified the code.
2005-05-12 16:34:57 +00:00
Michael Brown
a5a14dc05d
Use the global load_buffer, and the boot_image function.
2005-05-09 18:10:04 +00:00
Michael Brown
73429d6da1
Make "struct buffer"s reusable between sessions.
2005-05-09 18:03:44 +00:00
Michael Brown
58ee2c4b2e
First versions
2005-05-09 18:01:50 +00:00
Michael Brown
0fe74493f4
Protocols now load data into a buffer; they don't execute it.
2005-05-09 14:27:29 +00:00
Michael Brown
bab2924e89
Return -1 to indicate buffer overflow. Allow buffer fill level to be read
...
easily from struct buffer.
2005-05-09 14:26:10 +00:00
Michael Brown
a89651f3bb
Added debugging
2005-05-09 13:47:04 +00:00
Michael Brown
b2869ed6b8
Added explanatory comment.
2005-05-09 13:25:43 +00:00
Michael Brown
e75b7480d0
Modified to use physical addresses, and to not assume that we can directly
...
refer to data outside of our data or stack segments.
2005-05-09 13:24:01 +00:00
Michael Brown
ef05a27f25
Start of an implementation using doubly-linked lists and virtual
...
addresses. This will have to be reworked to use physical addresses thanks
to the PXE spec.
2005-05-09 10:11:11 +00:00
Michael Brown
462234f373
Make vga_font const to avoid warning about large symbol
2005-05-03 13:17:08 +00:00
Michael Brown
a918abc036
Split TCP code out into proto/tcp.c
2005-05-02 12:07:47 +00:00
Michael Brown
cc980d1c94
Moved DOWNLOAD_PROTO_XXX options to config.h
2005-05-02 11:13:47 +00:00
Michael Brown
f9f1d2c84c
More URL parsing moved into url.c
2005-05-01 23:58:45 +00:00
Michael Brown
d5bf9e71ea
http.h obsoleted (no content)
2005-05-01 23:58:20 +00:00
Michael Brown
63482e4fe9
Made parse_url do more of the processing, to avoid duplicating parts of
...
nic.c in http.c
2005-05-01 19:10:04 +00:00
Michael Brown
2227a711fd
umountall() handled by nfs.c's reset function
2005-05-01 15:08:19 +00:00
Michael Brown
85d9eae44e
Moved protocols to proto/
2005-05-01 14:04:11 +00:00
Michael Brown
e1d6f3a8ac
Add NMB_RESOLVER
2005-05-01 10:58:49 +00:00
Michael Brown
552f33c663
Always request DNS server. DHCP handling will be generalised in future.
2005-04-30 19:39:50 +00:00
Michael Brown
78cdb1da8b
DNS resolver rewritten, moved to proto/dns.c
2005-04-30 14:50:33 +00:00
Michael Brown
d817e60d21
"dns_resolver" changed to "dns"
2005-04-30 14:49:41 +00:00
Michael Brown
167c26c92b
tftp functions moved to proto/tftp.c
2005-04-30 14:46:49 +00:00
Michael Brown
1644238813
Added debugging.
2005-04-30 14:41:37 +00:00
Michael Brown
6cd0fa5807
Added DNS resolver configuration option.
2005-04-30 14:39:21 +00:00
Michael Brown
0780ecf1b6
TFTP API changed.
2005-04-30 14:27:17 +00:00
Michael Brown
56825df041
loadkernel renamed to download_url, substantially restructured, and moved
...
to nic.c
2005-04-30 13:52:27 +00:00
Michael Brown
e68378fd62
loadkernel renamed to download_url and moved to nic.c
2005-04-30 13:51:49 +00:00
Michael Brown
903ddd9878
inet_aton doesn't overwrite the IP address unless it is valid.
2005-04-30 13:50:34 +00:00
Michael Brown
044b20385b
parse_url() is void.
2005-04-30 13:24:26 +00:00
Michael Brown
65dc273d78
First version
2005-04-29 13:26:31 +00:00
Michael Brown
e4131ebb84
First version
2005-04-29 13:17:25 +00:00
Michael Brown
c1253d2219
Much, much smaller. :)
2005-04-28 13:20:02 +00:00
Michael Brown
6791aeb024
First version: far too large (408 bytes!!!)
2005-04-28 12:12:11 +00:00
Michael Brown
f37e0a06d7
dev.c uses the new tables infrastructure.
2005-04-27 12:20:54 +00:00
Michael Brown
3e5bf5fb06
console.c uses the generic table mechanism
2005-04-27 11:38:43 +00:00
Michael Brown
241f426a85
Use new generic tables infrastructure
2005-04-27 11:25:21 +00:00
Michael Brown
fda36a0c1a
Added back in the actual call to load().
2005-04-26 17:12:07 +00:00
Michael Brown
f5dde85e16
Improved debug messages
2005-04-25 19:28:49 +00:00
Michael Brown
8cd0693396
s/{name,describe}/{name,describe}_device/
2005-04-25 19:27:53 +00:00
Michael Brown
3b14360f5c
Renamed describe to describe_device for consistency
2005-04-25 19:27:25 +00:00
Michael Brown
b18e419a81
Updated debug messages
2005-04-22 16:02:12 +00:00
Michael Brown
98ff29345e
Created a bus/device API that allows for the ROM prefix to specify an
...
initial device, and will also allow for e.g. a device menu to be presented
to the user.
2005-04-21 18:18:29 +00:00
Michael Brown
e02c699a05
Fix endianness of dhcp device id structure.
2005-04-18 14:38:51 +00:00
Michael Brown
ffe77e0683
This is, of course, the neater and much more obvious way to do it.
2005-04-18 12:45:31 +00:00
Michael Brown
cf79681b80
Fix BUILD_SERIAL.
...
Change from using #if to #ifdef, since #if can't cope with string
constants.
2005-04-18 12:43:18 +00:00
Michael Brown
85b00c4b72
Move RELOCATE into config.h
...
Move ISA probe address logic from config.c into isa.c, create header file
config/isa.h.
2005-04-18 11:00:42 +00:00
Michael Brown
de965fde64
Whoops
2005-04-17 16:16:02 +00:00
Michael Brown
64e1df4af6
Allow serial port options to be specified in a relatively friendly format.
2005-04-17 16:15:46 +00:00
Michael Brown
c9d35daffe
Re-add the "." progress indicator.
2005-04-17 11:40:24 +00:00
Michael Brown
664ffea697
Gave vsprintf.c its own header file, and made console.h include it.
2005-04-17 10:44:26 +00:00
Michael Brown
f25383f4c4
Add ISA_PROBE_ADDRS list.
2005-04-16 09:35:17 +00:00
Michael Brown
f04b9cd3ea
Leave some time to see what's going on.
2005-04-15 17:06:54 +00:00
Michael Brown
c41e89af41
Fixed debug message
2005-04-15 16:58:08 +00:00
Michael Brown
f78fd79c16
Moved core/isapnp.c to drivers/bus/isapnp.c
2005-04-14 22:42:57 +00:00
Michael Brown
ce8dea0dff
Separate out bus-scanning and device-probing logic.
2005-04-14 13:33:03 +00:00
Michael Brown
44c7cc8c12
Standardised debug mechanism in place now.
2005-04-14 11:55:57 +00:00
Michael Brown
75d864432c
Use the magic of common symbols to allow struct dev to effectively grow at
...
link time to accommodate whatever bus objects are included.
2005-04-14 10:10:54 +00:00
Michael Brown
e27ebad4b2
Whoops
2005-04-13 02:05:43 +00:00
Michael Brown
f16ac2d87e
Fix type of dummy_irq()
2005-04-13 01:28:43 +00:00
Michael Brown
6e8878c1fa
Avoid compiler warnings.
2005-04-13 00:19:01 +00:00