mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-01 23:38:23 -04:00
Add debug region to mapped memory
This commit is contained in:
parent
b26b8e1f5c
commit
6592744b3b
5 changed files with 20 additions and 1 deletions
|
@ -57,6 +57,8 @@ __attribute__ ((noreturn)) void generic_panic(void);
|
|||
__attribute__ ((noreturn)) void panic_predefined(uint32_t which);
|
||||
bool overlaps(uint64_t as, uint64_t ae, uint64_t bs, uint64_t be);
|
||||
|
||||
uintptr_t get_iram_address_for_debug(void);
|
||||
|
||||
static inline uintptr_t get_physical_address(const void *vaddr) {
|
||||
uintptr_t PAR;
|
||||
__asm__ __volatile__ ("at s1e3r, %0" :: "r"(vaddr));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue