summaryrefslogtreecommitdiffstats
path: root/src/core
Commit message (Collapse)AuthorAgeFilesLines
...
* How did this ever work properly before?Michael Brown2006-07-131-1/+1
|
* fix printf format argsMarty Connor2006-06-292-5/+6
|
* Removed vestigal FILO codeMarty Connor2006-06-292-28/+0Star
|
* - deprecated in favour of a split library modelDan Lynch2006-06-271-834/+0Star
|
* Simplify RX data path.Michael Brown2006-06-181-9/+2Star
| | | | | | | | | | Kill off the static single net device and move to proper dynamic registration (which we need with the new device model). Break the (flawed) assumption that all network-layer protocols can use ARP; such network-layer protocols (i.e. IPv4) must now register as an ARP protocol using ARP_NET_PROTOCOL() and provide a single method for checking the existence of a local network-layer address.
* Remove dependency on arptable[] (which is no longer used).Michael Brown2006-06-161-2/+1Star
|
* Add NULL_TRAP as a config optionMichael Brown2006-06-111-0/+8
|
* Added a very quick and dirty compatibility layer, to allowMichael Brown2006-06-051-9/+2Star
| | | | not-yet-updated drivers to at least function.
* - added most slk functionsDan Lynch2006-06-051-2/+194
|
* Quick hack to avoid trying to use an uninitialised net device.Michael Brown2006-06-011-4/+16
|
* Until we have a functioning UDP stack and PXE API again, there's not muchMichael Brown2006-06-011-75/+10Star
| | | | | point trying to use the old boot sequence. Replaced with a call to the AoE demo code, so that people can at least build and try something useful.
* Missing from previous checkin.Michael Brown2006-05-311-0/+52
| | | | This is the core portion of the async I/O interface.
* Tidied up debugging messagesMichael Brown2006-05-271-4/+4
|
* relocate.o is now dragged in by the objects that require it; there is noMichael Brown2006-05-251-9/+0Star
| | | | need for a CONFIG_RELOCATE.
* - implemented printw (formatted string output, a la printf)Dan Lynch2006-05-221-7/+103
| | | | | | - implemented hline/vline (part of wborder family) - screen cursor now relocates at same time as window cursor when restoring after a non-wrapping function
* Allow vcprintf() to be called by external code such as the curses library.Michael Brown2006-05-221-38/+38
| | | | Also trim another eight bytes from vsprintf.o. :)
* - fixes to _wputch to get positioning and wrap working properlyDan Lynch2006-05-221-7/+44
| | | | | - fixes to wborder (same) - addition of a few minor functions
* - made _wputch wrap lines as well as cols (wraps back to line 0, as we have ↵Dan Lynch2006-05-191-61/+220
| | | | | | | not way to scroll...) - implemented color_content, wborder, wblrtobot, wclrtoeol, wcolor_set and several small functions - added rest of expected global variables
* all window primitives implementedDan Lynch2006-05-181-57/+107
|
* Split debug functions out into core/debug.c, so that they can beMichael Brown2006-05-172-91/+89Star
| | | | | | | | automatically linked in on demand. Corrected warnings in misc.c. strtoul() really should be unsigned long strtoul ( const char *p, const char **endp, int base ) but such is not the ANSI standard.
* Restructured PCI subsystem to fit the new device model.Michael Brown2006-05-161-1/+1
| | | | | | | | | | | | | | Generic PCI code now handles 64-bit BARs correctly when setting "membase"; drivers should need to call pci_bar_start() only if they want to use BARs other than the first memory or I/O BAR. Split rarely-used PCI functions out into pciextra.c. Core PCI code is now 662 bytes (down from 1308 bytes in Etherboot 5.4). 284 bytes of this saving comes from the pci/pciextra split. Cosmetic changes to lots of drivers (e.g. vendor_id->vendor in order to match the names used in Linux).
* Tear out old heap code, replace with code that simply allocates memoryMichael Brown2006-05-163-209/+19Star
| | | | | | | | | for use by malloc(). This breaks the image-loading code (which previously used the heap to allocate the buffer for downloading the image), but that's not a major concern since I'm going to tear out all the image formats within the next couple of days anyway. Byebye, NBI! :)
* Fix typoMichael Brown2006-05-161-1/+1
|
* Added generic device model.Michael Brown2006-05-161-0/+97
|
* fixed build error (danjlynch, repeat: this is *not* perl, this is *not* perl...)Dan Lynch2006-05-151-2/+4
|
* lightweight xcurses implementation for etherboot (Michael made me do it...)Dan Lynch2006-05-151-0/+298
|
* Handle the '"%c", 0' case correctly.Michael Brown2006-05-141-1/+1
|
* Correctly handle zero-length buffers.Michael Brown2006-05-141-10/+9Star
|
* Updated documentation.Michael Brown2006-05-141-45/+103
| | | | | | | | Shaved around 100 bytes off vsprintf.o. It's now 50 bytes smaller than the old implementation and provides much more conformant semantics, including the ability to return the number of characters that would have been printed to the string had the buffer been big enough. (iSCSI needs this functionality).
* Rewrote printf and friends to better support standard C semantics.Michael Brown2006-05-141-165/+274
|
* At least cope with "%llx" by reading the correct-sized va_arg from theMichael Brown2006-05-131-7/+16
| | | | | | | | | | stack, even if we don't yet print it out. At some point, vsprintf() needs to be fixed up so that it can correctly cope with limited-sized buffers (i.e. vsnprintf), long longs, and standard format specifiers (e.g. "%04x"). We should also remove the special types (MAC addresses and IP addresses). This would then enable us to use gcc's ability to type-check printf format strings.
* BSS is now zeroed by libprefix (along with the otherwise non-zeroableMichael Brown2006-05-021-15/+3Star
| | | | | | | portions such as the stack) during the installation process. init_fns() are called from main(). We need to think about initial control flow some more.
* Add a temporary snprintf, so that safely-written code can at leastMichael Brown2006-04-301-0/+11
| | | | compile, even if it won't yet be safe.
* Fix up prototype of strtoul() to match POSIX.Michael Brown2006-04-301-1/+1
|
* Move init.h to gpxe/init.h.Michael Brown2006-04-306-6/+6
|
* Added basic code for implementing co-operative multitasking.Michael Brown2006-04-291-0/+56
| | | | Yes, you really can do it in 65 bytes.
* Add an explicit failure debug messageMichael Brown2006-04-281-0/+2
|
* Glenn managed to shrink .text by 5 more bytes.Michael Brown2006-04-251-3/+6
|
* Fixed erroneous comparisonMichael Brown2006-04-251-1/+1
|
* Removed incorrect comment; malloc() is inefficient only when theMichael Brown2006-04-251-5/+0Star
| | | | | alignment and size are both powers of two, and there's no way to specify an alignment through the malloc() interface anyway.
* Now passes trivial tests. free_memblock() needs neatening up.Michael Brown2006-04-251-15/+34
|
* Updated memory allocator to improve support for unaligned or partiallyMichael Brown2006-04-251-118/+158
| | | | | | | | | aligned blocks. Moved header to include/malloc.h, since we now also provide the POSIX-like malloc()/free() pair. Not yet tested.
* gcc is rather over-aggressive about optimising out static data structuresMichael Brown2006-04-243-4/+4
| | | | even when __atribute__ (( unused )) is correctly set...
* Header rearrangement.Michael Brown2006-04-242-5/+6
| | | | | | | | | I want to get to the point where any header in include/ reflects a standard user-level header (e.g. a POSIX header), while everything that's specific to gPXE lives in include/gpxe/. Headers that reflect a Linux header (e.g. if_ether.h) should also be in include/gpxe/, with the same name as the Linux header and, preferably, the same names used for the definitions.
* First draft of a dynamic memory allocatorMichael Brown2006-04-241-0/+209
|
* Update now that if_ether.h has moved.Michael Brown2006-04-191-1/+1
|
* Moved if_ether.h and if_arp.h to include/gpxe, for consistency with LinuxMichael Brown2006-04-191-5/+17
| | | | | | | | kernel. Removed obsolete struct arprequest from if_arp.h and put it in nic.c so that nic.c will still compile. ARP will very shortly be handled by net/arp.c instead.
* Assertions are now handled via the POSIX-like <assert.h>.Michael Brown2006-03-232-7/+9
|
* Merge from Etherboot 5.4Michael Brown2006-03-161-2/+4
|\
* | Merge from Etherboot 5.4Michael Brown2006-03-163-14/+58
|\|