Michael Brown
84202d89f0
Split the (quick hack) boot logic out from main.c to autoboot.c, add a
"boot" command to attempt booting from within the command shell, fall back
to shell if boot fails for any reason.
19 년 전
Michael Brown
f8910410fe
Add attr_{get,set,on,off} as static inlines.
19 년 전
Michael Brown
8f9336e0c1
Add "config" command to access config UI
19 년 전
Michael Brown
b93ff48173
Added descriptive text for settings and setting types, and display it in
the option config UI.
19 년 전
Michael Brown
35edecac34
Move {show,set,clear}_setting() to {show,set,clear}_named_setting().
Introduce new {show,set,clear}_setting() that take a struct setting *
rather than a const char *.
set_setting() handles calling clear_setting() when appropriate, so that
individual setting types don't have to check for empty strings.
19 년 전
Michael Brown
4b33c03942
Increase colour pair limit
19 년 전
Michael Brown
84a2b886e1
Split error-message table portions of errno.h out to gpxe/errortab.h
19 년 전
Michael Brown
e5f0898f38
Move strerror() prototype to string.h, where it belongs
19 년 전
Michael Brown
04da3556f9
Differentiate between ENOSPC and ENOMEM
19 년 전
Michael Brown
637a891264
Fix prototype of sleep() and move it to unistd.h
19 년 전
Michael Brown
3e0f7621eb
Don't automatically redraw the edit box; this allows better inheritance.
19 년 전
Michael Brown
35dcbfe771
Editable text box widget based on mucurses and edit_string.
19 년 전
Michael Brown
4919646fb9
Separated out (and tidied up) shell banner code
19 년 전
Michael Brown
a2c5744daf
Minimal shell implementation using readline() and system().
19 년 전
Michael Brown
66007fa448
Provide an edit history to allow caller to efficiently update display.
19 년 전
Michael Brown
b3c535e550
Skeletal (non-echoing) version of readline()
19 년 전
Michael Brown
1bc3514bd8
Start of generic editable string support
19 년 전
Michael Brown
70d20c4e7a
Use common symbols to avoid dragging in getopt.o unless a getopt-using
command is linked in.
19 년 전
Michael Brown
e85bf52446
Avoid cursor move on every single character
19 년 전
Michael Brown
edbdce6e3d
Now basically functioning on ANSI-supporting consoles.
19 년 전
Michael Brown
688eb60df4
Use int rather than short for bool; it will give more efficient code.
19 년 전
Michael Brown
2ed2b2efe8
Use iskey() and getchar() to interact with console, rather than object
abstraction.
19 년 전
Michael Brown
8b3a4c9862
Add basic ANSI escape sequence support to BIOS console
19 년 전
Michael Brown
1cd45decc4
Added support for interpreting ANSI escape sequences on behalf of
non-ANSI-capable consoles.
19 년 전
Michael Brown
a39b111684
Automatically select between the "10" and "16" variants of command set,
based on the device size.
19 년 전
Michael Brown
007ca97f25
Added clear_setting()
19 년 전
Michael Brown
72b1629cee
Add placeholder ibft.h
19 년 전
Michael Brown
c343a3a8ee
Including the final (char *)NULL is the responsibility of the caller
of execl().
19 년 전
Michael Brown
7de5d32ff5
cmdlinelib.c now calls system() rather than doing its own tokenisation
(which was extremely heavy on calls to malloc()).
Moved include/command.h to include/gpxe/command.h, since it's
gPXE-specific.
19 년 전
Michael Brown
f3d817d512
Added execv() and system().
19 년 전
Michael Brown
e106a39ce8
Added missing include of stdint.h
19 년 전
Michael Brown
496563071d
Added strdup()
19 년 전
Michael Brown
1e4a838f55
Added missing prototype
19 년 전
Michael Brown
be0cd1cddd
Added a functional version of getopt() and getopt_long(), ready for use
in our commands.
19 년 전
Michael Brown
d2bf7abe75
Added write support for three-wire devices (e.g. the RTL8139 EEPROM)
19 년 전
Michael Brown
89bcb57201
Update ftp.c to work with Nikhil's TCP stack.
Remove the now-totally-obsolete sockaddr_in field from tcp.h.
19 년 전
Michael Brown
6a91a03409
Added options listed in
http://www.microsoft.com/whdc/winlogo/hwrequirements.mspx as required
for iSCSI boot. Note that options 204-206 are listed in the document
but don't seem to be defined anywhere on the web.
19 년 전
Michael Brown
d041d74054
Tied NVO commands into the human-interactable settings code that I
completely forgot I'd written ages ago.
19 년 전
Michael Brown
6842dd3222
Handle TargetAddress
19 년 전
Michael Brown
67577556a2
Handle strings as complete units, instead of a byte at a time.
19 년 전
Michael Brown
3a7d762c1c
Add iscsi_rx_buffered_data() and supporting infrastructure.
19 년 전
Michael Brown
d9f32726b4
Added quick and dirty commands for testing the new NVO code.
19 년 전
Michael Brown
ab4e1dba3f
Added nvo_save()
19 년 전
Michael Brown
cc9bcb99a0
Add the concept of a fragment list for non-volatile stored options.
19 년 전
Michael Brown
d62c83a350
Migrated etherfabric driver to using generic SPI layer.
19 년 전
Michael Brown
2d8d21fe74
Added the generic block-splitting code to nvs.c
19 년 전
Michael Brown
1961ba44e1
Added generic SPI protocol handler with read and write support.
19 년 전
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.
19 년 전
Michael Brown
dc06c895fc
Changed length parameter in SPI methods to be a byte length, rather than
a word length.
19 년 전
Michael Brown
931f94dca3
Generalised the SPI abstraction layer to also be able to handle interfaces
that don't provide the full flexibility of a bit-bashing interface.
Temporarily hacked rtl8139.c to use the new interface.
19 년 전