[srv.init] Iterate and load drivers and services from initrd
Previously we were hard-coding loading specific files (the UART driver and logging server) from the initrd. Now j6romfs has a for_each() method to allow iterating all files in a directory, and init loads all programs from /jsix/drivers and /jsix/services. Eventually this will need more dynamic loading decisions for drivers but for now it's fine.
This commit is contained in:
@@ -141,7 +141,6 @@ load_program(
|
||||
return false;
|
||||
}
|
||||
|
||||
delete [] reinterpret_cast<const uint8_t*>(data.pointer);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user