summaryrefslogtreecommitdiffstats
path: root/src/core/buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* Moved most buffer debug messages to DBG2.Michael Brown2007-01-291-21/+51
| | | | | | | | | 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...
* Allow buffers to be pre-expanded on demand.Michael Brown2007-01-181-5/+1Star
|
* Use physical address in debug messages; they make more sense to read.Michael Brown2007-01-111-8/+12
|
* buffer.c should be using copy_{to,from}_user, rather thanMichael Brown2007-01-111-6/+5Star
| | | | copy_{to,from}_phys.
* Fix bug in buffer.c, add buffer mini-unit test.Michael Brown2007-01-111-3/+3
|
* Update buffer-handling code to enable expandable buffers.Michael Brown2007-01-111-140/+138Star
|
* Move include/buffer.h to include/gpxe/buffer.hMichael Brown2007-01-111-1/+1
|
* We don't actually have a stdio.h header file. Our printf() functions areMichael Brown2006-09-271-1/+0Star
| | | | | | | | defined in vsprintf.h. (This may change, since vsprintf.h is a non-standard name, but for now it's the one to use.) There should be no need to include vsprintf.h just for DBG() statements, since include/compiler.h forces it in for a debug build anyway.
* include stdio.h to suppress printf warning, general warnings fixupsMarty Connor2006-09-271-0/+1
|
* Assertions are now handled via the POSIX-like <assert.h>.Michael Brown2006-03-231-2/+3
|
* Added documentation and ASSERT() statements.Michael Brown2005-06-061-1/+39
|
* Allow data blocks to be less than sizeof ( struct buffer_free_block ) inMichael Brown2005-06-061-110/+64Star
| | | | size. (The restriction on the size of free blocks remains.)
* Some versions of doxygen seem to object to "@ret None" or similar.Michael Brown2005-05-241-6/+6
|
* Move API docs to buffer.h, implementation to buffer.c.Michael Brown2005-05-191-54/+2Star
|
* errno.h now required in order to compile.Michael Brown2005-05-191-0/+1
|
* More documentationMichael Brown2005-05-191-6/+34
|
* Added preliminary doxygen documentationMichael Brown2005-05-191-16/+117
|
* Added const to fill_bufferMichael Brown2005-05-171-1/+1
|
* Make "struct buffer"s reusable between sessions.Michael Brown2005-05-091-8/+5Star
|
* Return -1 to indicate buffer overflow. Allow buffer fill level to be readMichael Brown2005-05-091-14/+18
| | | | easily from struct buffer.
* Added debuggingMichael Brown2005-05-091-1/+16
|
* Added explanatory comment.Michael Brown2005-05-091-0/+7
|
* Modified to use physical addresses, and to not assume that we can directlyMichael Brown2005-05-091-83/+96
| | | | refer to data outside of our data or stack segments.
* Start of an implementation using doubly-linked lists and virtualMichael Brown2005-05-091-0/+131
addresses. This will have to be reworked to use physical addresses thanks to the PXE spec.