We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d720f8 commit 84d6001Copy full SHA for 84d6001
src/kernel.asm
@@ -39,10 +39,10 @@ start:
39
call init_nvs ; Initialize non-volatile storage
40
call init_net ; Initialize network
41
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
+ cmp qword [0x100000 + KERNELSIZE], 0
+ je ap_clear ; If no payload was present then skip to ap_clear
+ call init_sys ; If payload present then prep it for execution
+ jmp bsp ; Skip to bsp as payload was prepped
46
47
align 16
48
ap_clear: ; All cores start here on first start-up and after an exception
0 commit comments