module: add exitcall function

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-08-12 12:15:59 -04:00
commit 3abfd32fbb
Signed by: michaelsshaw
GPG key ID: 5A5E0FB20708A9E7
6 changed files with 110 additions and 11 deletions

View file

@ -95,6 +95,9 @@ static void kmain()
arch_ap_startup();
apic_init();
driver_load("testmod");
driver_unload("testmod");
dirent_t *init;
res = vfs_open("/bin/init", &init);
if (res < 0)