This header provides functions for controlling the excution of a hart, such as halt-like functionality. More...
#include <stddef.h>
#include <stdint.h>
#include <stdnoreturn.h>
#include "sw/device/lib/base/macros.h"
#include "sw/device/lib/base/stdasm.h"
Go to the source code of this file.
Functions | |
void | wait_for_interrupt (void) |
Hints to the processor that we don't have anything better to be doing, and to go into low-power mode until an interrupt is serviced. More... | |
void | icache_invalidate (void) |
Invalidates the instruction cache. | |
void | busy_spin_micros (uint32_t usec) |
Spin for at least the given number of microseconds. More... | |
noreturn void | abort (void) |
Immediately halt program execution. More... | |
This header provides functions for controlling the excution of a hart, such as halt-like functionality.
Definition in file hart.h.
noreturn void abort | ( | void | ) |
void busy_spin_micros | ( | uint32_t | usec | ) |