summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2005-06-10 03:33:36 +0000
committeralc <alc@FreeBSD.org>2005-06-10 03:33:36 +0000
commit2d109601cbaeb90e93aad0948a9367a78f196f9d (patch)
tree1fda0878f37dc5e54399f30ad5588c0876f46516 /sys/powerpc/aim
parent5273b0bf9faa803d4d586ba6d8c03c9d340e85c9 (diff)
downloadFreeBSD-src-2d109601cbaeb90e93aad0948a9367a78f196f9d.zip
FreeBSD-src-2d109601cbaeb90e93aad0948a9367a78f196f9d.tar.gz
Introduce a procedure, pmap_page_init(), that initializes the
vm_page's machine-dependent fields. Use this function in vm_pageq_add_new_page() so that the vm_page's machine-dependent and machine-independent fields are initialized at the same time. Remove code from pmap_init() for initializing the vm_page's machine-dependent fields. Remove stale comments from pmap_init(). Eliminate the Boolean variable pmap_initialized from the alpha, amd64, i386, and ia64 pmap implementations. Its use is no longer required because of the above changes and earlier changes that result in physical memory that is being mapped at initialization time being mapped without pv entries. Tested by: cognet, kensmith, marcel
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/mmu_oea.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c
index 8c6808c..2ea798d 100644
--- a/sys/powerpc/aim/mmu_oea.c
+++ b/sys/powerpc/aim/mmu_oea.c
@@ -1136,6 +1136,14 @@ pmap_growkernel(vm_offset_t addr)
{
}
+/*
+ * Initialize a vm_page's machine-dependent fields.
+ */
+void
+pmap_page_init(vm_page_t m)
+{
+}
+
void
pmap_init(void)
{
OpenPOWER on IntegriCloud