summaryrefslogtreecommitdiffstats
path: root/src/image
Commit message (Collapse)AuthorAgeFilesLines
* Set current working URI to be that of the executable image whenMichael Brown2007-08-071-9/+1Star
| | | | | executing any image, not just a script. (This will enable pxelinux to use relative URIs, should it wish to.)
* Set current working URI equal to script URI during script execution.Michael Brown2007-08-021-1/+9
|
* Cope with non-newline-terminated scripts.Michael Brown2007-08-021-2/+3
| | | | Print error status using strerror().
* Scripts temporarily deregister themselves while executing. ThisMichael Brown2007-06-091-3/+16
| | | | | allows us to avoid execution loops without having to hack around the image registration order.
* Actually, the initrd image should be architecture-independent.Michael Brown2007-01-141-0/+37
|
* Replace image->entry with image->priv.Michael Brown2007-01-141-2/+2
|
* Make DEBUG=script echo the commands as they are executedMichael Brown2007-01-121-0/+1
|
* Use systematic names for XXX_IMAGE.Michael Brown2007-01-121-0/+113
| | | | Add scripts as an image format (since it's trivial to do).
* Force probing of multiboot before ELF.Michael Brown2007-01-121-2/+2
|
* Rename copy_user() to memcpy_user(). Add memmove_user() andMichael Brown2007-01-121-1/+1
| | | | userptr_add().
* Provide registration mechanism for loaded images, so that we can e.g.Michael Brown2007-01-121-5/+11
| | | | | | | | 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.
* Add placeholder elf_execute()Michael Brown2007-01-111-0/+11
|
* Limit -ENOEXEC to mean "this is not in my format".Michael Brown2007-01-111-3/+3
|
* Use generic "struct image" rather than "struct elf".Michael Brown2007-01-111-11/+18
|
* Create include/gpxe/elf.h for the ELF bits that aren't part of the ELFMichael Brown2007-01-111-8/+4Star
| | | | standard and so don't belong in include/elf.h
* Removed the Etherboot-specific ELF-image code and replaced it with aMichael Brown2007-01-111-0/+130
| | | | generic ELF loader, to be used by the multiboot code.
* Remove osloader.c and replace with a prep_segment() that uses userptr_tMichael Brown2007-01-111-0/+72
and get_memmap() in image/segment.c