Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
irq_lock.h File Reference
#include <type.h>

Go to the source code of this file.

Functions

static uintptr_t irq_save (void)
 
static void irq_restore (uintptr_t flags)
 
static void irq_enable (void)
 
static void irq_disable (void)
 
static bool irq_is_enabled (void)
 

Function Documentation

◆ irq_disable()

static void irq_disable ( void )
inlinestatic

Definition at line 34 of file irq_lock.h.

◆ irq_enable()

static void irq_enable ( void )
inlinestatic

Definition at line 30 of file irq_lock.h.

◆ irq_is_enabled()

static bool irq_is_enabled ( void )
inlinestatic

Definition at line 39 of file irq_lock.h.

References flags.

◆ irq_restore()

static void irq_restore ( uintptr_t flags)
inlinestatic

◆ irq_save()

static uintptr_t irq_save ( void )
inlinestatic