1
0
Fork 0
forked from koniifer/ableos

fixed the number of registers BRC copies

This commit is contained in:
Egggggg 2023-07-12 13:12:00 -04:00
parent 5afd081c2a
commit 898738fb40

View file

@ -256,7 +256,7 @@ impl<'a, PfHandler: HandlePageFault, const TIMER_QUOTIENT: usize>
core::ptr::copy(
self.registers.get_unchecked(usize::from(src)),
self.registers.get_unchecked_mut(usize::from(dst)),
usize::from(count * 8),
usize::from(count),
);
}
JMP => {