From 9dfa6e27328a0c7422c2b7e154494ddcf3b71b52 Mon Sep 17 00:00:00 2001 From: Mat M Date: Fri, 23 Feb 2018 08:46:06 -0500 Subject: [PATCH] start.cold/warm: Correct MSR instructions (#42) The second operand needs to be an immediate --- exosphere/start.cold.s | 2 +- exosphere/start.warm.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exosphere/start.cold.s b/exosphere/start.cold.s index 1d8ea6b7b..cb3a0d689 100644 --- a/exosphere/start.cold.s +++ b/exosphere/start.cold.s @@ -10,7 +10,7 @@ __start_cold: */ /* The following comments are mine. */ /* mask all interrupts */ - msr daifset, daif + msr daifset, 0b1111 /* Enable invalidates of branch target buffer, then flush diff --git a/exosphere/start.warm.s b/exosphere/start.warm.s index 7e06ec7c3..74f2861bb 100644 --- a/exosphere/start.warm.s +++ b/exosphere/start.warm.s @@ -10,7 +10,7 @@ __start_warm: */ /* The following comments are mine. */ /* mask all interrupts */ - msr daifset, daif + msr daifset, 0b1111 /* Enable invalidates of branch target buffer, then flush