summaryrefslogtreecommitdiffstats
path: root/src/usr
Commit message (Collapse)AuthorAgeFilesLines
* Update TFTP and FTP to take the same temporary URI scheme as HTTPMichael Brown2007-01-151-9/+12
|
* Protocol's get() method no longer takes ownership of the URI. HTTP is theMichael Brown2007-01-151-2/+1Star
| | | | | exception rather than the rule; we may as well keep things clean for other protocols.
* Gave asynchronous operations approximate POSIX signal semantics. ThisMichael Brown2007-01-152-29/+46
| | | | | | | | | | | will enable us to cascade async operations, which is necessary in order to properly support DNS. (For example, an HTTP request may have to redirect to a new location and will have to perform a new DNS lookup, so we can't just rely on doing the name lookup at the time of parsing the initial URL). Anything other than HTTP is probably broken right now; I'll fix the others up asap.
* Add HTTP test supportMichael Brown2007-01-121-3/+22
|
* Use dhcp(), imgfetch() etc. to boot rather than dhcp_test().Michael Brown2007-01-121-5/+35
|
* Add "dhcp" commandMichael Brown2007-01-121-0/+4
|
* Let ifmgmt.c take care of calling efree(), since it's the once whichMichael Brown2007-01-121-3/+13
| | | | | | | took out the contract to eventually call efree() when it called fetch(). Maintain the most recently loaded image at the start of the list, so that imgautoselect() will pick it.
* Added dhcp() user-level command.Michael Brown2007-01-121-0/+83
|
* fetch() now knows nothing about struct image; it simply loads a file andMichael Brown2007-01-122-9/+13
| | | | returns the allocated buffer.
* Allow "imgexec" with no arguments to boot the file that was loaded withMichael Brown2007-01-121-0/+16
| | | | "kernel".
* Cleaner separation between imgXXX() functions and image_cmd.cMichael Brown2007-01-122-9/+75
|
* Add basic "fetch" and "imgstat" commands.Michael Brown2007-01-122-0/+130
|
* Warn when net device on an active route is not open.Michael Brown2007-01-101-0/+2
|
* Add route() function to display routing table.Michael Brown2007-01-102-0/+44
|
* Try booting from the "boot" network device first (i.e. the one which weMichael Brown2007-01-101-7/+80
| | | | | were loaded from). The code to identify this device isn't present yet, but the code to act upon the knowledge is.
* Add "name" field to struct device to allow human-readable hardware deviceMichael Brown2007-01-101-2/+3
| | | | | | | | | | | 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).
* Move header file for usr/autoboot.c to include/usrMichael Brown2007-01-101-1/+3
|
* Added network interface management commandsMichael Brown2007-01-102-13/+75
|
* Add "name" field to network device, to facilitate netdev commands.Michael Brown2007-01-101-1/+1
|
* Make open() and close() an official part of the netdevice API.Michael Brown2007-01-041-3/+15
| | | | Call netdevice's poll() and transmit() methods only when device is open.
* Split the (quick hack) boot logic out from main.c to autoboot.c, add aMichael Brown2006-12-201-0/+40
"boot" command to attempt booting from within the command shell, fall back to shell if boot fails for any reason.