diff options
author | marcel <marcel@FreeBSD.org> | 2011-07-08 16:30:54 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2011-07-08 16:30:54 +0000 |
commit | 01e4705d9340632cdd653fd1c1c7b5fcdf787dc6 (patch) | |
tree | 2bb7192d9b81ef7a4b5a7d8f380eefcf445f659d /sys/dev/gpio/gpioled.c | |
parent | 58a5a6ddbe2b9884a829893f342af97e4f3a46eb (diff) | |
download | FreeBSD-src-01e4705d9340632cdd653fd1c1c7b5fcdf787dc6.zip FreeBSD-src-01e4705d9340632cdd653fd1c1c7b5fcdf787dc6.tar.gz |
Implement basic support for memory attributes. At this time we only
distinguish between UC and WB memory so that we can map the page to
either a region 6 address (for UC) or a region 7 address (for WB).
This change is only now possible, because previously we would map
regions 6 and 7 with 256MB translations and on top of that had the
kernel mapped in region 7 using a wired translation. The introduction
of the PBVM moved the kernel into its own region and freed up region
7 and allowed us to revert to standard page-sized translations.
This commit inroduces pmap_page_to_va() that respects the attribute.
Diffstat (limited to 'sys/dev/gpio/gpioled.c')
0 files changed, 0 insertions, 0 deletions