Michael Brown
2876197306
Allow "imgexec" with no arguments to boot the file that was loaded with
"kernel".
před 18 roky
Michael Brown
f135a37f30
Cleaner separation between imgXXX() functions and image_cmd.c
před 18 roky
Michael Brown
9817f93094
Add basic "fetch" and "imgstat" commands.
před 18 roky
Michael Brown
de042993c0
Warn when net device on an active route is not open.
před 18 roky
Michael Brown
d9ba8f790b
Add route() function to display routing table.
před 18 roky
Michael Brown
78ded6604a
Try booting from the "boot" network device first (i.e. the one which we
were loaded from). The code to identify this device isn't present yet,
but the code to act upon the knowledge is.
před 18 roky
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).
před 18 roky
Michael Brown
55e590ab3a
Move header file for usr/autoboot.c to include/usr
před 18 roky
Michael Brown
d24b80acf2
Added network interface management commands
před 18 roky
Michael Brown
98b6154c3e
Add "name" field to network device, to facilitate netdev commands.
před 18 roky
Michael Brown
0c03bb5a9a
Make open() and close() an official part of the netdevice API.
Call netdevice's poll() and transmit() methods only when device is open.
před 18 roky
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.
před 18 roky