-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
41 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule kernelhaxcode_3ds
updated
6 files
+1 −1 | arm11/linker.ld | |
+15 −0 | arm11/source/asm_macros.s.h | |
+5 −5 | arm11/source/start.s | |
+1 −1 | arm9/linker.ld | |
+15 −0 | arm9/source/asm_macros.s.h | |
+4 −5 | arm9/source/start.s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
#include "lib/asm_macros.s.h" | ||
|
||
FUNCTION _start, .crt0 | ||
mov sp, #0x10000000 | ||
// Assume sp has been correctly set, we don't use the stack really much | ||
//mov sp, #0x10000000 | ||
adr r1, kernelhaxcode_3ds_bin_size | ||
ldr r2, [r1], #4 | ||
bl otherappMain | ||
bkpt 1 | ||
bkpt 1 | ||
END_FUNCTION | ||
|
||
.global kernelhaxcode_3ds_bin_size | ||
kernelhaxcode_3ds_bin_size: | ||
.word _kernelhaxcode_3ds_bin_end - kernelhaxcode_3ds_bin | ||
|
||
.global kernelhaxcode_3ds_bin | ||
kernelhaxcode_3ds_bin: | ||
.incbin "../kernelhaxcode_3ds/kernelhaxcode_3ds.bin" | ||
|
||
.hidden _kernelhaxcode_3ds_bin_end | ||
_kernelhaxcode_3ds_bin_end: |