Implement more test arch features

This commit is contained in:
Jeremy Soller 2016-11-14 11:04:31 -07:00
commit 3c0abadfd0

View file

@ -23,6 +23,12 @@ pub unsafe fn halt() {
::std::thread::yield_now();
}
/// Pause instruction
#[inline(always)]
pub unsafe fn pause() {
}
/// Set interrupts and nop
#[inline(always)]
pub unsafe fn enable_and_nop() {