]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/iScsi/IScsiIbft.h
b925b14782f28bd7ee16edf611c0a6ee44e371ef
[mirror_edk2.git] / MdeModulePkg / Universal / iScsi / IScsiIbft.h
1 /*++
2
3 Copyright (c) 2007 Intel Corporation. All rights reserved
4 This software and associated documentation (if any) is furnished
5 under a license and may only be used or copied in accordance
6 with the terms of the license. Except as permitted by such
7 license, no part of this software or documentation may be
8 reproduced, stored in a retrieval system, or transmitted in any
9 form or by any means without the express written consent of
10 Intel Corporation.
11
12 Module Name:
13
14 IScsiIbft.h
15
16 Abstract:
17
18 Some extra definitions for iBFT.
19
20 --*/
21
22 #ifndef _ISCSI_IBFT_H_
23 #define _ISCSI_IBFT_H_
24
25 #include <industrystandard/IScsiBootFirmwareTable.h>
26 #include <protocol/AcpiSupport.h>
27 #include <protocol/PciIo.h>
28
29 #define IBFT_TABLE_VAR_NAME L"iBFT"
30 #define IBFT_MAX_SIZE 4096
31 #define IBFT_HEAP_OFFSET 2048
32
33 #define IBFT_ROUNDUP(size) NET_ROUNDUP ((size), EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_STRUCTURE_ALIGNMENT)
34
35 VOID
36 IScsiPublishIbft (
37 IN VOID
38 );
39
40 #endif