summaryrefslogtreecommitdiffstats
path: root/PrmPkg/Include
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2020-11-17 09:37:25 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-04-05 00:42:38 +0000
commit88f3d734f5a066491d6da3cddcacc6cd7f07d184 (patch)
treee8169d5392c3f9f7a857bea355dc17a64240a4b8 /PrmPkg/Include
parent050b2ba27d63dd44d353d0ce7a85e3227cf8177b (diff)
downloadedk2-88f3d734f5a066491d6da3cddcacc6cd7f07d184.tar.gz
edk2-88f3d734f5a066491d6da3cddcacc6cd7f07d184.tar.bz2
edk2-88f3d734f5a066491d6da3cddcacc6cd7f07d184.zip
PrmPkg: Remove the concept of OS services
OS services are no longer supported as of the current PRM design. 1. Removes OS services from PrmSampleHardwareAccessModule 2. Removes the PrmOsServices.h file Cc: Andrew Fish <afish@apple.com> Cc: Kang Gao <kang.gao@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Benjamin You <benjamin.you@intel.com> Cc: Liu Yun <yun.y.liu@intel.com> Cc: Ankit Sinha <ankit.sinha@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Acked-by: Michael D Kinney <michael.d.kinney@intel.com> Acked-by: Liming Gao <gaoliming@byosoft.com.cn> Acked-by: Leif Lindholm <quic_llindhol@quicinc.com> Reviewed-by: Ankit Sinha <ankit.sinha@intel.com>
Diffstat (limited to 'PrmPkg/Include')
-rw-r--r--PrmPkg/Include/PrmModule.h1
-rw-r--r--PrmPkg/Include/PrmOsServices.h45
2 files changed, 0 insertions, 46 deletions
diff --git a/PrmPkg/Include/PrmModule.h b/PrmPkg/Include/PrmModule.h
index d7047d8eec..1369adda1a 100644
--- a/PrmPkg/Include/PrmModule.h
+++ b/PrmPkg/Include/PrmModule.h
@@ -15,7 +15,6 @@
#include <PrmDataBuffer.h>
#include <PrmExportDescriptor.h>
#include <PrmMmio.h>
-#include <PrmOsServices.h>
/**
Macro that provides a condensed form of a PRM Handler.
diff --git a/PrmPkg/Include/PrmOsServices.h b/PrmPkg/Include/PrmOsServices.h
deleted file mode 100644
index 62dfa00187..0000000000
--- a/PrmPkg/Include/PrmOsServices.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/** @file
-
- Definitions for the Platform Runtime Mechanism (PRM) OS Services.
-
- Note: OS Services have been removed from POR. This file has been reduced to just debug print
- OS Service for use during PRM enabling.
-
- Copyright (c) Microsoft Corporation
- SPDX-License-Identifier: BSD-2-Clause-Patent
-
-**/
-
-#ifndef PRM_OS_SERVICES_H_
-#define PRM_OS_SERVICES_H_
-
-#include <Uefi.h>
-
-typedef struct _PRM_OS_SERVICES PRM_OS_SERVICES;
-
-//
-// PRM OS Services function signatures
-//
-typedef
-VOID
-(EFIAPI *PRM_OS_SERVICE_DEBUG_PRINT) (
- IN CONST CHAR8 *String
- );
-
-#pragma pack(push, 1)
-
-//
-// PRM OS Services table
-//
-struct _PRM_OS_SERVICES {
- // Structure information
- UINT16 MajorVersion;
- UINT16 MinorVersion;
-
- // OS Services
- PRM_OS_SERVICE_DEBUG_PRINT DebugPrint;
-};
-
-#pragma pack(pop)
-
-#endif