16 lines
342 B
C
16 lines
342 B
C
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||
|
|
/*
|
||
|
|
* Copyright (C) 2025 Chen Miao
|
||
|
|
*/
|
||
|
|
|
||
|
|
#ifndef __ASM_OPENRISC_INSN_DEF_H
|
||
|
|
#define __ASM_OPENRISC_INSN_DEF_H
|
||
|
|
|
||
|
|
/* or1k instructions are always 32 bits. */
|
||
|
|
#define OPENRISC_INSN_SIZE 4
|
||
|
|
|
||
|
|
/* or1k nop instruction code */
|
||
|
|
#define OPENRISC_INSN_NOP 0x15000000U
|
||
|
|
|
||
|
|
#endif /* __ASM_OPENRISC_INSN_DEF_H */
|