Michael Brown
0d568ac219
Make has_key() a static inline, rather than omitting it altogether.
il y a 17 ans
Michael Brown
3e816c3d56
Revert "make bool m_echo static" - I suspect this to be defined by spec
This reverts commit 3cb133d27d .
il y a 17 ans
Holger Lubitz
3cb133d27d
make bool m_echo static
il y a 17 ans
Holger Lubitz
ac1e0aa63e
remove has_key by #if 0'ing out
il y a 17 ans
Holger Lubitz
0e0843a872
make _wgetc static
il y a 17 ans
Holger Lubitz
9280f2649a
make struct _softlabelkeys *slks static
il y a 17 ans
Holger Lubitz
97aade0d1f
make imgfill_cmdline static
il y a 17 ans
Michael Brown
9aa61ad5a2
Add per-file error identifiers
il y a 17 ans
Marty Connor
c77704cb60
Warnings purge: src/{crypto,hci,net}
il y a 17 ans
Michael Brown
e4c9c91d6e
Removed debugging statements that should not have been checked in.
il y a 17 ans
Michael Brown
4b08f4cf0f
Quick hack to get image booting working again
il y a 17 ans
Michael Brown
070c55a838
Added EPIPE description.
il y a 17 ans
Michael Brown
160e66dbb9
Typo
il y a 18 ans
Michael Brown
cde6d776e3
Handle structured error codes.
il y a 18 ans
Michael Brown
f4c1e564a1
vsprintf.h is gPXE-specific; move it to include/gpxe
il y a 18 ans
Michael Brown
73b09ecba6
Use stdio.h instead of vsprintf.h
il y a 18 ans
Michael Brown
5ff23aa406
Include stdlib.h rather than malloc.h
il y a 18 ans
Michael Brown
90d859c34b
Add ETIMEDOUT
il y a 18 ans
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.
il y a 18 ans
Michael Brown
8edf8f6fa8
Add the "initrd" command
il y a 18 ans
Michael Brown
c088ecf042
Make "boot" a synonym for "imgexec", to match grub
il y a 18 ans
Michael Brown
beb941ed81
Rename "boot" to "autoboot"
il y a 18 ans
Michael Brown
63386f4455
Added ENOENT, since HTTP 404 translates to it
il y a 18 ans
Michael Brown
9952df9b52
Add "dhcp" command
il y a 18 ans
Michael Brown
83559c668a
Don't print "<NULL>" when we use imgautoselect().
il y a 18 ans
Michael Brown
2876197306
Allow "imgexec" with no arguments to boot the file that was loaded with
"kernel".
il y a 18 ans
Michael Brown
f135a37f30
Cleaner separation between imgXXX() functions and image_cmd.c
il y a 18 ans
Michael Brown
9817f93094
Add basic "fetch" and "imgstat" commands.
il y a 18 ans
Michael Brown
8b6eaf3c82
Be silent if there are no network interfaces
il y a 18 ans
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.
il y a 18 ans
Michael Brown
d45c5e7ce7
Add "route" command (which currently only displays the routing table; it
can't modify it).
il y a 18 ans
Michael Brown
f396f1f9d3
Force ordering of commands within help list.
il y a 18 ans
Michael Brown
cef551376f
Force ordering of commands in help list.
il y a 18 ans
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).
il y a 18 ans
Michael Brown
55e590ab3a
Move header file for usr/autoboot.c to include/usr
il y a 18 ans
Michael Brown
d24b80acf2
Added network interface management commands
il y a 18 ans
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.
il y a 18 ans
Michael Brown
d0a3cc3417
Avoid creating implicit memcpy()s
il y a 18 ans
Michael Brown
286db6ffa3
Print explicit error message on iSCSI boot failure, and add
"Permission denied" as an error text to strerror().
il y a 18 ans
Michael Brown
f33a03c1e5
Use getkey() and symbolic key names.
il y a 18 ans
Michael Brown
4b2b8b02ab
Use symbolic key names, and avoid moving beyond end of string
il y a 18 ans
Michael Brown
c5df1bc7df
Use getkey() and symbolic key names.
il y a 18 ans
Michael Brown
b9f8599537
Define KEY_MIN and use it in kb.c.
il y a 18 ans
Michael Brown
cbeec25662
settings_ui() now returns a status code.
il y a 18 ans
Michael Brown
07ddaedd33
Add EIO.
Kill errortab array; it can screw up alignment.
il y a 18 ans
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.
il y a 18 ans
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).
il y a 18 ans
Michael Brown
8f9336e0c1
Add "config" command to access config UI
il y a 18 ans
Michael Brown
666b309c0c
Add instruction row, and save option
il y a 18 ans
Michael Brown
75430e813e
Only need printf(), so use vsprintf.h instead of console.h
il y a 18 ans