This is the helper library for using EDKII_REDFISH_PLATFORM_CONFIG_PROTOCOL. Signed-off-by: Nickle Wang <nicklew@nvidia.com> Cc: Abner Chang <abner.chang@amd.com> Cc: Igor Kulchytskyy <igork@ami.com> Cc: Nick Ramirez <nramirez@nvidia.com> Reviewed-by: Abner Chang <abner.chang@amd.com> Reviewed-by: Igor Kulchytskyy <igork @ami.com>
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /** @file
 | |
|   Internal function header for Redfish Platform Config Library.
 | |
| 
 | |
|   (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
 | |
|   Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
 | |
| 
 | |
|   SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| 
 | |
| **/
 | |
| 
 | |
| #ifndef REDFISH_PLATFORM_CONFIG_H_
 | |
| #define REDFISH_PLATFORM_CONFIG_H_
 | |
| 
 | |
| #include <Uefi.h>
 | |
| 
 | |
| #include <Library/BaseLib.h>
 | |
| #include <Library/BaseMemoryLib.h>
 | |
| #include <Library/DebugLib.h>
 | |
| #include <Library/MemoryAllocationLib.h>
 | |
| #include <Library/RedfishPlatformConfigLib.h>
 | |
| #include <Library/UefiLib.h>
 | |
| #include <Library/UefiBootServicesTableLib.h>
 | |
| 
 | |
| #include <Protocol/EdkIIRedfishPlatformConfig.h>
 | |
| 
 | |
| ///
 | |
| /// Definition of REDFISH_PLATFORM_CONFIG_LIB_PRIVATE
 | |
| ///
 | |
| typedef struct {
 | |
|   EFI_EVENT                                 ProtocolEvent; ///< Protocol notification event.
 | |
|   VOID                                      *Registration; ///< Protocol notification registration.
 | |
|   EDKII_REDFISH_PLATFORM_CONFIG_PROTOCOL    *Protocol;
 | |
| } REDFISH_PLATFORM_CONFIG_LIB_PRIVATE;
 | |
| 
 | |
| #endif
 |