From 2d109601cbaeb90e93aad0948a9367a78f196f9d Mon Sep 17 00:00:00 2001 From: alc Date: Fri, 10 Jun 2005 03:33:36 +0000 Subject: 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 --- sys/powerpc/aim/mmu_oea.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys/powerpc/aim') 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) { -- cgit v1.1