Prevent cpuid get_extended_function_info panic

A kernel panic occurs on some CPUs (notably qemu-system-x86_64) when
calling rust-cpuid's get_extended_function_info.  This is fixed upstream
in commit c3ebfc553cdff98d19d29777fd85c4f9182bfb66 but has yet to make
it crates.io.

The panic can by triggered by running "ls sys:" from ion and causes
redox to become unresponsive.
This commit is contained in:
Paul Sbarra
2017-03-16 22:32:57 -05:00
parent 7dd8de777d
commit d667fa61e6

View File

@@ -5,7 +5,7 @@ version = "0.1.0"
[dependencies]
alloc_kernel = { path = "../../alloc_kernel/" }
bitflags = "0.7"
raw-cpuid = "2.0"
raw-cpuid = { git = "https://github.com/gz/rust-cpuid", branch = "master" }
spin = "0.4"
redox_syscall = "0.1"