LumaOS  v0.1.116
An experimental x86-64 OS
Loading...
Searching...
No Matches
vars.c
Go to the documentation of this file.
1
9#include <stdint.h>
10#include <kernel/vars.h>
11
12static uint64_t hddm_offset = 0;
13
14void set_hddm_offset(const uint64_t value) {
15 hddm_offset = value;
16}
17
18uint64_t get_hddm_offset(void) {
19 return hddm_offset;
20}
void set_hddm_offset(const uint64_t value)
Sets the offset for the HDDM.
Definition vars.c:14
uint64_t get_hddm_offset(void)
Gets the offset for the HDDM.
Definition vars.c:18
Kernel wide variables.