summaryrefslogtreecommitdiffstats
path: root/PrmPkg/Include/PrmOsServices.h
blob: 62dfa00187875b737ecb617bfff3365b32209be0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/** @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