diff options
| author | Peter Grehan <grehan@FreeBSD.org> | 2005-09-10 21:03:10 +0000 |
|---|---|---|
| committer | Peter Grehan <grehan@FreeBSD.org> | 2005-09-10 21:03:10 +0000 |
| commit | 72ed31087bf68e09641d6df31ba9a2f34475572b (patch) | |
| tree | 03080393cdb1af127efea5abfef5aec208566f2e /sys | |
| parent | a8f01390e1f8beadbc5a4afa846ecb71743bb313 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/powerpc/aim/mmu_oea.c | 3 | ||||
| -rw-r--r-- | sys/powerpc/powerpc/mmu_oea.c | 3 | ||||
| -rw-r--r-- | sys/powerpc/powerpc/pmap.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c index e3515d551e36..7f4455e43057 100644 --- a/sys/powerpc/aim/mmu_oea.c +++ b/sys/powerpc/aim/mmu_oea.c @@ -569,7 +569,8 @@ pmap_bootstrap(vm_offset_t kernelstart, vm_offset_t kernelend) */ batu = BATU(0x00000000, BAT_BL_256M, BAT_Vs); batl = BATL(0x00000000, BAT_M, BAT_PP_RW); - __asm ("mtibatu 0,%0; mtibatl 0,%1; isync; \n" + __asm ("sync; isync; \n" + "mtibatu 0,%0; mtibatl 0,%1; isync; \n" "mtdbatu 0,%0; mtdbatl 0,%1; isync" :: "r"(batu), "r"(batl)); diff --git a/sys/powerpc/powerpc/mmu_oea.c b/sys/powerpc/powerpc/mmu_oea.c index e3515d551e36..7f4455e43057 100644 --- a/sys/powerpc/powerpc/mmu_oea.c +++ b/sys/powerpc/powerpc/mmu_oea.c @@ -569,7 +569,8 @@ pmap_bootstrap(vm_offset_t kernelstart, vm_offset_t kernelend) */ batu = BATU(0x00000000, BAT_BL_256M, BAT_Vs); batl = BATL(0x00000000, BAT_M, BAT_PP_RW); - __asm ("mtibatu 0,%0; mtibatl 0,%1; isync; \n" + __asm ("sync; isync; \n" + "mtibatu 0,%0; mtibatl 0,%1; isync; \n" "mtdbatu 0,%0; mtdbatl 0,%1; isync" :: "r"(batu), "r"(batl)); diff --git a/sys/powerpc/powerpc/pmap.c b/sys/powerpc/powerpc/pmap.c index e3515d551e36..7f4455e43057 100644 --- a/sys/powerpc/powerpc/pmap.c +++ b/sys/powerpc/powerpc/pmap.c @@ -569,7 +569,8 @@ pmap_bootstrap(vm_offset_t kernelstart, vm_offset_t kernelend) */ batu = BATU(0x00000000, BAT_BL_256M, BAT_Vs); batl = BATL(0x00000000, BAT_M, BAT_PP_RW); - __asm ("mtibatu 0,%0; mtibatl 0,%1; isync; \n" + __asm ("sync; isync; \n" + "mtibatu 0,%0; mtibatl 0,%1; isync; \n" "mtdbatu 0,%0; mtdbatl 0,%1; isync" :: "r"(batu), "r"(batl)); |
