You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

abft.h 644B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef _IPXE_ABFT_H
  2. #define _IPXE_ABFT_H
  3. /** @file
  4. *
  5. * AoE boot firmware table
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER );
  9. #include <stdint.h>
  10. #include <ipxe/acpi.h>
  11. #include <ipxe/if_ether.h>
  12. /** AoE boot firmware table signature */
  13. #define ABFT_SIG "aBFT"
  14. /**
  15. * AoE Boot Firmware Table (aBFT)
  16. */
  17. struct abft_table {
  18. /** ACPI header */
  19. struct acpi_description_header acpi;
  20. /** AoE shelf */
  21. uint16_t shelf;
  22. /** AoE slot */
  23. uint8_t slot;
  24. /** Reserved */
  25. uint8_t reserved_a;
  26. /** MAC address */
  27. uint8_t mac[ETH_ALEN];
  28. } __attribute__ (( packed ));
  29. extern void abft_fill_data ( struct aoe_session *aoe );
  30. #endif /* _IPXE_ABFT_H */