2 Header file for MemorySubClass Driver.
4 Copyright (c) 2013-2015 Intel Corporation.
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #ifndef _MEMORY_SUB_CLASS_H
17 #define _MEMORY_SUB_CLASS_H
20 // The package level header files this module uses
22 #include <FrameworkDxe.h>
24 // The protocols, PPI and GUID definitions for this module
26 #include <IndustryStandard/SmBios.h>
27 #include <Protocol/Smbios.h>
28 #include <Protocol/PciRootBridgeIo.h>
29 #include <Protocol/SmbusHc.h>
30 #include <Guid/DataHubRecords.h>
31 #include <Guid/MemoryConfigData.h>
32 #include <Protocol/HiiDatabase.h>
33 #include <Guid/MdeModuleHii.h>
36 // The Library classes this module consumes
38 #include <Library/BaseLib.h>
39 #include <Library/HobLib.h>
40 #include <Library/UefiDriverEntryPoint.h>
41 #include <Library/UefiBootServicesTableLib.h>
42 #include <Library/UefiRuntimeServicesTableLib.h>
43 #include <Library/DebugLib.h>
44 #include <Library/BaseMemoryLib.h>
45 #include <Library/PrintLib.h>
46 #include <Library/HiiLib.h>
47 #include <Library/MemoryAllocationLib.h>
48 #include <Library/PciLib.h>
49 #include <Library/QNCAccessLib.h>
51 #include "QNCAccess.h"
56 // This is the generated header file which includes whatever needs to be exported (strings + IFR)
59 #define EFI_MEMORY_SUBCLASS_DRIVER_GUID \
60 { 0xef17cee7, 0x267d, 0x4bfd, { 0xa2, 0x57, 0x4a, 0x6a, 0xb3, 0xee, 0x85, 0x91 }}
66 MemorySubClassEntryPoint (
67 IN EFI_HANDLE ImageHandle
,
68 IN EFI_SYSTEM_TABLE
*SystemTable