summaryrefslogtreecommitdiff
path: root/Nt32Pkg/WinNtThunkPPIToProtocolPei
diff options
context:
space:
mode:
authorGuo Mang <mang.guo@intel.com>2017-08-02 09:54:47 +0800
committerGuo Mang <mang.guo@intel.com>2017-09-05 19:45:08 +0800
commit6c128c65b5ec0e5b8b5a0ccb165f3afd29e485f8 (patch)
tree444372d92a0ae8991fe4d15eb3937df43690dfda /Nt32Pkg/WinNtThunkPPIToProtocolPei
parentb207c6434d7a5a4502975d322312e07017e8a8cb (diff)
downloadedk2-platforms-6c128c65b5ec0e5b8b5a0ccb165f3afd29e485f8.tar.xz
Remove core packages since we can get them from edk2 repository
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang <mang.guo@intel.com>
Diffstat (limited to 'Nt32Pkg/WinNtThunkPPIToProtocolPei')
-rw-r--r--Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.c88
-rw-r--r--Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf54
2 files changed, 0 insertions, 142 deletions
diff --git a/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.c b/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.c
deleted file mode 100644
index ec65705fef..0000000000
--- a/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.c
+++ /dev/null
@@ -1,88 +0,0 @@
-/**@file
-
-Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
-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:
-
- WinNtStuff.c
-
-Abstract:
-
- Tiano PEIM to abstract construction of firmware volume in a Windows NT environment.
-
-Revision History
-
-**/
-
-//
-// The package level header files this module uses
-//
-#include <PiPei.h>
-#include <WinNtPeim.h>
-//
-// The protocols, PPI and GUID defintions for this module
-//
-#include <Protocol/WinNtThunk.h>
-#include <Ppi/NtThunk.h>
-//
-// The Library classes this module consumes
-//
-#include <Library/DebugLib.h>
-#include <Library/PeimEntryPoint.h>
-#include <Library/HobLib.h>
-
-EFI_STATUS
-EFIAPI
-PeimInitializeWinNtThunkPPIToProtocolPeim (
- IN EFI_FFS_FILE_HEADER *FfsHeader,
- IN EFI_PEI_SERVICES **PeiServices
- )
-/*++
-
-Routine Description:
-
- Perform a call-back into the SEC simulator to get NT Stuff
-
-Arguments:
-
- PeiServices - General purpose services available to every PEIM.
-
-Returns:
-
- None
-
---*/
-// TODO: FfsHeader - add argument and description to function comment
-{
- EFI_STATUS Status;
- EFI_PEI_PPI_DESCRIPTOR *PpiDescriptor;
- PEI_NT_THUNK_PPI *PeiNtService;
- VOID *Ptr;
-
- DEBUG ((EFI_D_ERROR, "NT 32 WinNT Stuff PEIM Loaded\n"));
-
- Status = (**PeiServices).LocatePpi (
- (const EFI_PEI_SERVICES **)PeiServices,
- &gPeiNtThunkPpiGuid, // GUID
- 0, // INSTANCE
- &PpiDescriptor, // EFI_PEI_PPI_DESCRIPTOR
- (VOID**)&PeiNtService // PPI
- );
- ASSERT_EFI_ERROR (Status);
-
- Ptr = PeiNtService->NtThunk ();
-
- BuildGuidDataHob (
- &gEfiWinNtThunkProtocolGuid, // Guid
- &Ptr, // Buffer
- sizeof (VOID *) // Sizeof Buffer
- );
- return Status;
-}
diff --git a/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf b/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf
deleted file mode 100644
index 1a6d69778c..0000000000
--- a/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf
+++ /dev/null
@@ -1,54 +0,0 @@
-## @file
-# Stuff driver
-#
-# Tiano PEIM to abstract construction of firmware volume in a Windows NT environment.
-# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
-#
-# 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.
-#
-#
-##
-
-[Defines]
- INF_VERSION = 0x00010005
- BASE_NAME = WinNtThunkPPIToProtocolPei
- FILE_GUID = D3AAD8DC-3A48-46ac-B1C7-28A9D3CF6755
- MODULE_TYPE = PEIM
- VERSION_STRING = 1.0
-
- ENTRY_POINT = PeimInitializeWinNtThunkPPIToProtocolPeim
-
-#
-# The following information is for reference only and not required by the build tools.
-#
-# VALID_ARCHITECTURES = IA32
-#
-
-[Sources]
- WinNtThunkPPIToProtocol.c
-
-[Packages]
- MdePkg/MdePkg.dec
- Nt32Pkg/Nt32Pkg.dec
-
-
-[LibraryClasses]
- HobLib
- PeimEntryPoint
- DebugLib
-
-
-[Protocols]
- gEfiWinNtThunkProtocolGuid # PROTOCOL ALWAYS_CONSUMED
-
-
-[Ppis]
- gPeiNtThunkPpiGuid # PPI ALWAYS_CONSUMED
-
-[depex]
- gPeiNtThunkPpiGuid AND gEfiPeiMemoryDiscoveredPpiGuid \ No newline at end of file