Skip to content
Permalink
Browse files

simpl-impl

  • Loading branch information
pnkfelix committed Nov 15, 2019
1 parent c62a7b0 commit 02d13aef0478443858d4a7bb13238858f183b4d7
Showing with 0 additions and 17 deletions.
  1. +0 −17 tock/chips/arty_e21/src/lib.rs
@@ -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"]

0 comments on commit 02d13ae

Please sign in to comment.
You can’t perform that action at this time.