|
Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
|
#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 () |
| typedef voxmo_loaded_module_t* voxmo_loaded_module_t_ptr |
| struct voxmo_loaded_module __attribute__ | ( | (aligned(64)) | ) |
| void vxSetDefaultVoxmoPath | ( | const char * | path | ) |
Definition at line 317 of file voxmo.c.
References default_voxmo_path, path, and str().
Referenced by __attribute__().
| void vxVoxmoInstall | ( | const char * | path | ) |
Definition at line 180 of file voxmo.c.
References kstring::c_str, cap, data, DEBUG_LEVEL_OK, default_voxmo_path, dentry_put(), header, kalloc(), KDEBUG, kfree(), LOG2_ERROR, LOG_INFO, main_data, voxmo_metadata_header::main_file, memcopy(), memset(), vnode::ops, path, voxmo_metadata_string::pos, resolve_dentry(), vnode::size, spin_acquire(), spin_release(), str_concat(), str_release(), str_trim(), strncmp(), VFS_OK, dentry::vnode, voxmo_list_lock, and voxmo_modules.
Referenced by __attribute__().
| 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__().
| kstring* dependency |
Definition at line 3 of file voxmo.h.
Referenced by vxAddWorkqueueTask().
| spinlock_t lock |
| uintptr_t main_data |
Definition at line 6 of file voxmo.h.
Referenced by vxVoxmoInstall().
| struct voxmo_loaded_module* next |
| kstring path |
Definition at line 7 of file voxmo.h.
Referenced by execve(), execve(), getBeforeLastSlash(), iso9660_lookup(), library_register(), resolve_dentry(), spawn(), syscall_open(), vxnamei(), vxSetDefaultVoxmoPath(), and vxVoxmoInstall().
| workqueue_t* queue |
Definition at line 9 of file voxmo.h.
Referenced by __attribute__(), attach_to_scheduler(), proccess_elf(), vxAllocScheduler(), and vxThreadExit().