UbixOS  2.0
vitals.h File Reference
#include <sys/types.h>
#include <ubixos/spinlock.h>
#include <vfs/vfs.h>
Include dependency graph for vitals.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vitalsStruct
 

Typedefs

typedef struct vitalsStruct vitalsNode
 

Functions

int vitals_init ()
 

Variables

vitalsNodesystemVitals
 
spinLock_t vitals_lock
 

Typedef Documentation

◆ vitalsNode

typedef struct vitalsStruct vitalsNode

Function Documentation

◆ vitals_init()

int vitals_init ( )

Definition at line 47 of file vitals.c.

References vitalsStruct::dQuantum, kmalloc(), kpanic(), kprintf(), memset(), vitalsStruct::quantum, spinLockInit(), systemVitals, and vitals_lock.

Here is the call graph for this function:

Variable Documentation

◆ systemVitals

◆ vitals_lock

spinLock_t vitals_lock

Definition at line 36 of file vitals.c.

Referenced by vitals_init().