Michael Brown
3ce6504f14
Use shared symbols for heap_ptr and heap_end
vor 19 Jahren
Michael Brown
479fb900a1
Added copy_phys_to_phys
vor 19 Jahren
Michael Brown
4f27994980
Added "image" directory
vor 19 Jahren
Michael Brown
6e8f29d3cb
Image formats moved into the new config system
vor 19 Jahren
Michael Brown
3bbf5f28a3
Use __unused instead of __used for static data structures.
Remove compiler.h defines from osdep.h
vor 19 Jahren
Michael Brown
301b2d40f0
Use the heap functions to allocate a load buffer.
vor 19 Jahren
Michael Brown
c695c75b01
First version
vor 19 Jahren
Michael Brown
5c8ea0b93a
Add realloc, since the load buffer code requires it.
vor 19 Jahren
Michael Brown
59a1662978
Added debugging
vor 19 Jahren
Michael Brown
42250e9b1a
Tidied up init_heap()
vor 19 Jahren
Michael Brown
f0d048bf91
Added ASSERT() macro
vor 19 Jahren
Michael Brown
94d512b979
Added old allot/forget calls for backwards compatibility.
vor 19 Jahren
Michael Brown
eff4fa5a04
Merged the unaligned and aligned heap APIs and simplified the code.
vor 19 Jahren
Michael Brown
a5a14dc05d
Use the global load_buffer, and the boot_image function.
vor 19 Jahren
Michael Brown
f649a4d0fd
Add INIT_LOADBUF
vor 19 Jahren
Michael Brown
73429d6da1
Make "struct buffer"s reusable between sessions.
vor 19 Jahren
Michael Brown
b94def2088
Include string.h, because we need to define copy_{to,from}_phys
vor 19 Jahren
Michael Brown
9fc97f8513
First version
vor 19 Jahren
Michael Brown
58ee2c4b2e
First versions
vor 19 Jahren
Michael Brown
0fe74493f4
Protocols now load data into a buffer; they don't execute it.
vor 19 Jahren
Michael Brown
116f17f605
off_t should be signed.
vor 19 Jahren
Michael Brown
bab2924e89
Return -1 to indicate buffer overflow. Allow buffer fill level to be read
easily from struct buffer.
vor 19 Jahren
Michael Brown
a89651f3bb
Added debugging
vor 19 Jahren
Michael Brown
b2869ed6b8
Added explanatory comment.
vor 19 Jahren
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.
vor 19 Jahren
Michael Brown
e3f2aa7b4d
Add off_t and physaddr_t, and the copy_{to,from}_phys helper routines.
vor 19 Jahren
Michael Brown
dc0aa58fb2
Add memcpy
vor 19 Jahren
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.
vor 19 Jahren
Michael Brown
462234f373
Make vga_font const to avoid warning about large symbol
vor 19 Jahren
Michael Brown
e91c65bea1
Make PCI ID tables const so as not to trigger a warning about a large
symbol.
vor 19 Jahren
Michael Brown
cc73bba7ba
Allow read-only symbols to be large
vor 19 Jahren
Michael Brown
24c0498cbc
Move tulip_private structure into shared data.
vor 19 Jahren
Michael Brown
7df2857248
Reduce large symbol warning threshold, now that most of the really
large symbols have been fixed.
vor 19 Jahren
Michael Brown
42eb786ced
D'oh
vor 19 Jahren
Michael Brown
4bcd42699b
Use __shared
vor 19 Jahren
Michael Brown
303ff86c75
Added example of how to use __shared.
Moved transmit before poll, since typically transmit will be implemented first.
vor 19 Jahren
Michael Brown
ff8e46f2f3
#if 0 out the whole file for now; it cannot be linked because the base
memory interface has changed.
vor 19 Jahren
Michael Brown
0174310f38
Re-add the "etherboot.%" all-drivers image.
vor 19 Jahren
Michael Brown
c112f12c5b
Symbol fixups
vor 19 Jahren
Michael Brown
3c2851e563
Arbitrary alignment is now available.
Use shared symbols.
Correct other symbol violations.
vor 19 Jahren
Michael Brown
68e90c75b6
Removed spurious semicolon
vor 19 Jahren
Michael Brown
ee15c47cb5
Use shared symbols
vor 19 Jahren
Michael Brown
3267ca5568
Use shared symbols to save space
vor 19 Jahren
Michael Brown
60b82eb5cd
Moved definition of __shared into compiler.h
vor 19 Jahren
Michael Brown
a1f50f27b0
Correct symbol violations reported by "make symcheck"
vor 19 Jahren
Michael Brown
35ab3bf808
Report on misuses of shared symbols, and excessively large static symbols.
vor 19 Jahren
Michael Brown
734d2e9f2d
First version
vor 19 Jahren
Michael Brown
88baf7a383
Tweaked to read more information (including symbol size) from blib.a
vor 19 Jahren
Michael Brown
48e40e933f
Add DOWNLOAD_PROTO_XXX options.
vor 19 Jahren
Michael Brown
4ed412f1c2
Updated to use new URL parser and new protocol API.
Sort of works; the HTTP stuff is fine but the TCP code seems to be
broken; it doesn't ACK the packets and just hands us the retransmitted
packets instead.
vor 19 Jahren