summaryrefslogtreecommitdiff
path: root/Nt32Pkg/MiscSubClassPlatformDxe
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-03 06:07:51 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-03 06:07:51 +0000
commitdd356cc4b930e5c8fb1e1a8ebd902428b75edf26 (patch)
tree704d0b4c409fc9f8a10fe0ea73fb5cabd8770965 /Nt32Pkg/MiscSubClassPlatformDxe
parent3b89de633df7b66c0dd4502f2f217a0c54cb06cd (diff)
downloadedk2-platforms-dd356cc4b930e5c8fb1e1a8ebd902428b75edf26.tar.xz
Enable MiscSubclassDriver.inf in Nt32Pkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2989 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/MiscSubClassPlatformDxe')
-rw-r--r--Nt32Pkg/MiscSubClassPlatformDxe/CommonHeader.h6
-rw-r--r--Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriver.h24
-rw-r--r--Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriver.inf8
-rw-r--r--Nt32Pkg/MiscSubClassPlatformDxe/MiscSystemSlotDesignationData.c22
4 files changed, 31 insertions, 29 deletions
diff --git a/Nt32Pkg/MiscSubClassPlatformDxe/CommonHeader.h b/Nt32Pkg/MiscSubClassPlatformDxe/CommonHeader.h
index 718f802edc..93d7ac19c3 100644
--- a/Nt32Pkg/MiscSubClassPlatformDxe/CommonHeader.h
+++ b/Nt32Pkg/MiscSubClassPlatformDxe/CommonHeader.h
@@ -19,12 +19,14 @@
//
// The package level header files this module uses
//
-#include <PiDxe.h>
+#include <FrameworkDxe.h>
#include <WinNtDxe.h>
//
// The protocols, PPI and GUID defintions for this module
//
-//#include <Protocol/WinNtIo.h>
+#include <Guid/DataHubRecords.h>
+#include <Protocol/DataHub.h>
+#include <Protocol/WinNtIo.h>
//
// The Library classes this module consumes
//
diff --git a/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriver.h b/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriver.h
index c468b59fb5..801b2c3bf1 100644
--- a/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriver.h
+++ b/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriver.h
@@ -1,13 +1,13 @@
/*++
-Copyright (c) 2006, Intel Corporation
-All rights reserved. This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+Copyright (c) 2006, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name:
@@ -30,16 +30,12 @@ Abstract:
#include <MiscDevicePath.h>
-//
-// Autogen string file
-//
-#include <MiscSubclassStrDefs.h>
//
// Data table entry update function.
//
-typedef
-EFI_STATUS
+typedef
+EFI_STATUS
(EFIAPI EFI_MISC_SUBCLASS_DATA_FUNCTION) (
IN UINT16 RecordType,
IN UINT32 *RecordLen,
diff --git a/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriver.inf b/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriver.inf
index 6d8efdedc0..5ff5fa1da8 100644
--- a/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriver.inf
+++ b/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriver.inf
@@ -105,7 +105,7 @@
BaseMemoryLib
UefiDriverEntryPoint
UefiLib
- HiiLib
+ HiiLibFramework
DebugLib
BaseLib
@@ -118,7 +118,11 @@
[Guids]
gEfiWinNtMemoryGuid # SOMETIMES_CONSUMED
-
+ gEfiProcessorSubClassGuid # SOMETIMES_CONSUMED
+ gEfiMiscSubClassGuid # SOMETIMES_CONSUMED
+ gEfiMemoryProducerGuid # SOMETIMES_CONSUMED
+ gEfiMemorySubClassGuid # SOMETIMES_CONSUMED
+ gEfiWinNtMemoryGuid # SOMETIMES_CONSUMED
################################################################################
#
diff --git a/Nt32Pkg/MiscSubClassPlatformDxe/MiscSystemSlotDesignationData.c b/Nt32Pkg/MiscSubClassPlatformDxe/MiscSystemSlotDesignationData.c
index 7610322c04..ca0e9b4ff0 100644
--- a/Nt32Pkg/MiscSubClassPlatformDxe/MiscSystemSlotDesignationData.c
+++ b/Nt32Pkg/MiscSubClassPlatformDxe/MiscSystemSlotDesignationData.c
@@ -1,19 +1,19 @@
/*++
-Copyright (c) 2006, Intel Corporation
-All rights reserved. This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+Copyright (c) 2006, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name:
-
+
MiscSystemSlotDesignationData.c
-
-Abstract:
+
+Abstract:
This driver parses the mMiscSubclassDataTable structure and reports
any generated data to the DataHub.