OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
OpenRuntimePrivate.h File Reference
#include <Uefi.h>
#include <Protocol/OcFirmwareRuntime.h>

Go to the source code of this file.

Macros

#define OC_VARIABLE_NAME_SIZE   256
 

Functions

VOID RedirectRuntimeServices (VOID)
 
EFI_STATUS EFIAPI FwOnGetVariable (IN EFI_GET_VARIABLE GetVariable, OUT EFI_GET_VARIABLE *OrgGetVariable OPTIONAL)
 
EFI_STATUS EFIAPI FwOnSetAddressMap (IN EFI_SET_VIRTUAL_ADDRESS_MAP SetAddressMap OPTIONAL, IN BOOLEAN Enabled)
 

Variables

OC_FWRT_CONFIG gMainConfig
 
OC_FWRT_CONFIG gOverrideConfig
 
OC_FWRT_CONFIGgCurrentConfig
 

Detailed Description

Copyright (C) 2019, vit9696. All rights reserved.

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.

Definition in file OpenRuntimePrivate.h.

Macro Definition Documentation

◆ OC_VARIABLE_NAME_SIZE

#define OC_VARIABLE_NAME_SIZE   256

Definition at line 36 of file OpenRuntimePrivate.h.

Function Documentation

◆ FwOnGetVariable()

EFI_STATUS EFIAPI FwOnGetVariable ( IN EFI_GET_VARIABLE GetVariable,
OUT EFI_GET_VARIABLE *OrgGetVariable OPTIONAL )

Definition at line 829 of file UefiRuntimeServices.c.

◆ FwOnSetAddressMap()

EFI_STATUS EFIAPI FwOnSetAddressMap ( IN EFI_SET_VIRTUAL_ADDRESS_MAP SetAddressMap OPTIONAL,
IN BOOLEAN Enabled )

Definition at line 849 of file UefiRuntimeServices.c.

◆ RedirectRuntimeServices()

VOID RedirectRuntimeServices ( VOID )

Definition at line 896 of file UefiRuntimeServices.c.

Variable Documentation

◆ gCurrentConfig

OC_FWRT_CONFIG* gCurrentConfig
extern

Current active runtime services configuration (main or override).

Definition at line 52 of file UefiRuntimeServices.c.

◆ gMainConfig

OC_FWRT_CONFIG gMainConfig
extern

Main runtime services configuration.

Configurations to use.

Definition at line 50 of file UefiRuntimeServices.c.

◆ gOverrideConfig

OC_FWRT_CONFIG gOverrideConfig
extern

Override runtime services configuration.

Definition at line 51 of file UefiRuntimeServices.c.