//\r
\r
#include <AsmMacroIoLibV8.h>\r
+#include <Chipset/AArch64.h>\r
\r
#ifndef __clang__\r
// Register definitions used by GCC for GICv3 access.\r
\r
// Remove the SCR.NS bit\r
mrs x0, scr_el3\r
- bic x0, x0, #1\r
+ and x0, x0, #~SCR_NS\r
msr scr_el3, x0\r
ret\r