Skip to content

Commit

Permalink
simpl-impl
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Nov 15, 2019
1 parent c62a7b0 commit 02d13ae
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tock/chips/arty_e21/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,6 @@ impl kernel::Chip for ArtyExx {
type MPU = ();
type UserspaceKernelBoundary = rv32i::syscall::SysCall;
type SysTick = ();

fn mpu(&self) -> &Self::MPU { loop { } }

fn systick(&self) -> &Self::SysTick { loop { } }

fn userspace_kernel_boundary(&self) -> &rv32i::syscall::SysCall { loop { } }

fn service_pending_interrupts(&self) { loop { } }

fn has_pending_interrupts(&self) -> bool { loop { } }

fn sleep(&self) { loop { } }

unsafe fn atomic<F, R>(&self, _: F) -> R
where
F: FnOnce() -> R,
{ loop { } }
}

#[export_name = "_start_trap_rust"]
Expand Down

0 comments on commit 02d13ae

Please sign in to comment.