Add sys_exec () and libprocess wrapper, fix ramdisk tar parsing
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m26s

This commit is contained in:
2026-02-14 21:50:09 +01:00
parent 690e09339e
commit b0b69f3e9e
27 changed files with 112 additions and 39 deletions

View File

@@ -38,3 +38,5 @@ void* argument_ptr (void) { return (void*)do_syscall (SYS_ARGUMENT_PTR, 0); }
int device_do (int device_id, int cmd, void* a1, void* a2, void* a3, void* a4) {
return (int)do_syscall (SYS_DEVICE_DO, device_id, cmd, a1, a2, a3, a4);
}
int exec (const char* path) { return (int)do_syscall (SYS_EXEC, path); }

View File

@@ -49,4 +49,7 @@ void* argument_ptr (void);
/* Call a device command */
int device_do (int device_id, int cmd, void* a1, void* a2, void* a3, void* a4);
/* Run external ELF program */
int exec (const char* path);
#endif // _LIBMSL_M_SYSTEM_H