X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/92f6e64a6da763c45ff9f4ab5eafcab3d8766dcb..b60166b327a9108b07e3069fa6568a451529ffd9:/lunaix-os/includes/lunaix/exec.h?ds=sidebyside diff --git a/lunaix-os/includes/lunaix/exec.h b/lunaix-os/includes/lunaix/exec.h index f872271..a49845e 100644 --- a/lunaix-os/includes/lunaix/exec.h +++ b/lunaix-os/includes/lunaix/exec.h @@ -43,7 +43,7 @@ struct uexec_param char** argv; int envc; char** envp; -} PACKED; +} compact; #ifndef __USR_WRAPPER__ @@ -56,6 +56,13 @@ exec_load(struct exec_container* container, struct v_file* executable); int exec_kexecve(const char* filename, const char* argv[], const char* envp[]); +void +exec_init_container(struct exec_container* param, + struct thread* thread, + ptr_t vms, + const char** argv, + const char** envp); + #endif #endif /* __LUNAIX_LOADER_H */