Michael Brown
d4947c05b2
Allow images to hold references to the originating URI.
Some shuffling around of the image management code; this needs tidying up.
17 yıl önce
Michael Brown
4b08f4cf0f
Quick hack to get image booting working again
17 yıl önce
Michael Brown
123a98db26
Added (non-functional) reference count to struct image
17 yıl önce
Michael Brown
784e10635a
Can almost start a kernel now. It dies with "No setup signature found"
18 yıl önce
Michael Brown
797edf28b7
Replace image->entry with image->priv.
18 yıl önce
Michael Brown
e2c0055e23
Let ifmgmt.c take care of calling efree(), since it's the once which
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.
18 yıl önce
Michael Brown
2be2f3b205
Rearrange struct image to reflect usage of the fields
18 yıl önce
Michael Brown
48e0fc3447
API change: the raw image will no longer be (hypothetically) discarded
after a call to load().
18 yıl önce
Michael Brown
6fdc6c81a6
Force probing of multiboot before ELF.
18 yıl önce
Michael Brown
475d6d1f7c
fetch() now knows nothing about struct image; it simply loads a file and
returns the allocated buffer.
18 yıl önce
Michael Brown
742f242863
Add free_image
18 yıl önce
Michael Brown
b9fea9cbac
Added IMAGE_LOADED flag and find_image()
18 yıl önce
Michael Brown
9debfed07a
Place command-line inline, to save on memory allocation hassles.
18 yıl önce
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 yıl önce
Michael Brown
c468c68661
Add command line that can be passed to executed images.
18 yıl önce
Michael Brown
819cd3f41c
Limit -ENOEXEC to mean "this is not in my format".
18 yıl önce
Michael Brown
c6c63d954d
Rename "image" field to "data", because "image->image" is just confusing.
18 yıl önce
Michael Brown
4fc9333159
Move include/image.h to include/gpxe/image.h
18 yıl önce