summaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
* Gave asynchronous operations approximate POSIX signal semantics. ThisMichael Brown2007-01-1510-64/+172
| | | | | | | | | | | will enable us to cascade async operations, which is necessary in order to properly support DNS. (For example, an HTTP request may have to redirect to a new location and will have to perform a new DNS lookup, so we can't just rely on doing the name lookup at the time of parsing the initial URL). Anything other than HTTP is probably broken right now; I'll fix the others up asap.
* Added a URI parser that should be standards conformant. (It can certainlyMichael Brown2007-01-151-0/+116
| | | | | | handle something as convoluted as ftp://joe:secret@insecure.org:8081/hidden/path/to?what=is#this
* TypoMichael Brown2007-01-141-1/+1
|
* Actually, the initrd image should be architecture-independent.Michael Brown2007-01-141-0/+14
|
* Can almost start a kernel now. It dies with "No setup signature found"Michael Brown2007-01-141-0/+1
|
* Replace image->entry with image->priv.Michael Brown2007-01-141-2/+5
|
* Call hide_etherboot() from startup(), rather than requiring the prefix toMichael Brown2007-01-141-0/+2
| | | | do it.
* Make shutdown functions callable by OS image's exec methods.Michael Brown2007-01-141-0/+10
|
* Some operating systems get a nasty shock if a region of the E820 map seemsMichael Brown2007-01-141-25/+3Star
| | | | | to start on a non-page boundary. Make life safer by rounding out our edited regions.
* Advertise a larger MSS to improve TCP performance.Michael Brown2007-01-131-1/+23
|
* Hex dumps are now integrated into the DBG() framework.Michael Brown2007-01-131-5/+93
|
* Fixed HTTPMichael Brown2007-01-121-28/+28
|
* Whitespace fixMichael Brown2007-01-121-1/+1
|
* Damn it; my lovely resilient scheme falls down when you have a protocolMichael Brown2007-01-121-16/+7Star
| | | | | that switches from line-oriented to byte-oriented partway through, such as HTTP.
* No need to maintain a received byte count; we always fill in sequentialMichael Brown2007-01-121-2/+0Star
| | | | order so we can just use buffer->fill.
* Added generic line-buffering code (a la stdio)Michael Brown2007-01-121-0/+37
|
* Added missing declaration.Michael Brown2007-01-121-0/+2
|
* Let ifmgmt.c take care of calling efree(), since it's the once whichMichael Brown2007-01-121-1/+1
| | | | | | | 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.
* Added dhcp() user-level command.Michael Brown2007-01-121-0/+14
|
* Rearrange struct image to reflect usage of the fieldsMichael Brown2007-01-121-7/+4Star
|
* API change: the raw image will no longer be (hypothetically) discardedMichael Brown2007-01-121-4/+2Star
| | | | after a call to load().
* Force probing of multiboot before ELF.Michael Brown2007-01-121-8/+20
|
* fetch() now knows nothing about struct image; it simply loads a file andMichael Brown2007-01-122-10/+5Star
| | | | returns the allocated buffer.
* Allow "imgexec" with no arguments to boot the file that was loaded withMichael Brown2007-01-121-0/+1
| | | | "kernel".
* Cleaner separation between imgXXX() functions and image_cmd.cMichael Brown2007-01-121-0/+5
|
* Add free_imageMichael Brown2007-01-121-0/+1
|
* Add basic "fetch" and "imgstat" commands.Michael Brown2007-01-122-0/+25
|
* Added IMAGE_LOADED flag and find_image()Michael Brown2007-01-121-0/+7
|
* Added missing declaration.Michael Brown2007-01-121-0/+2
|
* Place command-line inline, to save on memory allocation hassles.Michael Brown2007-01-121-1/+12
|
* Added basename() to make automatically naming images easier.Michael Brown2007-01-121-0/+6
|
* Build automatically expanding buffers from struct buffer and erealloc().Michael Brown2007-01-121-0/+13
|
* First version of an external memory allocator (not tested)Michael Brown2007-01-121-0/+17
|
* Allow external code to update hidden memory regions.Michael Brown2007-01-121-0/+45
|
* Add UNULLMichael Brown2007-01-121-0/+3
|
* Provide registration mechanism for loaded images, so that we can e.g.Michael Brown2007-01-121-17/+44
| | | | | | | | 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.
* alloca() can be useful in some (limited) circumstances.Michael Brown2007-01-121-0/+25
|
* Add command line that can be passed to executed images.Michael Brown2007-01-111-0/+3
|
* Limit -ENOEXEC to mean "this is not in my format".Michael Brown2007-01-111-0/+8
|
* Distinguish between ENOMEM (as representing a lack of internal memoryMichael Brown2007-01-111-18/+18
| | | | | | as allocated by malloc()) versus all other errors, in particular ENOBUFS (representing a lack of external buffer space, e.g. in a device's TX queue or a user buffer).
* Use generic "struct image" rather than "struct elf".Michael Brown2007-01-111-12/+1Star
|
* Rename "image" field to "data", because "image->image" is just confusing.Michael Brown2007-01-111-1/+1
|
* Move include/image.h to include/gpxe/image.hMichael Brown2007-01-112-26/+60
|
* Create include/gpxe/elf.h for the ELF bits that aren't part of the ELFMichael Brown2007-01-111-0/+26
| | | | standard and so don't belong in include/elf.h
* Update TFTP to use a struct buffer rather than a callback.Michael Brown2007-01-111-28/+22Star
| | | | Add debug autocolourisation to TFTP.
* Removed the Etherboot-specific ELF-image code and replaced it with aMichael Brown2007-01-112-86/+4Star
| | | | 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-112-6/+15
| | | | and get_memmap() in image/segment.c
* Move memmap.h out of arch/i386; it no longer contains anythingMichael Brown2007-01-111-0/+34
| | | | architecture-dependent and is needed by the ELF code.
* buffer.c should be using copy_{to,from}_user, rather thanMichael Brown2007-01-111-5/+5
| | | | copy_{to,from}_phys.
* Extract packet-padding login from rtl8139.c to a separate pkbpad.c file.Michael Brown2007-01-111-0/+1
|