opengnsys_ipxe/src
Michael Brown 220495f8bf [block] Replace gPXE block-device API with an iPXE asynchronous interface
The block device interface used in gPXE predates the invention of even
the old gPXE data-transfer interface, let alone the current iPXE
generic asynchronous interface mechanism.  Bring this old code up to
date, with the following benefits:

 o  Block device commands can be cancelled by the requestor.  The INT 13
    layer uses this to provide a global timeout on all INT 13 calls,
    with the result that an unexpected passive failure mode (such as
    an iSCSI target ACKing the request but never sending a response)
    will lead to a timeout that gets reported back to the INT 13 user,
    rather than simply freezing the system.

 o  INT 13,00 (reset drive) is now able to reset the underlying block
    device.  INT 13 users, such as DOS, that use INT 13,00 as a method
    for error recovery now have a chance of recovering.

 o  All block device commands are tagged, with a numerical tag that
    will show up in debugging output and in packet captures; this will
    allow easier interpretation of bug reports that include both
    sources of information.

 o  The extremely ugly hacks used to generate the boot firmware tables
    have been eradicated and replaced with a generic acpi_describe()
    method (exploiting the ability of iPXE interfaces to pass through
    methods to an underlying interface).  The ACPI tables are now
    built in a shared data block within .bss16, rather than each
    requiring dedicated space in .data16.

 o  The architecture-independent concept of a SAN device has been
    exposed to the iPXE core through the sanboot API, which provides
    calls to hook, unhook, boot, and describe SAN devices.  This
    allows for much more flexible usage patterns (such as hooking an
    empty SAN device and then running an OS installer via TFTP).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-09-14 20:37:15 +01:00
..
arch [block] Replace gPXE block-device API with an iPXE asynchronous interface 2010-09-14 20:37:15 +01:00
bin Rename .cvsignore files to .gitignore 2007-06-09 22:57:00 +01:00
config [block] Replace gPXE block-device API with an iPXE asynchronous interface 2010-09-14 20:37:15 +01:00
core [block] Replace gPXE block-device API with an iPXE asynchronous interface 2010-09-14 20:37:15 +01:00
crypto [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
doc [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
drivers [block] Replace gPXE block-device API with an iPXE asynchronous interface 2010-09-14 20:37:15 +01:00
hci [linux] Add command line arguments 2010-08-19 12:45:41 +01:00
image [ioapi] Move get_memmap() to the I/O API group 2010-08-16 16:54:03 +01:00
include [block] Replace gPXE block-device API with an iPXE asynchronous interface 2010-09-14 20:37:15 +01:00
interface [linux] Add empty smbios 2010-08-19 12:38:34 +01:00
libgcc [build] Mark __intel_new_proc_init with __libgcc rather than cdecl 2009-08-03 15:56:10 +01:00
net [block] Replace gPXE block-device API with an iPXE asynchronous interface 2010-09-14 20:37:15 +01:00
tests [ioapi] Move get_memmap() to the I/O API group 2010-08-16 16:54:03 +01:00
usr [block] Replace gPXE block-device API with an iPXE asynchronous interface 2010-09-14 20:37:15 +01:00
util [efi] Fix the 32-bit version of elf2efi64 2010-07-21 12:41:41 +01:00
.gitignore [build] Add support for local configuration files 2010-03-26 19:07:22 +00:00
Makefile [build] Add tap.linux to "make everything" 2010-08-19 13:26:00 +01:00
Makefile.housekeeping [build] Provide %.fd0 build targets only for pcbios 2010-08-17 14:36:39 +01:00
doxygen.cfg [build] Remove PACKED macro 2010-05-29 23:49:47 +01:00