Skip to content

Commit

Permalink
hbldr: fix DSPmem mapping and give access to all Arm11 IO regs
Browse files Browse the repository at this point in the history
  • Loading branch information
TuxSH committed Aug 9, 2023
1 parent 0f09900 commit 41eccac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sysmodules/loader/source/hbldr.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,15 @@ static const u32 kernelCaps[] =
// Normal applications only have access to 0x1FF50000-0x1FF58000, 0x1FF70000-0x1FF78000,
// however we can load unsigned DSP firmware binaries.
0xFF81FF00, // RW static range mapping: 0x1FF00000 (DSP RAM, start)
0xFF81FF80, // RW static range mapping: 0x1FF80000 (DSP RAM, end)
0xFF91FF80, // RW static range mapping: 0x1FF80000 (DSP RAM, end)

0xFF91F000, // RO static range mapping: 0x1F000000 (VRAM, start)
0xFF91F600, // RO static range mapping: 0x1F600000 (VRAM, end)

// Give access to all Arm11-accessible IO
0xFF81EC00, // RW IO range mapping: 0x1EC00000 (PA 0x10100000, start)
0xFF81F000, // RW IO range mapping: 0x10500000 (PA 0x10500000, end)

0xFF002109, // Exflags: APPLICATION memtype + "Shared page writing" + "Allow debug" + "Access core2"
0xFE000200, // Handle table size: 0x200

Expand Down

0 comments on commit 41eccac

Please sign in to comment.