Date: Wed, 18 Aug 2010 12:52:21 +0000 (UTC) From: "Jayachandran C." <jchandra@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/mips/include cpuregs.h vmparam.h src/sys/mips/mips exception.S pmap.c Message-ID: <201008181252.o7ICqRKV026801@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jchandra 2010-08-18 12:52:21 UTC
FreeBSD src repository
Modified files:
sys/mips/include cpuregs.h vmparam.h
sys/mips/mips exception.S pmap.c
Log:
SVN rev 211453 on 2010-08-18 12:52:21Z by jchandra
MIPS n64 support - continued...
1. On n64, use XKPHYS to map page table pages instead of KSEG0. Maintain
just one freepages list on n64.
The changes are mainly to introduce MIPS_PHYS_TO_DIRECT(pa),
MIPS_DIRECT_TO_PHYS(), which will use KSEG0 in 32 bit compilation
and XKPHYS in 64 bit compilation.
2. Change macro based PMAP_LMEM_MAP1(), PMAP_LMEM_MAP2(), PMAP_LMEM_UNMAP()
to inline functions.
3. Introduce MIPS_DIRECT_MAPPABLE(pa), which will further reduce the cases
in which we will need to have a special case for 64 bit compilation.
4. Update CP0 hazard definitions for CPU_RMI - the cpu does not need any
nops
Reviewed by: neel
Revision Changes Path
1.13 +23 -9 src/sys/mips/include/cpuregs.h
1.11 +2 -2 src/sys/mips/include/vmparam.h
1.26 +1 -1 src/sys/mips/mips/exception.S
1.80 +188 -222 src/sys/mips/mips/pmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008181252.o7ICqRKV026801>
