diff options
| author | Michael Brown | 2006-05-16 17:00:36 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-05-16 17:00:36 +0200 |
| commit | 0afa9db2deb36bd249e54549e200af25a91495ab (patch) | |
| tree | dc159226016229a90ce187ccc503435eb2f385b1 /src/include/gpxe | |
| parent | Fix typo (diff) | |
| download | ipxe-0afa9db2deb36bd249e54549e200af25a91495ab.tar.gz ipxe-0afa9db2deb36bd249e54549e200af25a91495ab.tar.xz ipxe-0afa9db2deb36bd249e54549e200af25a91495ab.zip | |
Tear out old heap code, replace with code that simply allocates memory
for use by malloc().
This breaks the image-loading code (which previously used the heap to
allocate the buffer for downloading the image), but that's not a major
concern since I'm going to tear out all the image formats within the next
couple of days anyway. Byebye, NBI! :)
Diffstat (limited to 'src/include/gpxe')
| -rw-r--r-- | src/include/gpxe/heap.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/gpxe/heap.h b/src/include/gpxe/heap.h new file mode 100644 index 000000000..f27937519 --- /dev/null +++ b/src/include/gpxe/heap.h @@ -0,0 +1,15 @@ +#ifndef _GPXE_HEAP_H +#define _GPXE_HEAP_H + +/** + * @file + * + * Heap + * + */ + +extern char heap[]; + +extern void init_heap ( void ); + +#endif /* _GPXE_HEAP_H */ |
