diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-06-04 20:16:18 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-06-12 13:20:21 +0200 |
commit | f91005e195e7e1485e60cb121731589960f1a3c9 (patch) | |
tree | e734135671b02f0c6bbf5785006401843e925a06 /target/riscv/cpu_user.h | |
parent | 37677d7db39a3c250ad661d00fb7c3b59d047b1f (diff) | |
download | qemu-f91005e195e7e1485e60cb121731589960f1a3c9.zip qemu-f91005e195e7e1485e60cb121731589960f1a3c9.tar.gz qemu-f91005e195e7e1485e60cb121731589960f1a3c9.tar.bz2 |
Supply missing header guards
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190604181618.19980-5-armbru@redhat.com>
Diffstat (limited to 'target/riscv/cpu_user.h')
-rw-r--r-- | target/riscv/cpu_user.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/riscv/cpu_user.h b/target/riscv/cpu_user.h index 52d380a..02afad6 100644 --- a/target/riscv/cpu_user.h +++ b/target/riscv/cpu_user.h @@ -1,3 +1,6 @@ +#ifndef TARGET_RISCV_CPU_USER_H +#define TARGET_RISCV_CPU_USER_H + #define xRA 1 /* return address (aka link register) */ #define xSP 2 /* stack pointer */ #define xGP 3 /* global pointer */ @@ -12,3 +15,5 @@ #define xA6 16 #define xA7 17 /* syscall number for RVI ABI */ #define xT0 5 /* syscall number for RVE ABI */ + +#endif |