Sign in
◑
Theme
android-kvm
/
kvm-unit-tests
/
HEAD
/
.
/
lib
/
riscv
/
asm
/
bug.h
blob: 8a24e0f4b0ce284b08d857164817c28215c3aa10 [
file
]
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef
_ASMRISCV_BUG_H_
#define
_ASMRISCV_BUG_H_
#ifndef
__ASSEMBLER__
static
inline
void
bug
(
void
)
{
asm
volatile
(
"ebreak"
);
}
#else
.
macro bug
ebreak
.
endm
#endif
#endif
/* _ASMRISCV_BUG_H_ */