Added support for draft version of the AoE Boot Firmware Table.

This commit is contained in:
Michael Brown
2007-07-31 14:05:03 +01:00
parent dde3f99e4e
commit 291d69d7fd
3 changed files with 98 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
#include <gpxe/ata.h>
#include <gpxe/netdevice.h>
#include <gpxe/dhcp.h>
#include <gpxe/abft.h>
#include <int13.h>
#include <usr/aoeboot.h>
@@ -82,6 +83,8 @@ int aoeboot ( const char *root_path ) {
boot_info.slot = aoe->minor;
copy_to_real ( 0x40, 0xf0, &boot_info, sizeof ( boot_info ) );
abft_fill_data ( aoe );
drive.drive = find_global_dhcp_num_option ( DHCP_EB_BIOS_DRIVE );
drive.blockdev = &ata.blockdev;