Home | History | Annotate | Download | only in gpxe
      1 #ifndef _GPXE_ABFT_H
      2 #define _GPXE_ABFT_H
      3 
      4 /** @file
      5  *
      6  * AoE boot firmware table
      7  *
      8  */
      9 
     10 FILE_LICENCE ( GPL2_OR_LATER );
     11 
     12 #include <stdint.h>
     13 #include <gpxe/acpi.h>
     14 #include <gpxe/if_ether.h>
     15 
     16 /** AoE boot firmware table signature */
     17 #define ABFT_SIG "aBFT"
     18 
     19 /**
     20  * AoE Boot Firmware Table (aBFT)
     21  */
     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 ));
     34 
     35 extern void abft_fill_data ( struct aoe_session *aoe );
     36 
     37 #endif /* _GPXE_ABFT_H */
     38