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