Merge pull request 'Fixed the number of registers BRC copies' (#6) from bee/holey-bytes:master into master

Reviewed-on: https://git.ablecorp.us/AbleOS/holey-bytes/pulls/6
This commit is contained in:
Erin 2023-07-13 09:09:44 +00:00 committed by ondra05
commit 32e03f9bb2

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),
); );
} }
JAL => { JAL => {