mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-30 13:24:27 +01:00
baremetal: fix heap and stack position in preparation for CLI arguments
This commit is contained in:
@@ -8,7 +8,7 @@ _start:
|
||||
bne lkmc_cpu_not_0
|
||||
|
||||
/* Prepare the stack for main, mandatory for C code. */
|
||||
ldr sp, =stack_top
|
||||
ldr sp, =lkmc_stack_top
|
||||
|
||||
/* Enable floating point.
|
||||
* Code copied from: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0409h/CHDEGGFF.html
|
||||
|
||||
Reference in New Issue
Block a user