VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/IScsiDxe/IScsiIbft.h@ 101283

Last change on this file since 101283 was 99404, checked in by vboxsync, 2 years ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 724 bytes
Line 
1/** @file
2 Some extra definitions for iBFT.
3
4Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
5SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#ifndef _ISCSI_IBFT_H_
10#define _ISCSI_IBFT_H_
11
12#include <IndustryStandard/Acpi.h>
13#include <IndustryStandard/IScsiBootFirmwareTable.h>
14#include <Protocol/AcpiTable.h>
15#include <Protocol/PciIo.h>
16
17#define IBFT_TABLE_VAR_NAME L"iBFT"
18#define IBFT_MAX_SIZE 4096
19#define IBFT_HEAP_OFFSET 2048
20
21#define IBFT_ROUNDUP(size) NET_ROUNDUP ((size), EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_STRUCTURE_ALIGNMENT)
22
23/**
24 Publish and remove the iSCSI Boot Firmware Table according to the iSCSI
25 session status.
26
27**/
28VOID
29IScsiPublishIbft (
30 IN VOID
31 );
32
33#endif
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette