Michael Brown
84a2b886e1
Split error-message table portions of errno.h out to gpxe/errortab.h
il y a 17 ans
Michael Brown
4f506328ad
Use -ENOSPC rather than -ENOMEM, to distinguish the cases "generic out of
memory" and "no space left for DHCP options"
il y a 17 ans
Michael Brown
637a891264
Fix prototype of sleep() and move it to unistd.h
il y a 17 ans
Michael Brown
ec5789bf0c
Select required commands via config.h
il y a 17 ans
Michael Brown
38ad706b08
Use new minimal shell
il y a 17 ans
Michael Brown
19e1d674d3
Catch attempts to print NULL strings
il y a 17 ans
Michael Brown
70d20c4e7a
Use common symbols to avoid dragging in getopt.o unless a getopt-using
command is linked in.
il y a 17 ans
Michael Brown
1cd45decc4
Added support for interpreting ANSI escape sequences on behalf of
non-ANSI-capable consoles.
il y a 17 ans
Michael Brown
007ca97f25
Added clear_setting()
il y a 17 ans
Michael Brown
0a26cd2933
Cope with system("").
il y a 17 ans
Michael Brown
69b9048e1a
Added "priority" and "root-path" options
il y a 17 ans
Michael Brown
a77b32aaf6
D'oh d'oh d'oh d'oh d'oh d'oh d'oh d'oh d'oh
il y a 17 ans
Michael Brown
f3d817d512
Added execv() and system().
il y a 17 ans
Michael Brown
496563071d
Added strdup()
il y a 17 ans
Michael Brown
be0cd1cddd
Added a functional version of getopt() and getopt_long(), ready for use
in our commands.
il y a 17 ans
Michael Brown
2863d1a1de
inet_aton() has a non-traditional return value
il y a 17 ans
Michael Brown
d041d74054
Tied NVO commands into the human-interactable settings code that I
completely forgot I'd written ages ago.
il y a 17 ans
Michael Brown
16b81e442f
Added more debug messages
il y a 17 ans
Michael Brown
d9f32726b4
Added quick and dirty commands for testing the new NVO code.
il y a 17 ans
Michael Brown
ab4e1dba3f
Added nvo_save()
il y a 17 ans
Michael Brown
cc9bcb99a0
Add the concept of a fragment list for non-volatile stored options.
il y a 17 ans
Michael Brown
946967f09c
Abstracted out part of the concept of an SPI device to a generalised NVS
device.
Separated the mechanisms of non-volatile storage access and non-volatile
stored options.
il y a 17 ans
Michael Brown
4cd56820ea
Basic non-volatile storage support
il y a 17 ans
Michael Brown
c4677c7e73
Implemented realloc(), and changed the semantics of malloc(0) to allow
for realloc(0) being a valid way to free memory.
il y a 17 ans
Michael Brown
6a18721ce8
Fixed off-by-one error
il y a 17 ans
Michael Brown
ea97fe42dd
Note to self: do not write code late at night
il y a 17 ans
Michael Brown
5753f2c58b
May as well add octal support to strtoul()
il y a 17 ans
Michael Brown
bbfb2e02fd
Fixed endp bug in strtoul()
il y a 17 ans
Michael Brown
65ff5357f1
Extend strtoul() to cope with hex as well as decimal. Doesn't cope
with octal yet, but we can probably live without that.
il y a 17 ans
Michael Brown
88e38fa148
We don't actually have a stdio.h header file. Our printf() functions are
defined in vsprintf.h. (This may change, since vsprintf.h is a
non-standard name, but for now it's the one to use.)
There should be no need to include vsprintf.h just for DBG() statements,
since include/compiler.h forces it in for a debug build anyway.
il y a 18 ans
Marty Connor
6ac78f6aff
added stdio.h to includes for DBG compilation
il y a 18 ans
Marty Connor
1da4faa896
include stdio.h to suppress printf warning, general warnings fixups
il y a 18 ans
Michael Brown
1a944a894e
Killed
il y a 18 ans
Michael Brown
2f60aa42e7
Killed
il y a 18 ans
Marty Connor
be0b19a690
commented out contents of core/nic.c, which should now be obsolete.
il y a 18 ans
Michael Brown
69d2261016
Check that serial port init actually happens
il y a 18 ans
Michael Brown
66dcd22f61
Added debug to catch initialisation failures
il y a 18 ans
Michael Brown
c399e88aa3
Hopefully fix gcc3 build issue
il y a 18 ans
Michael Brown
22511400c7
Added generic function for calculating ACPI table checksum
il y a 18 ans
Michael Brown
27ba2d7527
Take out unused cleanup() function so that we can remove the link
dependency on dev.o.
il y a 18 ans
Michael Brown
dbf3482ef5
Removed obsolete print_config()
il y a 18 ans
Michael Brown
97439cb6eb
Kill off poll_interruptions(); it is lethal when we're acting as a PXE
stack or INT 13 emulator etc.
il y a 18 ans
Michael Brown
3c35a0b16d
Added cmdl_show proof-of-concept
il y a 18 ans
Michael Brown
dd9399f527
Added "hostname" and "ip" as sample settings
il y a 18 ans
Michael Brown
fe774fe356
Added ipv4 configuration type
il y a 18 ans
Michael Brown
7029fb8eff
Add string configuration type
il y a 18 ans
Michael Brown
db46972349
Added basic infrastructure for manipulating settings.
il y a 18 ans
Michael Brown
0dd0a8366e
Removed obsolete line merged in with the cmdline stuff
il y a 18 ans
Michael Brown
56c995ff60
Aborted
il y a 18 ans
Marty Connor
41af7457a8
Merge of Fredrik Hultin command_line
il y a 18 ans