Добавлена возможность вызывать функции из других модулей

This commit is contained in:
Aren 2023-12-15 18:03:01 +03:00
parent 1b1528dff1
commit c212598468
2 changed files with 1 additions and 1 deletions

View File

@ -58,6 +58,7 @@ typedef struct {
uint64_t module_id;
uint8_t irq; // Номер прерывания
void *irq_handler; // Адрес обработчика прерываний
void *(*get_func)(uint64_t id);
} __attribute__((packed)) module_info_t;
typedef struct {

View File

@ -105,7 +105,6 @@ typedef struct {
int (*get_error)( );
sys_info_t *(*get_info)( );
module_info_t *(*get_module)(char *module_id);
void *(*get_module_func)(char *module_id, uint64_t func_id);
uint64_t (*new_thread)(uint64_t func);
int (*delete_thread)(uint64_t thread_id);
time_t (*get_time)( );