abft.h

Go to the documentation of this file.
00001 #ifndef _GPXE_ABFT_H
00002 #define _GPXE_ABFT_H
00003 
00004 /** @file
00005  *
00006  * AoE boot firmware table
00007  *
00008  */
00009 
00010 FILE_LICENCE ( GPL2_OR_LATER );
00011 
00012 #include <stdint.h>
00013 #include <gpxe/acpi.h>
00014 #include <gpxe/if_ether.h>
00015 
00016 /** AoE boot firmware table signature */
00017 #define ABFT_SIG "aBFT"
00018 
00019 /**
00020  * AoE Boot Firmware Table (aBFT)
00021  */
00022 struct abft_table {
00023         /** ACPI header */
00024         struct acpi_description_header acpi;
00025         /** AoE shelf */
00026         uint16_t shelf;
00027         /** AoE slot */
00028         uint8_t slot;
00029         /** Reserved */
00030         uint8_t reserved_a;
00031         /** MAC address */
00032         uint8_t mac[ETH_ALEN];
00033 } __attribute__ (( packed ));
00034 
00035 extern void abft_fill_data ( struct aoe_session *aoe );
00036 
00037 #endif /* _GPXE_ABFT_H */

Generated on Tue Apr 6 20:00:50 2010 for gPXE by  doxygen 1.5.7.1