mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-08 10:22:24 -04:00
thermosphere: refactor crt0 + watchpoint init
This commit is contained in:
parent
dc3f87a715
commit
9bc0ed2f70
13 changed files with 89 additions and 85 deletions
|
@ -33,7 +33,17 @@
|
|||
|
||||
#define ALINLINE __attribute__((always_inline))
|
||||
|
||||
#define TEMPORARY __attribute__((section(".temp")))
|
||||
#define TEMPORARY __attribute__((section(".tempbss")))
|
||||
|
||||
static inline void __dsb_sy(void)
|
||||
{
|
||||
__asm__ __volatile__ ("dsb sy" ::: "memory");
|
||||
}
|
||||
|
||||
static inline void __isb(void)
|
||||
{
|
||||
__asm__ __volatile__ ("isb" ::: "memory");
|
||||
}
|
||||
|
||||
bool overlaps(u64 as, u64 ae, u64 bs, u64 be);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue