repo.or.cz
/
qemu
/
agraf.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge remote-tracking branch 'pmaydell/arm-devs.next' into staging
[qemu/agraf.git]
/
target-moxie
/
mmu.h
blob
e01ffc22c47fc9ae24d40232f1dc3ce62ae0ffb2
1
#define MOXIE_MMU_ERR_EXEC 0
2
#define MOXIE_MMU_ERR_READ 1
3
#define MOXIE_MMU_ERR_WRITE 2
4
#define MOXIE_MMU_ERR_FLUSH 3
5
6
typedef
struct
{
7
uint32_t
phy
;
8
uint32_t
pfn
;
9
int
g
:
1
;
10
int
v
:
1
;
11
int
k
:
1
;
12
int
w
:
1
;
13
int
e
:
1
;
14
int
cause_op
;
15
}
MoxieMMUResult
;
16
17
int
moxie_mmu_translate
(
MoxieMMUResult
*
res
,
18
CPUMoxieState
*
env
,
uint32_t
vaddr
,
19
int
rw
,
int
mmu_idx
);