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, ts: bool,
et: bool, et: bool,
ne: bool, ne: bool,
reserved0: u11, reserved0: u10,
wp: bool, wp: bool,
reserved1: u1, reserved1: u1,
am: bool, am: bool,
@@ -251,7 +251,7 @@ pub const Cr0 = packed struct(u64) {
nw: bool, nw: bool,
cd: bool, cd: bool,
pg: bool, pg: bool,
reserved3: u31, reserved3: u32,
}; };
comptime { comptime {