summaryrefslogtreecommitdiffstats
path: root/src/core/misc.c
Commit message (Collapse)AuthorAgeFilesLines
* [libc] Fix a validation bug in strtoul()Michael Brown2008-03-181-1/+1
| | | | | strtoul() was accepting the characters immediately above ASCII 0..9 as valid hex digits, due to a missing comparison.
* Modify gPXE core and drivers to work with the new timer subsystemAlexey Zaytsev2008-03-021-1/+1
| | | | Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
* Introduce the new timer subsystem.Alexey Zaytsev2008-03-021-12/+0Star
| | | | | | | | | | | | | | | | | | | | | | | | | Timer subsystem initialization code in core/timer.c Split the BIOS and RTDSC timer drivers from i386_timer.c Split arch/i386/firmware/pcbios/bios.c into the RTSDC timer driver and arch/i386/core/nap.c Split the headers properly: include/unistd.h - delay functions to be used by the gPXE core and drivers. include/gpxe/timer.h - the fimer subsystem interface to be used by the timer drivers and currticks() to be used by the code gPXE subsystems. include/latch.h - removed include/timer.h - scheduled for removal. Some driver are using currticks, which is only for core subsystems. Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
* Dead code removal.Michael Brown2007-07-141-70/+3Star
| | | | Kill off use of etherboot.h outside drivers/net.
* Warnings purge of src/coreMarty Connor2007-07-021-2/+3
|
* Split random number generation out into core/random.c, and create theMichael Brown2007-01-191-18/+0Star
| | | | correct prototypes for srandom(), rand() and srand().
* Make shutdown functions callable by OS image's exec methods.Michael Brown2007-01-141-26/+0Star
|
* Added isspace() and made strtoul() accept whitespace, as per POSIX.Michael Brown2007-01-121-0/+17
|
* Fix prototype of random() and move to stdlib.hMichael Brown2006-12-221-1/+2
|
* Fix prototype of sleep() and move it to unistd.hMichael Brown2006-12-201-2/+3
|
* Note to self: do not write code late at nightMichael Brown2006-11-151-5/+8
|
* May as well add octal support to strtoul()Michael Brown2006-11-151-5/+8
|
* Fixed endp bug in strtoul()Michael Brown2006-11-151-1/+2
|
* Extend strtoul() to cope with hex as well as decimal. Doesn't copeMichael Brown2006-11-151-9/+25
| | | | with octal yet, but we can probably live without that.
* Kill off poll_interruptions(); it is lethal when we're acting as a PXEMichael Brown2006-08-151-15/+0Star
| | | | stack or INT 13 emulator etc.
* Remove dependency on arptable[] (which is no longer used).Michael Brown2006-06-161-2/+1Star
|
* Split debug functions out into core/debug.c, so that they can beMichael Brown2006-05-171-91/+2Star
| | | | | | | | 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.
* Fix up prototype of strtoul() to match POSIX.Michael Brown2006-04-301-1/+1
|
* inet_aton doesn't overwrite the IP address unless it is valid.Michael Brown2005-04-301-5/+7
|
* Merged mcb30-realmode-redesign back to HEADMichael Brown2005-04-081-142/+1Star
|
* Initial revisionMichael Brown2005-03-081-0/+415