Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
voxmo.h File Reference
#include <string.h>
#include <vector.h>
#include <type.h>
#include "procc/workqueue.h"
#include <spinlock.h>

Go to the source code of this file.

Data Structures

struct  voxmo_metadata_string
 
struct  voxmo_metadata_list
 
struct  voxmo_metadata_header
 
struct  voxmo_metadata_file
 
struct  voxmo_loaded_module
 

Typedefs

typedef voxmo_loaded_module_t * voxmo_loaded_module_t_ptr
 

Functions

struct voxmo_loaded_module __attribute__ ((aligned(64)))
 
void vxVoxmoInstall (const char *path)
 
void vxSetDefaultVoxmoPath (const char *path)
 
void vxVoxmoReload ()
 

Variables

spinlock_t lock
 
kstring name
 
kstringcapability
 
kstringdependency
 
size_t capability_count
 
size_t dependency_count
 
uintptr_t main_data
 
kstring path
 
boolean_t loaded
 
workqueue_tqueue
 
struct voxmo_loaded_modulenext
 

Typedef Documentation

◆ voxmo_loaded_module_t_ptr

typedef voxmo_loaded_module_t* voxmo_loaded_module_t_ptr

Definition at line 60 of file voxmo.h.

Function Documentation

◆ __attribute__()

struct voxmo_loaded_module __attribute__ ( (aligned(64)) )

Definition at line 1 of file core.h.

◆ vxSetDefaultVoxmoPath()

void vxSetDefaultVoxmoPath ( const char * path)

Definition at line 317 of file voxmo.c.

References default_voxmo_path, path, and str().

Referenced by __attribute__().

◆ vxVoxmoInstall()

◆ vxVoxmoReload()

void vxVoxmoReload ( )

Definition at line 344 of file voxmo.c.

References LOG_INFO, spin_acquire(), spin_release(), voxmo_list_lock, voxmo_modules, and vxVoxmoProbe().

Referenced by __attribute__().

Variable Documentation

◆ capability

kstring* capability

Definition at line 2 of file voxmo.h.

◆ capability_count

size_t capability_count

Definition at line 4 of file voxmo.h.

◆ dependency

kstring* dependency

Definition at line 3 of file voxmo.h.

Referenced by vxAddWorkqueueTask().

◆ dependency_count

size_t dependency_count

Definition at line 5 of file voxmo.h.

◆ loaded

boolean_t loaded

Definition at line 8 of file voxmo.h.

◆ lock

spinlock_t lock

Definition at line 0 of file voxmo.h.

◆ main_data

uintptr_t main_data

Definition at line 6 of file voxmo.h.

Referenced by vxVoxmoInstall().

◆ name

kstring name

Definition at line 1 of file voxmo.h.

◆ next

struct voxmo_loaded_module* next

Definition at line 11 of file voxmo.h.

◆ path

◆ queue