Sign in
android-kvm
/
kvm-unit-tests
/
68128c6f0393b1f07254fdb8e4a17ad3f9bbec38
/
.
/
lib
/
riscv
/
asm
/
bug.h
blob: a6f4136ba1b69bb327dbb0cad70bbcd6936b88c1 [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef
_ASMRISCV_BUG_H_
#define
_ASMRISCV_BUG_H_
#ifndef
__ASSEMBLY__
static
inline
void
bug
(
void
)
{
asm
volatile
(
"ebreak"
);
}
#else
.
macro bug
ebreak
.
endm
#endif
#endif
/* _ASMRISCV_BUG_H_ */