Better comment and mask representation
@@ -24,10 +24,10 @@ bitflags! {
}
pub const ADDRESS_MASK: usize = 0x000f_ffff_ffff_f000;
-pub const COUNTER_MASK: u64 = 0x3ff00000_00000000;
+pub const COUNTER_MASK: u64 = 0x3ff0_0000_0000_0000;
impl Entry {
- /// Zero entry
+ /// Clear entry
pub fn set_zero(&mut self) {
self.0 = 0;
}
