Michael Brown
c42a384709
Moved most buffer debug messages to DBG2.
Make expand_buffer() a non-inline function, so that we can add debug
messages.
Expandable buffers now don't *always* round up to the next power of two.
This allows e.g. loading a 137MB ISO image on a machine with only 256MB
RAM...
пре 17 година
Michael Brown
c8b3e969a0
Allow buffers to be pre-expanded on demand.
пре 17 година
Michael Brown
fbfed96965
buffer.c should be using copy_{to,from}_user, rather than
copy_{to,from}_phys.
пре 17 година
Michael Brown
e2dcd05b67
Update buffer-handling code to enable expandable buffers.
пре 17 година
Michael Brown
bb2024c6d6
Move include/buffer.h to include/gpxe/buffer.h
пре 17 година
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.)
пре 19 година
Michael Brown
a96759f9c8
Use "#var" rather than "@c var" for doxygen.
пре 19 година
Michael Brown
7a4b45d3b0
Don't include etherboot.h; we get a circular dependency
пре 19 година
Michael Brown
2ddbac101e
Move API docs to buffer.h, implementation to buffer.c.
пре 19 година
Michael Brown
e911a74724
More documentation
пре 19 година
Michael Brown
a135024626
load_buffer is now handled via load_buffer.h
пре 19 година
Michael Brown
40c7b127aa
Added const to fill_buffer
пре 19 година
Michael Brown
73429d6da1
Make "struct buffer"s reusable between sessions.
пре 19 година
Michael Brown
bab2924e89
Return -1 to indicate buffer overflow. Allow buffer fill level to be read
easily from struct buffer.
пре 19 година
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 година
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 година