kernel/fxf: Bail out if the FXF could not be relocated

main
Ry 2023-07-13 15:02:19 -07:00
parent 73bf9275bc
commit b6ab015acb
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ launch_fxf_from_open_file_1:
; relocate the binary
mov r0, [launch_fxf_binary_ptr]
call parse_fxf_binary
cmp r0, 0
ifz jmp launch_fxf_from_disk_file_error
; create a new task
mov r1, r0