Verified Commit 0874fabe authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add note about keeping memory entry format in sync

parent 5a9374fb
......@@ -24,6 +24,7 @@ pub enum OsKey {
Other,
}
// Keep synced with BootloaderMemoryKind in kernel
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(u64)]
pub enum OsMemoryKind {
......@@ -33,6 +34,7 @@ pub enum OsMemoryKind {
Reserved = 3,
}
// Keep synced with BootloaderMemoryEntry in kernel
#[derive(Clone, Copy, Debug)]
#[repr(packed)]
pub struct OsMemoryEntry {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment