Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
67aa3d6b878c5deea8d14054cce700ac1d045505
/
.
/
src
/
arch
/
x86
/
include
/
arch
/
hlt.h
blob: ddfe1699546eff7e14bce1a146a97e7bb924d722 [
file
] [
log
] [
blame
]
#ifndef
ARCH_HLT_H
#define
ARCH_HLT_H
#if defined(__ROMCC__)
static
void
hlt
(
void
)
{
__builtin_hlt
();
}
#else
static
inline
__attribute__
((
always_inline
))
void
hlt
(
void
)
{
asm
(
"hlt"
);
}
#endif
#endif
/* ARCH_HLT_H */