We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b14973 commit 2c5fb2dCopy full SHA for 2c5fb2d
include/zephyr/arch/riscv/reg.h
@@ -7,6 +7,8 @@
7
#ifndef ZEPHYR_INCLUDE_ZEPHYR_ARCH_RISCV_REG_H_
8
#define ZEPHYR_INCLUDE_ZEPHYR_ARCH_RISCV_REG_H_
9
10
+#include <zephyr/sys/util.h>
11
+
12
#define reg_read(reg) \
13
({ \
14
register unsigned long __rv; \
0 commit comments