blob: cb690edf90d9b4f300ac337a6bbe6a54b2f67011 (
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
|
module uefi::protocol::runtime_services;
alias ResetSystemFn = fn void (ResetType, EfiStatus, usz, void*);
enum ResetType : uint {
COLD,
WARM,
SHUTDOWN,
PLATFORM_SPECIFIC,
}
module uefi;
import uefi::protocol::runtime_services;
import uefi::protocol::time;
struct RuntimeServices @packed {
inline TableHeader header;
GetTimeFn get_time;
void* set_time;
void* get_wakeup_time;
void* set_wakeup_time;
void* set_virtual_address_map;
void* convert_pointer;
void* get_variable;
void* get_next_variable_name;
void* set_variable;
void* get_next_high_monotonic_count;
ResetSystemFn reset_system;
void* update_capsule;
void* query_capsule_capabilities;
void* query_variable_info;
}
|