mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 13:44:11 -04:00
kern: use different psr masks for 64 and 32-bit El0 threads
This commit is contained in:
parent
fd7a93a15f
commit
154d61f55f
4 changed files with 13 additions and 16 deletions
|
@ -36,6 +36,9 @@ namespace ams::kern::arch::arm64::cpu {
|
|||
#error "Unknown Board for cpu::NumCores"
|
||||
#endif
|
||||
|
||||
constexpr inline u32 El0Aarch64PsrMask = 0xF0000000;
|
||||
constexpr inline u32 El0Aarch32PsrMask = 0xFE0FFE20;
|
||||
|
||||
/* Initialization. */
|
||||
NOINLINE void InitializeInterruptThreads(s32 core_id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue