[hypervisor][doc] Update the docs for mmio guard
Test: N/A. Only comment change.
Change-Id: Ibd46d7321432618fdc6c12ea45515d29fff0b3d4
diff --git a/libs/hyp/src/hypervisor/common.rs b/libs/hyp/src/hypervisor/common.rs
index 550fb2e..87d35b2 100644
--- a/libs/hyp/src/hypervisor/common.rs
+++ b/libs/hyp/src/hypervisor/common.rs
@@ -23,10 +23,12 @@
/// Protected VMs are auto-enrolled.
fn mmio_guard_init(&self) -> Result<()>;
- /// Maps a memory address to the hypervisor MMIO guard.
+ /// Maps a page containing the given memory address to the hypervisor MMIO guard.
+ /// The page size corresponds to the MMIO guard granule size.
fn mmio_guard_map(&self, addr: usize) -> Result<()>;
- /// Unmaps a memory address from the hypervisor MMIO guard.
+ /// Unmaps a page containing the given memory address from the hypervisor MMIO guard.
+ /// The page size corresponds to the MMIO guard granule size.
fn mmio_guard_unmap(&self, addr: usize) -> Result<()>;
/// Shares a region of memory with host, granting it read, write and execute permissions.