]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Get rid of the hardcoded constants to define cacheable memory:
authorneel <neel@FreeBSD.org>
Thu, 22 Oct 2009 02:51:31 +0000 (02:51 +0000)
committerneel <neel@FreeBSD.org>
Thu, 22 Oct 2009 02:51:31 +0000 (02:51 +0000)
commit13ab32f22fe4df363ef0e80b8fe25bf43525d799
tree1ae483f49a0862580ee54a12685514b1070502a5
parent77ad1e2255bd27784ff893eeaf5723eb7e602d7c
Get rid of the hardcoded constants to define cacheable memory:
SDRAM_ADDR_START, SDRAM_ADDR_END and SDRAM_MEM_SIZE

Instead we now keep a copy of the memory regions enumerated by
platform-specific code and use that to determine whether an address
is cacheable or not.

Approved by: imp (mentor)
sys/mips/include/md_var.h
sys/mips/include/pltfm.h [deleted file]
sys/mips/include/pmap.h
sys/mips/mips/machdep.c
sys/mips/mips/mem.c
sys/mips/mips/pmap.c
sys/mips/mips/vm_machdep.c