summaryrefslogtreecommitdiff
path: root/src/SConscript
diff options
context:
space:
mode:
authorShell <[email protected]>2024-11-15 16:34:36 +0800
committerRbb666 <[email protected]>2025-01-06 19:34:16 +0800
commit972931c991e432a1030205959f4be4351a5710d6 (patch)
treeb8b320b3078e76c8c69bff9217bb511b48287a1a /src/SConscript
parentdc3270f14ee0a3902df8103f1c1e485bd0f4629f (diff)
feat: add universal process runtime service
This change introduces the `lwp_runtime.c` component, which provides the necessary runtime environment for the init process, including boot scripts, shutdown, and poweroff functionalities. The initialization logic has been moved from `lwp.c` to this new file, enhancing modularity and flexibility in handling LWP runtime tasks. Changes: - Moved the `lwp_startup` function from `lwp.c` to `lwp_runtime.c` to handle system initialization and runtime environment setup. - Added `lwp_teardown` placeholder for system shutdown and cleanup tasks in the future (though not yet implemented). - Introduced the `LWP_USING_RUNTIME` configuration option in `Kconfig` to conditionally enable the runtime environment. - Updated the `SConscript` to conditionally include `lwp_runtime.c` based on the `LWP_USING_RUNTIME` configuration. - Removed the old `lwp_startup` code from `lwp.c`, simplifying the file. Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'src/SConscript')
0 files changed, 0 insertions, 0 deletions