diff options
| author | Michael Brown | 2007-01-11 04:50:47 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-01-11 04:50:47 +0100 |
| commit | e2dcd05b67c606e97f1d570123ba7510cc41bd16 (patch) | |
| tree | f6cecbbeebc6079df8af0fe3fd1adf432b80faa6 /src/include/load_buffer.h | |
| parent | Move include/buffer.h to include/gpxe/buffer.h (diff) | |
| download | ipxe-e2dcd05b67c606e97f1d570123ba7510cc41bd16.tar.gz ipxe-e2dcd05b67c606e97f1d570123ba7510cc41bd16.tar.xz ipxe-e2dcd05b67c606e97f1d570123ba7510cc41bd16.zip | |
Update buffer-handling code to enable expandable buffers.
Diffstat (limited to 'src/include/load_buffer.h')
| -rw-r--r-- | src/include/load_buffer.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/include/load_buffer.h b/src/include/load_buffer.h deleted file mode 100644 index b13c4e2a4..000000000 --- a/src/include/load_buffer.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef LOAD_BUFFER_H -#define LOAD_BUFFER_H - -#include <gpxe/buffer.h> - -/* - * These functions are architecture-dependent, but the interface must - * be identical between architectures. - * - */ - -/* - * Initialise a buffer suitable for loading an image. Pass in a - * pointer to an uninitialised struct buffer. - * - * Note that this function may (for example) allocate all remaining - * allocatable memory, so it must be called *after* any other code - * that might want to allocate memory (e.g. device driver - * initialisation). - * - */ -extern int init_load_buffer ( struct buffer *buffer ); - -/* - * Cut a load buffer down to size once the image has been loaded. - * This will shrink the buffer down to the size of the data contained - * within the buffer, freeing up unused memory if applicable. - * - */ -extern void trim_load_buffer ( struct buffer *buffer ); - -/* - * Finish using a load buffer, once the image has been moved into its - * target location in memory. - * - */ -extern void done_load_buffer ( struct buffer *buffer ); - -#endif /* LOAD_BUFFER_H */ |
