"Fossies" - the Fresh Open Source Software Archive

Member "syslinux-6.03/gpxe/src/arch/i386/include/gpxe/abft.h" (6 Oct 2014, 644 Bytes) of package /linux/misc/syslinux-6.03.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    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 */