aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2021-12-10 23:37:05 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2021-12-10 23:37:05 +0100
commit25b430f13a828f6e83c309e6bff9b5d2f0d85b0d (patch)
tree594766ab62acf616a885bd402ed3c978df0c788e /src
parentf521b3ea4ce83725075ed049af14b006bed8033c (diff)
downloadmini-kvm-rs-25b430f13a828f6e83c309e6bff9b5d2f0d85b0d.tar.gz
mini-kvm-rs-25b430f13a828f6e83c309e6bff9b5d2f0d85b0d.zip
fix type in constant
Diffstat (limited to 'src')
-rw-r--r--src/x86_64.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x86_64.rs b/src/x86_64.rs
index ac153e9..db1e922 100644
--- a/src/x86_64.rs
+++ b/src/x86_64.rs
@@ -155,5 +155,5 @@ mod x86_64 {
/// Page region read/write.
///
/// If set, region reference by paging entry is writeable.
- pub const PAGE_RENTRY_RW: u64 = 1 << 1;
+ pub const PAGE_ENTRY_RW: u64 = 1 << 1;
}