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/core/image.c | |
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/core/image.c')
-rw-r--r-- | src/core/image.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/image.c b/src/core/image.c index 9a805d37..c60373c9 100644 --- a/src/core/image.c +++ b/src/core/image.c @@ -18,6 +18,8 @@ void print_images ( void ) { } } +#if 0 + /* * Identify the image format * @@ -80,3 +82,5 @@ int autoload ( struct dev *dev, struct image **image, void **context ) { out: return rc; } + +#endif |