2 Header file for MemorySubClass Driver.
4 Copyright (c) 2013-2015 Intel Corporation.
6 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #ifndef _MEMORY_SUB_CLASS_H
11 #define _MEMORY_SUB_CLASS_H
14 // The package level header files this module uses
16 #include <FrameworkDxe.h>
18 // The protocols, PPI and GUID definitions for this module
20 #include <IndustryStandard/SmBios.h>
21 #include <Protocol/Smbios.h>
22 #include <Protocol/PciRootBridgeIo.h>
23 #include <Protocol/SmbusHc.h>
24 #include <Guid/DataHubRecords.h>
25 #include <Guid/MemoryConfigData.h>
26 #include <Protocol/HiiDatabase.h>
27 #include <Guid/MdeModuleHii.h>
30 // The Library classes this module consumes
32 #include <Library/BaseLib.h>
33 #include <Library/HobLib.h>
34 #include <Library/UefiDriverEntryPoint.h>
35 #include <Library/UefiBootServicesTableLib.h>
36 #include <Library/UefiRuntimeServicesTableLib.h>
37 #include <Library/DebugLib.h>
38 #include <Library/BaseMemoryLib.h>
39 #include <Library/PrintLib.h>
40 #include <Library/HiiLib.h>
41 #include <Library/MemoryAllocationLib.h>
42 #include <Library/PciLib.h>
43 #include <Library/QNCAccessLib.h>
45 #include "QNCAccess.h"
50 // This is the generated header file which includes whatever needs to be exported (strings + IFR)
53 #define EFI_MEMORY_SUBCLASS_DRIVER_GUID \
54 { 0xef17cee7, 0x267d, 0x4bfd, { 0xa2, 0x57, 0x4a, 0x6a, 0xb3, 0xee, 0x85, 0x91 }}
60 MemorySubClassEntryPoint (
61 IN EFI_HANDLE ImageHandle
,
62 IN EFI_SYSTEM_TABLE
*SystemTable