Michael Brown
74fd544101
Added the embedded pxelinux payload patch from hpa.
17 лет назад
Michael Brown
df868476e7
Various warnings fixups for OpenBSD with gcc-3.3.5.
17 лет назад
Michael Brown
cfcc41d407
Set current working URI to be that of the executable image when
executing any image, not just a script. (This will enable pxelinux to
use relative URIs, should it wish to.)
17 лет назад
Michael Brown
1ae40765a6
Set current working URI equal to script URI during script execution.
17 лет назад
Michael Brown
02de18eb3e
Cope with non-newline-terminated scripts.
Print error status using strerror().
17 лет назад
Michael Brown
b256900d4f
Scripts temporarily deregister themselves while executing. This
allows us to avoid execution loops without having to hack around the
image registration order.
17 лет назад
Michael Brown
10c9b03cdb
Actually, the initrd image should be architecture-independent.
18 лет назад
Michael Brown
797edf28b7
Replace image->entry with image->priv.
18 лет назад
Michael Brown
a6afbe762c
Make DEBUG=script echo the commands as they are executed
18 лет назад
Michael Brown
67aedf34fa
Use systematic names for XXX_IMAGE.
Add scripts as an image format (since it's trivial to do).
18 лет назад
Michael Brown
6fdc6c81a6
Force probing of multiboot before ELF.
18 лет назад
Michael Brown
1d313234b3
Rename copy_user() to memcpy_user(). Add memmove_user() and
userptr_add().
18 лет назад
Michael Brown
f59ad50504
Provide registration mechanism for loaded images, so that we can e.g.
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.
18 лет назад
Michael Brown
7cf4a72389
Add placeholder elf_execute()
18 лет назад
Michael Brown
819cd3f41c
Limit -ENOEXEC to mean "this is not in my format".
18 лет назад
Michael Brown
c810baad37
Use generic "struct image" rather than "struct elf".
18 лет назад
Michael Brown
230f16538f
Create include/gpxe/elf.h for the ELF bits that aren't part of the ELF
standard and so don't belong in include/elf.h
18 лет назад
Michael Brown
7ad1c2eaa8
Removed the Etherboot-specific ELF-image code and replaced it with a
generic ELF loader, to be used by the multiboot code.
18 лет назад
Michael Brown
3634e705b7
Remove osloader.c and replace with a prep_segment() that uses userptr_t
and get_memmap() in image/segment.c
18 лет назад