Vystem 0.2

This commit is contained in:
2026-05-27 19:34:54 +02:00
parent a43c08b893
commit d238606b75
372 changed files with 51320 additions and 83217 deletions

87
shelter/kernel.json Normal file
View File

@@ -0,0 +1,87 @@
{
"version":"0.1",
"root_folder":"%filefolder%",
"run_context":"sub",
"name":"Shelter compilation",
"actions":[
{
"action":"compile_one_asm",
"args":{
"source_variables":false,
"source":"lib/src/cpu/ap_boot.asm",
"assembler_variables":true,
"assembler":"$ASSEMBLER$",
"pre_arguments_variables":true,
"pre_arguments":[
"-f $ASM_OUTPUT_FORMAT$"
],
"post_arguments_variables":true,
"post_arguments":[
"-o lib/src/cpu/ap_boot.bin"
],
"output_file_variables":true,
"output_file":"lib/src/cpu/ap_boot.bin",
"success_status":[
0
],
"ignore_success_status":true,
"cache_authorized":true
}
},
{
"action":"vyld_compilation",
"args":{
"source_files_path_completion":true,
"source_files_variables":false,
"source_files":[
"main.c",
"lib/src/**"
],
"compiler_variables":true,
"compiler":"$C_COMPILER$",
"source_asm_path_completion":true,
"source_asm_variables":false,
"source_asm":[
"lib/src/irq/**"
],
"assembler_variables":true,
"assembler":"$ASSEMBLER$",
"linker_variables":true,
"linker":"$LINKER$",
"compiler_flags_variables":true,
"compiler_flags":"$SHELTER_COMPILATION_FLAGS$",
"output_file_variables":true,
"output_file":"$SHELTER_BINARY_NAME$",
"block_if_fail":true,
"object_files_cache_authorized":true,
"headers_command_variables":true,
"headers_command":"gcc -MMD -MF %dfile% -E %sourcefile% -o /dev/null -I%rootcallerfolder%/shelter/lib/include",
"payloads":[
{
"source_file_variables":true,
"source_file":"%rootcallerfolder%/shelter/lib/src/cpu/ap_boot.bin",
"is_executable":false,
"is_writable":true,
"expected_va":"0x000000000000A000"
}
]
}
},
{
"action":"ensure_folder_existence",
"args":{
"path_variables":true,
"path":"%rootcallerfolder%/$INITFS_DIR$"
}
},
{
"action":"move_file",
"args":{
"source_file_variables":true,
"source_file":"$SHELTER_BINARY_NAME$",
"destination_folder_variables":true,
"destination_folder":"%rootcallerfolder%/$INITFS_DIR$"
}
}
]
}