summaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
* Use "dbg_stream" rather than "stream" as a variable name inMichael Brown2007-01-301-3/+3
| | | | DBG_AC_IF(), to avoid namespace collisions.
* Added async_block_progress() and default SIGUPDATE handler.Michael Brown2007-01-291-0/+21
|
* Moved most buffer debug messages to DBG2.Michael Brown2007-01-291-20/+1Star
| | | | | | | | | Make expand_buffer() a non-inline function, so that we can add debug messages. Expandable buffers now don't *always* round up to the next power of two. This allows e.g. loading a 137MB ISO image on a machine with only 256MB RAM...
* Move tolower() etc to ctype.h as per ISO CMichael Brown2007-01-262-27/+30
|
* Add 64-bit rotatesMichael Brown2007-01-261-0/+8
|
* Help quick testing of building Linux code inside gPXEMichael Brown2007-01-251-0/+25
|
* Add Linux-compatible rol32/ror32 functions. Amazingly, gcc willMichael Brown2007-01-251-0/+19
| | | | optimise these down to the correct single "roll"/"rorl" instruction.
* Introduce structured error codes.Michael Brown2007-01-191-157/+418
|
* Add POSIX prototypes for time functions, to allow external code to buildMichael Brown2007-01-192-0/+42
| | | | | | more easily within gPXE. Note that we don't have function bodies for these functions yet.
* Split random number generation out into core/random.c, and create theMichael Brown2007-01-191-4/+44
| | | | correct prototypes for srandom(), rand() and srand().
* vsprintf.h is gPXE-specific; move it to include/gpxeMichael Brown2007-01-191-3/+3
|
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-191-2/+0Star
|
* Finally move the prototypes for printf() and friends to stdio.hMichael Brown2007-01-192-34/+41
|
* 4.3BSD says that bcopy and bzero are defined in strings.h, not string.hMichael Brown2007-01-192-1/+11
|
* Add missing prerequisite includeMichael Brown2007-01-191-0/+2
|
* A working name resolution frameworkMichael Brown2007-01-182-16/+47
|
* Have DHCP set the nameserver, rather than DNS read the DHCP nameserverMichael Brown2007-01-181-0/+2
| | | | value.
* Use total free memory as advertised window. This seems to be sufficientMichael Brown2007-01-181-25/+14Star
| | | | to avoid drops even on slow NICs.
* Move include/malloc.h to include/gpxe/malloc.h, since everything in thereMichael Brown2007-01-181-5/+7
| | | | | | | is now gPXE-specific. (The standard malloc() et al have been in stdlib.h for a while). Add free memory counter.
* console.h is no longer needed for debuggingMichael Brown2007-01-181-1/+0Star
|
* Add DBGLVL_PROFILEMichael Brown2007-01-181-14/+28
|
* Increase window size to 64kB. Line rate downloads on a 100Mbps link,Michael Brown2007-01-181-9/+30
| | | | anyone?
* Allow buffers to be pre-expanded on demand.Michael Brown2007-01-181-0/+21
|
* Don't always zero memory in malloc(). This saves around 2us on aMichael Brown2007-01-181-4/+6
| | | | full-length PKB allocation.
* HTTP/DNS now working fully asynchronously. HTTP/IP addresses and anyMichael Brown2007-01-182-16/+2Star
| | | | other protocol won't work at the moment.
* Replacement for fetch() which operates asynchronously and identifiesMichael Brown2007-01-181-0/+59
| | | | protocols by URI scheme.
* Use struct sockaddr rather than struct sockaddr_tcpipMichael Brown2007-01-181-5/+11
| | | | Tidy up code
* Added async_uninit() to simplify failure paths.Michael Brown2007-01-181-0/+1
|
* Add utility function to parse port from URIMichael Brown2007-01-181-0/+1
|
* Ensure that struct sockaddr is long enough...Michael Brown2007-01-182-4/+12
|
* ObsoleteMichael Brown2007-01-181-10/+0Star
|
* Rename e{malloc,realloc,free} to u{malloc,realloc,free}, to more obviouslyMichael Brown2007-01-162-17/+17
| | | | | reflect the fact that they allocate and deallocate user memory (i.e. things reached through a userptr_t).
* Create and use async_block() macro; it cuts down on the visual overheadMichael Brown2007-01-161-0/+36
| | | | | of blocking on asynchronous operations, when that isn't an important aspect of the code.
* A working DNS resolver (not yet tied in to anything)Michael Brown2007-01-153-23/+41
|
* Update TFTP and FTP to take the same temporary URI scheme as HTTPMichael Brown2007-01-152-17/+15Star
|
* Unmaintained example code is probably worse than useless.Michael Brown2007-01-151-52/+0Star
|
* 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.