summaryrefslogtreecommitdiffstats
path: root/target/microblaze/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/microblaze/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/microblaze/mmu.h')
-rw-r--r--target/microblaze/mmu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/microblaze/mmu.h b/target/microblaze/mmu.h
index a4272b6356..75e5301c79 100644
--- a/target/microblaze/mmu.h
+++ b/target/microblaze/mmu.h
@@ -17,6 +17,9 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef TARGET_MICROBLAZE_MMU_H
+#define TARGET_MICROBLAZE_MMU_H
+
#define MMU_R_PID 0
#define MMU_R_ZPR 1
#define MMU_R_TLBX 2
@@ -93,3 +96,5 @@ unsigned int mmu_translate(struct microblaze_mmu *mmu,
uint32_t mmu_read(CPUMBState *env, bool ea, uint32_t rn);
void mmu_write(CPUMBState *env, bool ea, uint32_t rn, uint32_t v);
void mmu_init(struct microblaze_mmu *mmu);
+
+#endif