Page fault on writes to unmapped physical memory
This commit is contained in:
parent
8be5c65c73
commit
b55d7deb36
|
@ -247,7 +247,7 @@ impl Memory {
|
||||||
*value = byte;
|
*value = byte;
|
||||||
}
|
}
|
||||||
None => {
|
None => {
|
||||||
error(&format!("attempting to write to unmapped physical memory address: {:#010X}", address));
|
self.exception_sender().send(Exception::PageFaultWrite(address as u32)).unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user