LumaOS  v0.1.116
An experimental x86-64 OS
Loading...
Searching...
No Matches
vars.c File Reference

Kernel wide variables. More...

#include <stdint.h>
#include <kernel/vars.h>
Include dependency graph for vars.c:

Go to the source code of this file.

Functions

void set_hddm_offset (const uint64_t value)
 Sets the offset for the HDDM.
uint64_t get_hddm_offset (void)
 Gets the offset for the HDDM.

Variables

static uint64_t hddm_offset = 0

Detailed Description

Kernel wide variables.

Author
Matheus Boscariol
Since
02/11/2026

Definition in file vars.c.

Function Documentation

◆ get_hddm_offset()

uint64_t get_hddm_offset ( void )

Gets the offset for the HDDM.

Returns
The offset

Definition at line 18 of file vars.c.

◆ set_hddm_offset()

void set_hddm_offset ( uint64_t value)

Sets the offset for the HDDM.

Parameters
valueThe offset to set

Definition at line 14 of file vars.c.

Variable Documentation

◆ hddm_offset

uint64_t hddm_offset = 0
static

Definition at line 12 of file vars.c.