- Moved hlt() to it's own header.
[coreboot.git] / src / arch / i386 / include / arch / hlt.h
1 #ifndef ARCH_HLT_H
2 #define ARCH_HLT_H
3
4 #ifdef __ROMCC__
5 static void hlt(void)
6 {
7         __builtin_hlt();
8 }
9
10 #endif
11
12 #ifdef __GNUC__
13 static inline void hlt(void)
14 {
15         asm("hlt");
16         return;
17 }
18 #endif
19
20 #endif /* ARCH_HLT_H */