Update x86 crate to version 0.8.0 (#266)

This commit is contained in:
Philipp Oppermann
2016-12-21 14:59:57 +01:00
committed by GitHub
parent a7a9aabce7
commit 02697891e2
10 changed files with 41 additions and 41 deletions

View File

@@ -904,7 +904,7 @@ So to fix our `unmap` function, we need to remove the cached translation from th
```toml
[dependencies.x86]
version = "0.7.1"
version = "0.8.0"
default-features = false
```
It has a `performance-counter` feature that allows reading the CPU specific [performance counters] but increases compile times. We don't need it right now, so we disable it using `default-features = false`.
@@ -917,7 +917,7 @@ It has a `performance-counter` feature that allows reading the CPU specific [per
...
p1[page.p1_index()].set_unused();
unsafe {
::x86::tlb::flush(page.start_address());
::x86::shared::tlb::flush(page.start_address());
}
// TODO free p(1,2,3) table if empty
//allocator.deallocate_frame(frame);