From c212598468d04854380c0c300369ba59d28f2e49 Mon Sep 17 00:00:00 2001 From: Aren Date: Fri, 15 Dec 2023 18:03:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6=D0=BD=D0=BE?= =?UTF-8?q?=D1=81=D1=82=D1=8C=20=D0=B2=D1=8B=D0=B7=D1=8B=D0=B2=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=20=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D0=B8=20=D0=B8?= =?UTF-8?q?=D0=B7=20=D0=B4=D1=80=D1=83=D0=B3=D0=B8=D1=85=20=D0=BC=D0=BE?= =?UTF-8?q?=D0=B4=D1=83=D0=BB=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/sys.h | 1 + modlib/types.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sys.h b/include/sys.h index 52d84b2..d3d7f60 100644 --- a/include/sys.h +++ b/include/sys.h @@ -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 { diff --git a/modlib/types.h b/modlib/types.h index 2b47737..744fcf6 100644 --- a/modlib/types.h +++ b/modlib/types.h @@ -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)( );