repo.or.cz
/
kvm-userspace.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
kvm: qemu: report paravirt features on cpuid
[kvm-userspace.git]
/
qemu
/
target-cris
/
mmu.h
blob
519c0fc819aed89cc98513e0a5ccd0b5f402646e
1
#define CRIS_MMU_ERR_EXEC 0
2
#define CRIS_MMU_ERR_READ 1
3
#define CRIS_MMU_ERR_WRITE 2
4
#define CRIS_MMU_ERR_FLUSH 3
5
6
struct
cris_mmu_result_t
7
{
8
uint32_t
phy
;
9
uint32_t
pfn
;
10
int
g
:
1
;
11
int
v
:
1
;
12
int
k
:
1
;
13
int
w
:
1
;
14
int
e
:
1
;
15
int
cause_op
;
16
};
17
18
int
cris_mmu_translate
(
struct
cris_mmu_result_t
*
res
,
19
CPUState
*
env
,
uint32_t
vaddr
,
20
int
rw
,
int
mmu_idx
);