summary refs log tree commit diff
path: root/aarch64/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'aarch64/src/lib.rs')
-rw-r--r--aarch64/src/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/aarch64/src/lib.rs b/aarch64/src/lib.rs
index e80c934..d5d0066 100644
--- a/aarch64/src/lib.rs
+++ b/aarch64/src/lib.rs
@@ -183,12 +183,10 @@ impl std::error::Error for Error {}
 
 #[derive(Clone, Copy, Debug, MsgOnSocket)]
 pub struct MemoryParams {
-    size: u64,
+    pub size: u64,
 }
 
 impl MemoryParams {
-    // This should never be public to prevent architecture-specific code,
-    // but pub(crate) would be okay.
     fn new(components: &VmComponents) -> Self {
         MemoryParams {
             size: components.memory_size,