reenable the caches when a PCI peek faults. Takes my kernel compile

from 3770 real down to 1250 real.

Submitted by:	jake
This commit is contained in:
jmg 2003-08-24 06:23:36 +00:00
parent 9471ff1849
commit a8e346ecef
2 changed files with 6 additions and 0 deletions

View File

@ -90,6 +90,8 @@ ASSYM(FPRS_DU, FPRS_DU);
ASSYM(FPRS_FEF, FPRS_FEF);
ASSYM(LSU_VW, LSU_VW);
ASSYM(LSU_IC, LSU_IC);
ASSYM(LSU_DC, LSU_DC);
ASSYM(TAR_VPN_SHIFT, TAR_VPN_SHIFT);

View File

@ -575,6 +575,10 @@ fas_nofault_end:
.globl fas_fault
ENTRY(fas_fault)
ldxa [%g0] ASI_LSU_CTL_REG, %o0
or %o0, LSU_IC | LSU_DC, %o0
stxa %o0, [%g0] ASI_LSU_CTL_REG
membar #Sync
retl
mov -1, %o0
END(fas_fault)