mirror of
https://github.com/devkitPro/gp2x-core
synced 2026-12-03 13:22:28 +01:00
No description
- Assembly 92.7%
- Makefile 7.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| gp2x.ld | ||
| gp2x.specs | ||
| gp2x_940.ld | ||
| gp2x_940.specs | ||
| gp2x_940_crt0.s | ||
| gp2x_crt0.s | ||
| gp2x_rules | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
gp2x-core
Core files for running GP2X code on the metal
How to define memory map
If the following symbols are declared (e.g. in ldflags -Xlinker --defsym=__testSymbol=64), they will be used.
| Symbol | Purpose |
|---|---|
| __int_stack_size | number of bytes allocated at top of RAM for interrupt stack (x2, one for FIQ, one for IRQ) |
| __usr_stack_size | number of bytes allocated at top of RAM for user stack |
| __non_heap_allocation | additional bytes reserved underneath the stack for things like TLBs |
| __start_of_heap | pointer to start of available heap space |
| __end_of_heap | pointer to end of available heap space |
| __io_base | base address of IO registers |
| __nand_io_base | base address of NAND IO registers |
| __params_length | length in bytes of parameter region of memory (argc, argv) |