We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea320a2 commit 113ca64Copy full SHA for 113ca64
src/hyperlight_common/src/mem.rs
@@ -17,6 +17,8 @@ limitations under the License.
17
pub const PAGE_SHIFT: u64 = 12;
18
pub const PAGE_SIZE: u64 = 1 << 12;
19
pub const PAGE_SIZE_USIZE: usize = 1 << 12;
20
+// The number of pages in 1 "block". A single u64 can be used as bitmap to keep track of all dirty pages in a block.
21
+pub const PAGES_IN_BLOCK: usize = 64;
22
23
/// A memory region in the guest address space
24
#[derive(Debug, Clone, Copy)]
0 commit comments