diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2008-09-08 20:38:48 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2008-09-08 20:38:48 +0000 |
| commit | 2611aba1801dd557c465c1d81a201f96c4e0b6b0 (patch) | |
| tree | 6b134e49a29b46f74cd02e388d675405a35534fa /sys/boot | |
| parent | 85de9f54f845026ef7378d8ccf7a7b898f78e03f (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/sparc64/loader/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/sparc64/loader/main.c b/sys/boot/sparc64/loader/main.c index 34fe4cec1d7f..5091caa52237 100644 --- a/sys/boot/sparc64/loader/main.c +++ b/sys/boot/sparc64/loader/main.c @@ -37,6 +37,7 @@ __FBSDID("$FreeBSD$"); #include <machine/tlb.h> #include <machine/upa.h> #include <machine/ver.h> +#include <machine/vmparam.h> #include "bootstrap.h" #include "libofw.h" @@ -461,7 +462,7 @@ itlb_enter_sun4u(u_long vpn, u_long data) stxa(AA_IMMU_TAR, ASI_IMMU, TLB_TAR_VA(vpn) | TLB_TAR_CTX(TLB_CTX_KERNEL)); stxa(0, ASI_ITLB_DATA_IN_REG, data); - membar(Sync); + flush(KERNBASE); wrpr(pstate, reg, 0); } |
