unified VC4 and ARM runtime code (including C++ runtime), updated some minor bits
[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 */
7 __asm__ __volatile__ ("di");
8
9 /* loop */
10 for (;;) {
11 __asm__ __volatile__ ("nop");
12 }
13 }
This page took 0.083425 seconds and 4 git commands to generate.