#include <realmode.h>
#include <gpxe/aoe.h>
#include <gpxe/netdevice.h>
#include <gpxe/abft.h>
Go to the source code of this file.
Defines | |
| #define | abftab __use_data16 ( abftab ) |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| struct abft_table | __data16 (abftab) |
| The aBFT used by gPXE. | |
| void | abft_fill_data (struct aoe_session *aoe) |
| Fill in all variable portions of aBFT. | |
Definition in file abft.c.
| #define abftab __use_data16 ( abftab ) |
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
| struct abft_table __data16 | ( | abftab | ) | [read] |
The aBFT used by gPXE.
| void abft_fill_data | ( | struct aoe_session * | aoe | ) |
Fill in all variable portions of aBFT.
| aoe | AoE session |
Definition at line 50 of file abft.c.
References abftab, acpi_fix_checksum(), DBG, DBG_HD, net_device::ll_addr, aoe_session::major, memcpy, aoe_session::minor, and aoe_session::netdev.
Referenced by aoeboot().
00050 { 00051 00052 /* Fill in boot parameters */ 00053 abftab.shelf = aoe->major; 00054 abftab.slot = aoe->minor; 00055 memcpy ( abftab.mac, aoe->netdev->ll_addr, sizeof ( abftab.mac ) ); 00056 00057 /* Update checksum */ 00058 acpi_fix_checksum ( &abftab.acpi ); 00059 00060 DBG ( "AoE boot firmware table:\n" ); 00061 DBG_HD ( &abftab, sizeof ( abftab ) ); 00062 }
1.5.7.1