Force scancode set, combine keyboard packets

This commit is contained in:
Jeremy Soller 2016-09-02 14:47:56 -06:00
parent f45958f449
commit 486b11eb1c
3 changed files with 39 additions and 16 deletions

View file

@ -46,7 +46,7 @@ pub fn pause() {
#[inline(never)]
pub unsafe fn stack_trace() {
let mut rbp: usize;
asm!("xchg bx, bx" : "={rbp}"(rbp) : : : "intel", "volatile");
asm!("" : "={rbp}"(rbp) : : : "intel", "volatile");
println!("TRACE: {:>016X}", rbp);
//Maximum 64 frames