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

This commit is contained in:
Ry 2023-07-13 15:02:19 -07:00
parent 73bf9275bc
commit b6ab015acb

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