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