REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in PrmPkg. Cc: Andrew Fish <afish@apple.com> Cc: Kang Gao <kang.gao@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Benjamin You <benjamin.you@intel.com> Cc: Liu Yun <yun.y.liu@intel.com> Cc: Ankit Sinha <ankit.sinha@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Acked-by: Michael D Kinney <michael.d.kinney@intel.com> Acked-by: Liming Gao <gaoliming@byosoft.com.cn> Acked-by: Leif Lindholm <quic_llindhol@quicinc.com> Reviewed-by: Ankit Sinha <ankit.sinha@intel.com>
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/** @file
 | 
						|
 | 
						|
  Definitions for the Platform Runtime Mechanism (PRM) MMIO elements.
 | 
						|
 | 
						|
  Copyright (c) Microsoft Corporation
 | 
						|
  SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
 | 
						|
**/
 | 
						|
 | 
						|
#ifndef PRM_MMIO_H_
 | 
						|
#define PRM_MMIO_H_
 | 
						|
 | 
						|
#include <Uefi.h>
 | 
						|
 | 
						|
#pragma pack(push, 1)
 | 
						|
 | 
						|
///
 | 
						|
/// Describes a memory range that needs to be made accessible at OS runtime.
 | 
						|
///
 | 
						|
/// The memory range with the given base address and length will be marked as EFI_MEMORY_RUNTIME.
 | 
						|
///
 | 
						|
typedef struct {
 | 
						|
  EFI_PHYSICAL_ADDRESS    PhysicalBaseAddress;
 | 
						|
  EFI_PHYSICAL_ADDRESS    VirtualBaseAddress;
 | 
						|
  UINT32                  Length;
 | 
						|
} PRM_RUNTIME_MMIO_RANGE;
 | 
						|
 | 
						|
///
 | 
						|
/// Describes a buffer with an array of PRM module
 | 
						|
/// config runtime memory ranges.
 | 
						|
///
 | 
						|
typedef struct {
 | 
						|
  ///
 | 
						|
  /// The number of runtime memory range elements in this buffer.
 | 
						|
  ///
 | 
						|
  UINT64                    Count;
 | 
						|
  ///
 | 
						|
  /// The beginning of the runtime memory range data.
 | 
						|
  ///
 | 
						|
  PRM_RUNTIME_MMIO_RANGE    Range[1];
 | 
						|
} PRM_RUNTIME_MMIO_RANGES;
 | 
						|
 | 
						|
#pragma pack(pop)
 | 
						|
 | 
						|
#endif
 |