Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 757 → Rev 758

/kernel/trunk/arch/sparc64/include/mm/page.h
41,7 → 41,7
#define SET_PTL0_ADDRESS_ARCH(x) /**< To be removed as situation permits. */
 
/** Implementation of page hash table interface. */
#define HT_WIDTH_ARCH FRAME_WIDTH
#define HT_WIDTH_ARCH 20 /* 1M */
#define HT_HASH_ARCH(page, asid) 0
#define HT_COMPARE_ARCH(page, asid, t) 0
#define HT_SLOT_EMPTY_ARCH(t) 1
/kernel/trunk/arch/sparc64/include/mm/mmu.h
110,7 → 110,7
cr.value = asi_u64_read(ASI_LSU_CONTROL_REG, 0);
cr.im = enable;
asi_u64_write(ASI_LSU_CONTROL_REG, 0, cr.value);
flush();
membar();
}
 
/** Disable or Enable DMMU. */
121,7 → 121,7
cr.value = asi_u64_read(ASI_LSU_CONTROL_REG, 0);
cr.dm = enable;
asi_u64_write(ASI_LSU_CONTROL_REG, 0, cr.value);
flush();
membar();
}
 
#endif
/kernel/trunk/arch/sparc64/include/barrier.h
51,4 → 51,9
__asm__ volatile ("flush %sp\n"); /* %sp is guaranteed to reference mapped memory */
}
 
static inline void membar(void)
{
__asm__ volatile ("membar #Sync\n");
}
 
#endif