Skip to content

Commit 84d6001

Browse files
author
Ian Seyler
committed
Update comments
1 parent 7d720f8 commit 84d6001

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/kernel.asm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ start:
3939
call init_nvs ; Initialize non-volatile storage
4040
call init_net ; Initialize network
4141
call init_hid ; Initialize human interface devices
42-
cmp qword [0x100000 + KERNELSIZE], 0 ; Is there a payload after the kernel?
43-
je ap_clear ; If not, skip to ap_clear
44-
call init_sys
45-
jmp bsp ; Skip past some of the ap_clear code we have already executed
42+
cmp qword [0x100000 + KERNELSIZE], 0
43+
je ap_clear ; If no payload was present then skip to ap_clear
44+
call init_sys ; If payload present then prep it for execution
45+
jmp bsp ; Skip to bsp as payload was prepped
4646

4747
align 16
4848
ap_clear: ; All cores start here on first start-up and after an exception

0 commit comments

Comments
 (0)