Commit 4e111c94 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent fed7c147
...@@ -488,7 +488,10 @@ void _Mapping::unmap() { ...@@ -488,7 +488,10 @@ void _Mapping::unmap() {
_Mapping* mmap = this; _Mapping* mmap = this;
// XXX locking // XXX locking
mm::unmap(mmap->mem_start, mmap->mem_stop - mmap->mem_start); // XXX err?
error err = mm::unmap(mmap->mem_start, mmap->mem_stop - mmap->mem_start);
if (err != nil)
panic("TODO"); // XXX
mmap->mem_start = NULL; mmap->mem_start = NULL;
mmap->mem_stop = NULL; mmap->mem_stop = NULL;
// XXX clear other fields? // XXX clear other fields?
......
Markdown is supported
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