projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
014f451
)
fixed a bad merge from linux<->tru64
author
Ali Saidi
<saidi@eecs.umich.edu>
Thu, 8 Jul 2004 04:28:02 +0000
(
00:28
-0400)
committer
Ali Saidi
<saidi@eecs.umich.edu>
Thu, 8 Jul 2004 04:28:02 +0000
(
00:28
-0400)
--HG--
extra : convert_revision :
d7a5acd89a2bdc013c8a2bd022cc7048a3920f01
arch/alpha/vtophys.cc
patch
|
blob
|
history
diff --git
a/arch/alpha/vtophys.cc
b/arch/alpha/vtophys.cc
index f4b2c7ed3e0ec52c83ebcc66886e4cf8aa09f0c3..464ed41e6d232e032ef7caf94ea65e964e320e32 100644
(file)
--- a/
arch/alpha/vtophys.cc
+++ b/
arch/alpha/vtophys.cc
@@
-100,11
+100,11
@@
vtophys(ExecContext *xc, Addr vaddr)
//so I put it back in. Perhaps something to do with gdb debugging?
if (PC_PAL(vaddr)) {
paddr = vaddr & ~ULL(1);
- } else if (!ptbr) {
- paddr = vaddr;
} else {
if (vaddr >= ALPHA_K0SEG_BASE && vaddr <= ALPHA_K0SEG_END) {
paddr = ALPHA_K0SEG_TO_PHYS(vaddr);
+ } else if (!ptbr) {
+ paddr = vaddr;
} else {
Addr pte = kernel_pte_lookup(xc->physmem, ptbr, vaddr);
uint64_t entry = xc->physmem->phys_read_qword(pte);