You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/instructions/tlb.rs
+11-6Lines changed: 11 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ pub fn flush_all() {
30
30
31
31
/// The Invalidate PCID Command to execute.
32
32
#[derive(Debug)]
33
-
pubenumInvPicdCommand{
33
+
pubenumInvPcidCommand{
34
34
/// The logical processor invalidates mappings—except global translations—for the linear address and PCID specified.
35
35
Address(VirtAddr,Pcid),
36
36
@@ -44,6 +44,11 @@ pub enum InvPicdCommand {
44
44
AllExceptGlobal,
45
45
}
46
46
47
+
// TODO: Remove this in the next breaking release.
48
+
#[deprecated = "please use `InvPcidCommand` instead"]
49
+
#[doc(hidden)]
50
+
pubtypeInvPicdCommand = InvPcidCommand;
51
+
47
52
/// The INVPCID descriptor comprises 128 bits and consists of a PCID and a linear address.
48
53
/// For INVPCID type 0, the processor uses the full 64 bits of the linear address even outside 64-bit mode; the linear address is not used for other INVPCID types.
49
54
#[repr(C)]
@@ -93,25 +98,25 @@ impl fmt::Display for PcidTooBig {
93
98
///
94
99
/// This function is unsafe as it requires CPUID.(EAX=07H, ECX=0H):EBX.INVPCID to be 1.
0 commit comments