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>
This commit is contained in:
Michael Kubacki
2020-11-17 09:37:25 -08:00
committed by mergify[bot]
parent 050b2ba27d
commit 88f3d734f5
6 changed files with 8 additions and 434 deletions

View File

@@ -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.

View File

@@ -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