summaryrefslogtreecommitdiffstats
path: root/src/core/image.c
Commit message (Collapse)AuthorAgeFilesLines
* Set current working URI to be that of the executable image whenMichael Brown2007-08-071-3/+12
| | | | | executing any image, not just a script. (This will enable pxelinux to use relative URIs, should it wish to.)
* Allow images to hold references to the originating URI.Michael Brown2007-08-021-0/+78
| | | | Some shuffling around of the image management code; this needs tidying up.
* convert to zallocHolger Lubitz2007-07-061-2/+1Star
|
* Scripts temporarily deregister themselves while executing. ThisMichael Brown2007-06-091-14/+0Star
| | | | | allows us to avoid execution loops without having to hack around the image registration order.
* Add reference counting to register/unregister procedure.Michael Brown2007-06-091-0/+32
|
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-191-1/+1
|
* Rename e{malloc,realloc,free} to u{malloc,realloc,free}, to more obviouslyMichael Brown2007-01-161-1/+0Star
| | | | | reflect the fact that they allocate and deallocate user memory (i.e. things reached through a userptr_t).
* Once image type has been set, do not autoprobe furtherMichael Brown2007-01-141-0/+5
|
* Allow load() and exec() methods to be NULL.Michael Brown2007-01-141-0/+9
|
* Print image physical location in registration message.Michael Brown2007-01-121-1/+3
|
* Let ifmgmt.c take care of calling efree(), since it's the once whichMichael Brown2007-01-121-26/+33
| | | | | | | took out the contract to eventually call efree() when it called fetch(). Maintain the most recently loaded image at the start of the list, so that imgautoselect() will pick it.
* Add debug messageMichael Brown2007-01-121-0/+1
|
* fetch() now knows nothing about struct image; it simply loads a file andMichael Brown2007-01-121-3/+1Star
| | | | returns the allocated buffer.
* Add free_imageMichael Brown2007-01-121-0/+17
|
* Added IMAGE_LOADED flag and find_image()Michael Brown2007-01-121-0/+27
|
* Allow for named images.Michael Brown2007-01-121-3/+5
|
* Provide registration mechanism for loaded images, so that we can e.g.Michael Brown2007-01-121-62/+115
| | | | | | | | refer to them by name from the command line, or build them into a multiboot module list. Use setting image->type to disambiguate between "not my image" and "bad image"; this avoids relying on specific values of the error code.
* Move include/image.h to include/gpxe/image.hMichael Brown2007-01-111-3/+2Star
|
* Update buffer-handling code to enable expandable buffers.Michael Brown2007-01-111-1/+0Star
|
* Move include/buffer.h to include/gpxe/buffer.hMichael Brown2007-01-111-1/+1
|
* fix printf format argsMarty Connor2006-06-291-0/+1
|
* Tear out old heap code, replace with code that simply allocates memoryMichael Brown2006-05-161-0/+4
| | | | | | | | | 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! :)
* Added print_images() and autoload().Michael Brown2005-05-171-24/+57
|
* First versionsMichael Brown2005-05-091-0/+49