REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the NetworkPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
		
			
				
	
	
		
			34 lines
		
	
	
		
			757 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			757 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /** @file
 | |
|   Some extra definitions for iBFT.
 | |
| 
 | |
| Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
 | |
| SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| 
 | |
| **/
 | |
| 
 | |
| #ifndef _ISCSI_IBFT_H_
 | |
| #define _ISCSI_IBFT_H_
 | |
| 
 | |
| #include <IndustryStandard/Acpi.h>
 | |
| #include <IndustryStandard/IScsiBootFirmwareTable.h>
 | |
| #include <Protocol/AcpiTable.h>
 | |
| #include <Protocol/PciIo.h>
 | |
| 
 | |
| #define IBFT_TABLE_VAR_NAME  L"iBFT"
 | |
| #define IBFT_MAX_SIZE        4096
 | |
| #define IBFT_HEAP_OFFSET     2048
 | |
| 
 | |
| #define IBFT_ROUNDUP(size)  NET_ROUNDUP ((size), EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_STRUCTURE_ALIGNMENT)
 | |
| 
 | |
| /**
 | |
|   Publish and remove the iSCSI Boot Firmware Table according to the iSCSI
 | |
|   session status.
 | |
| 
 | |
| **/
 | |
| VOID
 | |
| IScsiPublishIbft (
 | |
|   IN VOID
 | |
|   );
 | |
| 
 | |
| #endif
 |