[contrib] Allow Network Protocol header to display in rom-o-matic
[gpxe.git] / src / arch / i386 / include / gpxe / abft.h
blob9065e61ace31f68668105f744089f8d4f6a6288a
1 #ifndef _GPXE_ABFT_H
2 #define _GPXE_ABFT_H
4 /** @file
6 * AoE boot firmware table
8 */
10 FILE_LICENCE ( GPL2_OR_LATER );
12 #include <stdint.h>
13 #include <gpxe/acpi.h>
14 #include <gpxe/if_ether.h>
16 /** AoE boot firmware table signature */
17 #define ABFT_SIG "aBFT"
19 /**
20 * AoE Boot Firmware Table (aBFT)
22 struct abft_table {
23 /** ACPI header */
24 struct acpi_description_header acpi;
25 /** AoE shelf */
26 uint16_t shelf;
27 /** AoE slot */
28 uint8_t slot;
29 /** Reserved */
30 uint8_t reserved_a;
31 /** MAC address */
32 uint8_t mac[ETH_ALEN];
33 } __attribute__ (( packed ));
35 extern void abft_fill_data ( struct aoe_session *aoe );
37 #endif /* _GPXE_ABFT_H */