diff options
-rw-r--r-- | src/long_mode/mod.rs | 2 | ||||
-rw-r--r-- | src/protected_mode/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index 05eee0a..e0a1fdf 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -2765,7 +2765,7 @@ impl Prefixes { } } #[inline] - fn rep(&self) -> bool { self.bits & 0x30 == 0x10 } + pub fn rep(&self) -> bool { self.bits & 0x30 == 0x10 } #[inline] fn set_rep(&mut self) { self.bits = (self.bits & 0xcf) | 0x10 } #[inline] diff --git a/src/protected_mode/mod.rs b/src/protected_mode/mod.rs index 76af3a1..58d7a85 100644 --- a/src/protected_mode/mod.rs +++ b/src/protected_mode/mod.rs @@ -2726,7 +2726,7 @@ impl Prefixes { }; } #[inline] - fn rep(&self) -> bool { self.bits & 0x30 == 0x10 } + pub fn rep(&self) -> bool { self.bits & 0x30 == 0x10 } #[inline] fn set_rep(&mut self) { self.bits = (self.bits & 0xcf) | 0x10 } #[inline] |