summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorMichael Brown2007-07-31 15:05:03 +0200
committerMichael Brown2007-07-31 15:05:03 +0200
commit291d69d7fd618d11fdcae010af319094cdf4d973 (patch)
tree2dc014e682363b61f897cf7aba2246f2183d4a3b /src/usr
parentFix endianness of "shelf" field (diff)
downloadipxe-291d69d7fd618d11fdcae010af319094cdf4d973.tar.gz
ipxe-291d69d7fd618d11fdcae010af319094cdf4d973.tar.xz
ipxe-291d69d7fd618d11fdcae010af319094cdf4d973.zip
Added support for draft version of the AoE Boot Firmware Table.
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/aoeboot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/aoeboot.c b/src/usr/aoeboot.c
index 1ed4ce49..ffc17a1c 100644
--- a/src/usr/aoeboot.c
+++ b/src/usr/aoeboot.c
@@ -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;