fixed the number of registers BRC copies

This commit is contained in:
Egggggg 2023-07-12 13:12:00 -04:00
parent 36c5e82c52
commit 373f729452

View file

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