2 #include "libs/string.h"
4 using namespace modules
;
6 module::module(const char *name
, module_type _type
) : mtype(_type
) {
7 mname
= new char[strlen(name
)];
11 void module::set_kernel_space(void *text
, int tsize
, void *, int, void *, int) {
12 kernel_space
.code_start
= text
;
13 kernel_space
.code_size
= tsize
;