Register new snapshots
This commit is contained in:
parent
b25e100173
commit
52edb2ecc9
34 changed files with 8002 additions and 7220 deletions
|
|
@ -1182,15 +1182,13 @@ pub fn page_size() -> uint {
|
|||
///
|
||||
/// The memory map is released (unmapped) when the destructor is run, so don't
|
||||
/// let it leave scope by accident if you want it to stick around.
|
||||
#[allow(missing_copy_implementations)]
|
||||
pub struct MemoryMap {
|
||||
data: *mut u8,
|
||||
len: uint,
|
||||
kind: MemoryMapKind,
|
||||
}
|
||||
|
||||
#[cfg(not(stage0))]
|
||||
impl Copy for MemoryMap {}
|
||||
|
||||
/// Type of memory map
|
||||
pub enum MemoryMapKind {
|
||||
/// Virtual memory map. Usually used to change the permissions of a given
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue