Use new x86::segmentation::cs function and merge set_handler and options

We avoid inline assembly and increase safety (it is no longer possible to set the non-present initilization entries to present).
This commit is contained in:
Philipp Oppermann
2016-05-27 21:21:08 +02:00
parent 968ae00de7
commit 8540d3844b
3 changed files with 6 additions and 14 deletions

View File

@@ -18,7 +18,7 @@ git = "https://github.com/phil-opp/multiboot2-elf64"
[dependencies.x86]
default-features = false
version = "0.6.0"
version = "0.7.0"
[lib]
crate-type = ["staticlib"]