Working SDHOST/FatFS, boot partition mounts, some other minor fixes too.
[rpi-open-firmware.git] / vc4_include / cpu.h
1 #pragma once
2
3 #include <hardware.h>
4
5 static inline void __attribute__((noreturn)) hang_cpu() {
6 /* disable interrupts and enter WFI state */
7 __asm__ __volatile__ (
8 "di\n"
9 "sleep\n"
10 );
11
12 /* in case the above fails */
13 for (;;) {
14 __asm__ __volatile__ ("nop");
15 }
16 }
This page took 0.065105 seconds and 4 git commands to generate.