projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba38ab8
)
PPC: BookE206: Bump MAS2 to 64bit
author
Alexander Graf
<agraf@suse.de>
Thu, 21 Jun 2012 11:34:20 +0000
(13:34 +0200)
committer
Alexander Graf
<agraf@suse.de>
Sat, 23 Jun 2012 23:04:52 +0000
(
01:04
+0200)
On 64bit capable systems, MAS2 can actually hold a 64bit virtual page
address. So increase the mask for its EPN.
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/cpu.h
patch
|
blob
|
history
diff --git
a/target-ppc/cpu.h
b/target-ppc/cpu.h
index
652a35a
..
ca2fc21
100644
(file)
--- a/
target-ppc/cpu.h
+++ b/
target-ppc/cpu.h
@@
-693,7
+693,7
@@
enum {
#define MAS1_VALID 0x80000000
#define MAS2_EPN_SHIFT 12
-#define MAS2_EPN_MASK (
0xfffff
<< MAS2_EPN_SHIFT)
+#define MAS2_EPN_MASK (
~0ULL
<< MAS2_EPN_SHIFT)
#define MAS2_ACM_SHIFT 6
#define MAS2_ACM (1 << MAS2_ACM_SHIFT)