freebsd-skq/sys/powerpc
Alan Cox 6031c68de4 The page flag PGA_WRITEABLE is set and cleared exclusively by the pmap
layer, but it is read directly by the MI VM layer.  This change introduces
pmap_page_is_write_mapped() in order to completely encapsulate all direct
access to PGA_WRITEABLE in the pmap layer.

Aesthetics aside, I am making this change because amd64 will likely begin
using an alternative method to track write mappings, and having
pmap_page_is_write_mapped() in place allows me to make such a change
without further modification to the MI VM layer.

As an added bonus, tidy up some nearby comments concerning page flags.

Reviewed by:	kib
MFC after:	6 weeks
2012-06-16 18:56:19 +00:00
..
aim Fix physical address type to vm_paddr_t also for powerpc64. 2012-05-25 18:17:26 +00:00
booke Panic openly if we cannot retrieve memory information from the device tree. 2012-05-30 18:05:48 +00:00
compile
conf Let us manage differences of Book-E PowerPC variations i.e. vendor / 2012-05-27 10:25:20 +00:00
cpufreq Remove unused variables. Spotted by a cppcheck 2011-01-06 20:19:01 +00:00
fpu Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
include The page flag PGA_WRITEABLE is set and cleared exclusively by the pmap 2012-06-16 18:56:19 +00:00
mambo kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
mpc85xx Import eSDHC driver for Freescale integrated controller. 2012-05-26 21:07:15 +00:00
ofw Make ofw_bus_get_node() consistently return -1 when there is no associated 2012-03-15 22:53:39 +00:00
powermac Provide a fix for certain PowerMacs where the U3 i2c lacks the interrupt 2012-03-19 18:03:20 +00:00
powerpc Let us manage differences of Book-E PowerPC variations i.e. vendor / 2012-05-27 10:25:20 +00:00
ps3 - Change contigmalloc() to use the vm_paddr_t type instead of an unsigned 2012-03-01 19:58:34 +00:00
psim Fix the interrupt code, broken 7 months ago. The interrupt framework 2011-01-29 20:58:38 +00:00