j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: blueswirl Date: 2008-07-17 21:10:10 +0200 (Thu, 17 Jul 2008) New Revision: 207
Modified: openbios-devel/arch/sparc64/openbios.c Log: Fix TLB entry generation
Modified: openbios-devel/arch/sparc64/openbios.c =================================================================== --- openbios-devel/arch/sparc64/openbios.c 2008-07-17 12:49:25 UTC (rev 206) +++ openbios-devel/arch/sparc64/openbios.c 2008-07-17 19:10:10 UTC (rev 207) @@ -147,7 +147,7 @@ phys <<= 32; phys |= POP();
- tte_data = phys | 0x36; + tte_data = phys | 0x8000000000000036ULL; switch (size) { case 8192: break; @@ -167,8 +167,8 @@ "r" (tte_data), "i" (ASI_DTLB_DATA_IN)); asm("stxa %0, [%1] %2\n" "stxa %3, [%%g0] %4\n" - : : "r" (virt), "r" (48), "i" (ASI_DMMU), - "r" (tte_data), "i" (ASI_DTLB_DATA_IN)); + : : "r" (virt), "r" (48), "i" (ASI_IMMU), + "r" (tte_data), "i" (ASI_ITLB_DATA_IN)); }
DECLARE_UNNAMED_NODE(mmu, INSTALL_OPEN, 0);