fix(amd64): fix wrong layout for cr0

This commit is contained in:
Loïc Grégoire
2026-04-19 19:27:43 -04:00
parent e235565d81
commit bd60d727fb
+2 -2
View File
@@ -243,7 +243,7 @@ pub const Cr0 = packed struct(u64) {
ts: bool,
et: bool,
ne: bool,
reserved0: u11,
reserved0: u10,
wp: bool,
reserved1: u1,
am: bool,
@@ -251,7 +251,7 @@ pub const Cr0 = packed struct(u64) {
nw: bool,
cd: bool,
pg: bool,
reserved3: u31,
reserved3: u32,
};
comptime {