aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-07-01 01:33:35 -0700
committeriximeow <me@iximeow.net>2021-07-01 23:11:52 -0700
commit889ce5c55af062d12cdd109bac22cc05565f68a6 (patch)
treeae01e202884b6951411e46f22706438901807d41
parentc216e625815ce15d1c73cecd064888a843cca472 (diff)
making opcode u32 reduces a stall?
-rw-r--r--src/long_mode/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs
index f4c78c5..a64bab8 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_mode/mod.rs
@@ -1045,6 +1045,7 @@ const XSAVE: [Opcode; 10] = [
#[allow(non_camel_case_types)]
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
#[non_exhaustive]
+#[repr(u32)]
pub enum Opcode {
Invalid,
ADD,