Lines Matching refs:Table
2 Implementation for iSCSI Boot Firmware Table publication.
21 Initialize the header of the iSCSI Boot Firmware Table.
23 @param[out] Header The header of the iSCSI Boot Firmware Table.
25 @param[in] OemTableId The OEM table ID for the iBFT.
46 Initialize the control section of the iSCSI Boot Firmware Table.
48 @param[in] Table The ACPI table.
53 IN EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_HEADER *Table
59 Control = (EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE *) (Table + 1);
120 Fill the Initiator section of the iSCSI Boot Firmware Table.
122 @param[in] Table The ACPI table.
128 IN EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_HEADER *Table,
135 Control = (EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE *) (Table + 1);
143 Control->InitiatorOffset = (UINT16) ((UINTN) Initiator - (UINTN) Table);
157 Initiator->IScsiNameOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
188 Fill the NIC and target sections in iSCSI Boot Firmware Table.
190 @param[in] Table The buffer of the ACPI table.
197 IN EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_HEADER *Table,
217 Control = (EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE *) (Table + 1);
218 Nic = (EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_NIC_STRUCTURE *) ((UINTN) Table +
342 *SectionOffset = (UINT16) ((UINTN) Nic - (UINTN) Table);
390 Target->IScsiNameOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
399 Target->CHAPNameOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
407 Target->CHAPSecretOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
416 Target->ReverseCHAPNameOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
424 Target->ReverseCHAPSecretOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
428 *SectionOffset = (UINT16) ((UINTN) Target - (UINTN) Table);
445 Publish and remove the iSCSI Boot Firmware Table according to the iSCSI
456 EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_HEADER *Table;
472 // Find ACPI table RSD_PTR from the system table.
511 // Allocate 4k bytes to hold the ACPI table.
513 Table = AllocateZeroPool (IBFT_MAX_SIZE);
514 if (Table == NULL) {
518 Heap = (UINT8 *) Table + IBFT_HEAP_OFFSET;
521 // Fill in the various section of the iSCSI Boot Firmware Table.
524 IScsiInitIbfTableHeader (Table, Xsdt->OemId, &Xsdt->OemTableId);
526 IScsiInitIbfTableHeader (Table, Rsdt->OemId, &Rsdt->OemTableId);
529 IScsiInitControlSection (Table);
530 IScsiFillInitiatorSection (Table, &Heap);
531 IScsiFillNICAndTargetSections (Table, &Heap);
533 Checksum = CalculateCheckSum8((UINT8 *)Table, Table->Length);
534 Table->Checksum = Checksum;
537 // Install or update the iBFT table.
541 Table,
542 Table->Length,
550 FreePool (Table);