1
0
Fork 0
forked from koniifer/ableos

whoops, fixed builds.

This commit is contained in:
Erin 2023-07-25 23:48:59 +02:00
parent 668b324cc8
commit 0f5d78bb27

View file

@ -250,7 +250,6 @@ impl<'a, PfHandler: HandlePageFault, const TIMER_QUOTIENT: usize>
BRC => { BRC => {
// Block register copy // Block register copy
let ParamBBB(src, dst, count) = self.decode(); let ParamBBB(src, dst, count) = self.decode();
extern crate std;
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)),