mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 02:16:58 +00:00
FEAT: VFS overhaul
This commit is contained in:
17
src/sys/module_manager.h
Normal file
17
src/sys/module_manager.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef MODULE_MANAGER_H
|
||||
#define MODULE_MANAGER_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
typedef struct {
|
||||
char name[64];
|
||||
uint64_t address;
|
||||
uint64_t size;
|
||||
} kernel_module_t;
|
||||
|
||||
void module_manager_register(const char *name, uint64_t addr, uint64_t size);
|
||||
int module_manager_get_count(void);
|
||||
kernel_module_t* module_manager_get_index(int index);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user