summaryrefslogtreecommitdiffstats
path: root/target/moxie/mmu.h
diff options
context:
space:
mode:
authorMarkus Armbruster2019-06-04 20:16:18 +0200
committerMarkus Armbruster2019-06-12 13:20:21 +0200
commitf91005e195e7e1485e60cb121731589960f1a3c9 (patch)
treee734135671b02f0c6bbf5785006401843e925a06 /target/moxie/mmu.h
parentClean up a few header guard symbols (diff)
downloadqemu-f91005e195e7e1485e60cb121731589960f1a3c9.tar.gz
qemu-f91005e195e7e1485e60cb121731589960f1a3c9.tar.xz
qemu-f91005e195e7e1485e60cb121731589960f1a3c9.zip
Supply missing header guards
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190604181618.19980-5-armbru@redhat.com>
Diffstat (limited to 'target/moxie/mmu.h')
-rw-r--r--target/moxie/mmu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/moxie/mmu.h b/target/moxie/mmu.h
index 284a44d18e..d80690f4d2 100644
--- a/target/moxie/mmu.h
+++ b/target/moxie/mmu.h
@@ -1,3 +1,6 @@
+#ifndef TARGET_MOXIE_MMU_H
+#define TARGET_MOXIE_MMU_H
+
#define MOXIE_MMU_ERR_EXEC 0
#define MOXIE_MMU_ERR_READ 1
#define MOXIE_MMU_ERR_WRITE 2
@@ -12,3 +15,5 @@ typedef struct {
int moxie_mmu_translate(MoxieMMUResult *res,
CPUMoxieState *env, uint32_t vaddr,
int rw, int mmu_idx);
+
+#endif