mmu.h (3924a9aa02fa00a256ddcfe2d6a08bc410ddcaaf) mmu.h (f0f7e7f7b284f536389a3c5b67de681055325317)
1/*
2 * Microblaze MMU emulation for qemu.
3 *
4 * Copyright (c) 2009 Edgar E. Iglesias
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 76 unchanged lines hidden (view full) ---

85 enum {
86 ERR_PROT, ERR_MISS, ERR_HIT
87 } err;
88};
89
90unsigned int mmu_translate(struct microblaze_mmu *mmu,
91 struct microblaze_mmu_lookup *lu,
92 target_ulong vaddr, int rw, int mmu_idx);
1/*
2 * Microblaze MMU emulation for qemu.
3 *
4 * Copyright (c) 2009 Edgar E. Iglesias
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 76 unchanged lines hidden (view full) ---

85 enum {
86 ERR_PROT, ERR_MISS, ERR_HIT
87 } err;
88};
89
90unsigned int mmu_translate(struct microblaze_mmu *mmu,
91 struct microblaze_mmu_lookup *lu,
92 target_ulong vaddr, int rw, int mmu_idx);
93uint32_t mmu_read(CPUMBState *env, uint32_t rn);
94void mmu_write(CPUMBState *env, uint32_t rn, uint32_t v);
93uint32_t mmu_read(CPUMBState *env, bool ea, uint32_t rn);
94void mmu_write(CPUMBState *env, bool ea, uint32_t rn, uint32_t v);
95void mmu_init(struct microblaze_mmu *mmu);
95void mmu_init(struct microblaze_mmu *mmu);