Michael Brown
4b08f4cf0f
Quick hack to get image booting working again
17 年之前
Michael Brown
160e66dbb9
Typo
17 年之前
Michael Brown
73b09ecba6
Use stdio.h instead of vsprintf.h
18 年之前
Michael Brown
49fc8dcdc3
Use dhcp(), imgfetch() etc. to boot rather than dhcp_test().
18 年之前
Michael Brown
d9ba8f790b
Add route() function to display routing table.
18 年之前
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.
18 年之前
Michael Brown
55e590ab3a
Move header file for usr/autoboot.c to include/usr
18 年之前
Michael Brown
d24b80acf2
Added network interface management commands
18 年之前
Michael Brown
98b6154c3e
Add "name" field to network device, to facilitate netdev commands.
18 年之前
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.
18 年之前
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.
18 年之前
Michael Brown
22511400c7
Added generic function for calculating ACPI table checksum
18 年之前
Michael Brown
6b6096d28b
Strip down i386 PCI configuration space I/O to the bare minimum. A
typical build will now include 880 bytes of PCI support code, compared to
2327 bytes in Etherboot 5.4.
(There is a slight cost of around 5 extra bytes per access to a
non-constant config space address; this should be an overall win.
Driver-specific accesses will usually be to constant addresses, for
which there is no additional cost.)
18 年之前
Michael Brown
f25731d08f
Split "iSCSI as a SCSI device" out from "iSCSI as a TCP protocol".
18 年之前
Michael Brown
23c494d14e
Added basic code for implementing co-operative multitasking.
Yes, you really can do it in 65 bytes.
18 年之前