5 efi runtime services table, Efi_runtime_services, Efi runtime services – Intel Extensible Firmware Interface User Manual

Page 89

Advertising
background image

EFI System Table

Version 1.10

12/01/02

4-11

4.5 EFI Runtime Services Table

The EFI Runtime Services Table contains a table header and pointers to all of the runtime services.
The definition for this table is shown in the following code fragments. Except for the table header,
all elements in the EFI Runtime Services Tables are prototypes of function pointers to functions as
defined in Chapters 6. Unlike the EFI Boot Services Table, this table, and the function pointers it
contains are valid after the operating system has taken control of the platform with a call to

ExitBootServices()

. If a call to

SetVirtualAddressMap()

is made by the OS, then

the function pointers in this table are fixed up to point to the new virtually mapped entry points.

EFI_RUNTIME_SERVICES

Summary

Contains a table header and pointers to all of the runtime services.

Related Definitions

#define EFI_RUNTIME_SERVICES_SIGNATURE 0x56524553544e5552
#define EFI_RUNTIME_SERVICES_REVISION ((1<<16) | (10))

typedef struct {
EFI_TABLE_HEADER

Hdr;


//
// Time Services
//
EFI_GET_TIME

GetTime;

EFI_SET_TIME

SetTime;

EFI_GET_WAKEUP_TIME

GetWakeupTime;

EFI_SET_WAKEUP_TIME

SetWakeupTime;


//
// Virtual Memory Services
//
EFI_SET_VIRTUAL_ADDRESS_MAP

SetVirtualAddressMap;

EFI_CONVERT_POINTER

ConvertPointer;


//
// Variable Services
//
EFI_GET_VARIABLE

GetVariable;

EFI_GET_NEXT_VARIABLE_NAME

GetNextVariableName;

EFI_SET_VARIABLE

SetVariable;

Advertising