david/ipxe
Archived
1
0
Commit Graph

96 Commits

Author SHA1 Message Date
Michael Brown
070c55a838 Added EPIPE description. 2007-05-26 15:05:31 +00:00
Michael Brown
160e66dbb9 Typo 2007-03-20 18:55:00 +00:00
Michael Brown
cde6d776e3 Handle structured error codes. 2007-01-19 13:52:50 +00:00
Michael Brown
f4c1e564a1 vsprintf.h is gPXE-specific; move it to include/gpxe 2007-01-19 01:17:23 +00:00
Michael Brown
73b09ecba6 Use stdio.h instead of vsprintf.h 2007-01-19 01:13:12 +00:00
Michael Brown
5ff23aa406 Include stdlib.h rather than malloc.h 2007-01-18 20:06:03 +00:00
Michael Brown
90d859c34b Add ETIMEDOUT 2007-01-15 02:46:56 +00:00
Michael Brown
76aa9ad07d Make TCP give up immediately when it receives -ENETUNREACH from
tcpip_tx().  This avoids the irritating wait when you accidentally type
"kernel pxelinux.0" before bringing up the network interface.

Add ENETUNREACH to strerror()'s list.
2007-01-14 16:47:03 +00:00
Michael Brown
8edf8f6fa8 Add the "initrd" command 2007-01-14 16:09:48 +00:00
Michael Brown
c088ecf042 Make "boot" a synonym for "imgexec", to match grub 2007-01-14 00:08:13 +00:00
Michael Brown
beb941ed81 Rename "boot" to "autoboot" 2007-01-14 00:06:23 +00:00
Michael Brown
63386f4455 Added ENOENT, since HTTP 404 translates to it 2007-01-12 19:14:01 +00:00
Michael Brown
9952df9b52 Add "dhcp" command 2007-01-12 09:53:28 +00:00
Michael Brown
83559c668a Don't print "<NULL>" when we use imgautoselect(). 2007-01-12 08:59:25 +00:00
Michael Brown
2876197306 Allow "imgexec" with no arguments to boot the file that was loaded with
"kernel".
2007-01-12 07:32:46 +00:00
Michael Brown
f135a37f30 Cleaner separation between imgXXX() functions and image_cmd.c 2007-01-12 07:22:20 +00:00
Michael Brown
9817f93094 Add basic "fetch" and "imgstat" commands. 2007-01-12 06:05:27 +00:00
Michael Brown
8b6eaf3c82 Be silent if there are no network interfaces 2007-01-12 05:48:22 +00:00
Michael Brown
83fa318b86 Added strerror(0)=="No error", so that TCP protocols can use
strerror(rc) in their closed() methods without producing "Error
0x0000" when the connection is closed normally.
2007-01-11 04:01:31 +00:00
Michael Brown
d45c5e7ce7 Add "route" command (which currently only displays the routing table; it
can't modify it).
2007-01-10 20:51:14 +00:00
Michael Brown
f396f1f9d3 Force ordering of commands within help list. 2007-01-10 05:13:20 +00:00
Michael Brown
cef551376f Force ordering of commands in help list. 2007-01-10 05:10:30 +00:00
Michael Brown
dad5274522 Add "name" field to struct device to allow human-readable hardware device
names.

Add "dev" pointer in struct net_device to tie network interfaces back to a
hardware device.

Force natural alignment of data types in __table() macros.  This seems to
prevent gcc from taking the unilateral decision to occasionally increase
their alignment (which screws up the table packing).
2007-01-10 04:22:09 +00:00
Michael Brown
55e590ab3a Move header file for usr/autoboot.c to include/usr 2007-01-10 02:03:20 +00:00
Michael Brown
d24b80acf2 Added network interface management commands 2007-01-10 01:55:07 +00:00
Michael Brown
70cc3a164a Reset character attributes before start of welcome banner, in case
it's a serial console and remembers state from the previous program
run.
2007-01-09 04:51:27 +00:00
Michael Brown
d0a3cc3417 Avoid creating implicit memcpy()s 2007-01-05 14:48:20 +00:00
Michael Brown
286db6ffa3 Print explicit error message on iSCSI boot failure, and add
"Permission denied" as an error text to strerror().
2006-12-21 16:16:24 +00:00
Michael Brown
f33a03c1e5 Use getkey() and symbolic key names. 2006-12-20 22:25:54 +00:00
Michael Brown
4b2b8b02ab Use symbolic key names, and avoid moving beyond end of string 2006-12-20 22:21:09 +00:00
Michael Brown
c5df1bc7df Use getkey() and symbolic key names. 2006-12-20 22:12:53 +00:00
Michael Brown
b9f8599537 Define KEY_MIN and use it in kb.c. 2006-12-20 21:10:32 +00:00
Michael Brown
cbeec25662 settings_ui() now returns a status code. 2006-12-20 11:42:48 +00:00
Michael Brown
07ddaedd33 Add EIO.
Kill errortab array; it can screw up alignment.
2006-12-20 07:57:40 +00:00
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.
2006-12-20 07:04:08 +00:00
Michael Brown
9ab17484d0 Explicitly call erase(), to cope with platforms where the ANSI clear
screen sequence doesn't work (like bios_console.c on some platforms).
2006-12-20 06:12:04 +00:00
Michael Brown
8f9336e0c1 Add "config" command to access config UI 2006-12-20 05:37:33 +00:00
Michael Brown
666b309c0c Add instruction row, and save option 2006-12-20 05:37:15 +00:00
Michael Brown
75430e813e Only need printf(), so use vsprintf.h instead of console.h 2006-12-20 05:33:12 +00:00
Michael Brown
e4f489636f Clear message on alert row before printing new one 2006-12-20 05:03:55 +00:00
Michael Brown
b93ff48173 Added descriptive text for settings and setting types, and display it in
the option config UI.
2006-12-20 04:58:26 +00:00
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.
2006-12-20 04:20:13 +00:00
Michael Brown
fc7dcc201b Added messages for some of the most common errors 2006-12-20 03:54:20 +00:00
Michael Brown
7766e34ed1 Split strerror() out from errno.c 2006-12-20 03:49:36 +00:00
Michael Brown
65e97c4f22 Alert when saving settings fails 2006-12-20 03:43:24 +00:00
Michael Brown
c66b99272f Fix (hopefully) the scrolling logic 2006-12-20 03:41:55 +00:00
Michael Brown
1e322d4b4c Add (partly-functional) user interface for editing configuration settings 2006-12-20 03:04:07 +00:00
Michael Brown
3e0f7621eb Don't automatically redraw the edit box; this allows better inheritance. 2006-12-20 02:09:41 +00:00
Michael Brown
35dcbfe771 Editable text box widget based on mucurses and edit_string. 2006-12-20 01:40:57 +00:00
Michael Brown
82ec3fc5cc Reset screen on exit as well as entry 2006-12-20 01:30:40 +00:00