diff options
author | kmacy <kmacy@FreeBSD.org> | 2009-12-10 03:09:35 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2009-12-10 03:09:35 +0000 |
commit | 798466d5795a04d7f7b6886898aa8aaf1910085a (patch) | |
tree | 0e4e1f896ad54df008c2f7bf69e3c08333411c29 /sys/i386/xen | |
parent | 6e354b089d9a67edb1364fc96a1a26d764f713ff (diff) | |
download | FreeBSD-src-798466d5795a04d7f7b6886898aa8aaf1910085a.zip FreeBSD-src-798466d5795a04d7f7b6886898aa8aaf1910085a.tar.gz |
- revert pmap_kenter_temporary to taking a physical address
- make minidump work
Diffstat (limited to 'sys/i386/xen')
-rw-r--r-- | sys/i386/xen/pmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/xen/pmap.c b/sys/i386/xen/pmap.c index 1b4345f..c5c3e66 100644 --- a/sys/i386/xen/pmap.c +++ b/sys/i386/xen/pmap.c @@ -3101,9 +3101,10 @@ void * pmap_kenter_temporary(vm_paddr_t pa, int i) { vm_offset_t va; + vm_paddr_t ma = xpmap_ptom(pa); va = (vm_offset_t)crashdumpmap + (i * PAGE_SIZE); - PT_SET_MA(va, (pa & ~PAGE_MASK) | PG_V | pgeflag); + PT_SET_MA(va, (ma & ~PAGE_MASK) | PG_V | pgeflag); invlpg(va); return ((void *)crashdumpmap); } |