mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
Adjust comments referencing vm_mem_init()
I cannot find a time where the function was not named this. Reviewed by: kib, markj MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45383
This commit is contained in:
parent
079f60541f
commit
deab57178f
|
@ -1609,8 +1609,8 @@ nkpt_init(vm_paddr_t addr)
|
||||||
* Secondly, device memory mapped as part of setting up the low-
|
* Secondly, device memory mapped as part of setting up the low-
|
||||||
* level console(s) is taken from KVA, starting at virtual_avail.
|
* level console(s) is taken from KVA, starting at virtual_avail.
|
||||||
* This is because cninit() is called after pmap_bootstrap() but
|
* This is because cninit() is called after pmap_bootstrap() but
|
||||||
* before vm_init() and pmap_init(). 20MB for a frame buffer is
|
* before vm_mem_init() and pmap_init(). 20MB for a frame buffer
|
||||||
* not uncommon.
|
* is not uncommon.
|
||||||
*/
|
*/
|
||||||
pt_pages += 32; /* 64MB additional slop. */
|
pt_pages += 32; /* 64MB additional slop. */
|
||||||
#endif
|
#endif
|
||||||
|
@ -2449,7 +2449,8 @@ pmap_init_pv_table(void)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize the pmap module.
|
* Initialize the pmap module.
|
||||||
* Called by vm_init, to initialize any structures that the pmap
|
*
|
||||||
|
* Called by vm_mem_init(), to initialize any structures that the pmap
|
||||||
* system needs to map virtual memory.
|
* system needs to map virtual memory.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
|
|
@ -1705,8 +1705,9 @@ pmap_pt2pg_init(pmap_t pmap, vm_offset_t va, vm_page_t m)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize the pmap module.
|
* Initialize the pmap module.
|
||||||
* Called by vm_init, to initialize any structures that the pmap
|
*
|
||||||
* system needs to map virtual memory.
|
* Called by vm_mem_init(), to initialize any structures that the pmap system
|
||||||
|
* needs to map virtual memory.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
pmap_init(void)
|
pmap_init(void)
|
||||||
|
|
|
@ -1629,7 +1629,8 @@ pmap_init_pv_table(void)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize the pmap module.
|
* Initialize the pmap module.
|
||||||
* Called by vm_init, to initialize any structures that the pmap
|
*
|
||||||
|
* Called by vm_mem_init(), to initialize any structures that the pmap
|
||||||
* system needs to map virtual memory.
|
* system needs to map virtual memory.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
|
|
@ -952,7 +952,8 @@ pmap_ptelist_init(vm_offset_t *head, void *base, int npages)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize the pmap module.
|
* Initialize the pmap module.
|
||||||
* Called by vm_init, to initialize any structures that the pmap
|
*
|
||||||
|
* Called by vm_mem_init(), to initialize any structures that the pmap
|
||||||
* system needs to map virtual memory.
|
* system needs to map virtual memory.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -1266,7 +1266,8 @@ malloc_init(void *data)
|
||||||
struct malloc_type_internal *mtip;
|
struct malloc_type_internal *mtip;
|
||||||
struct malloc_type *mtp;
|
struct malloc_type *mtp;
|
||||||
|
|
||||||
KASSERT(vm_cnt.v_page_count != 0, ("malloc_register before vm_init"));
|
KASSERT(vm_cnt.v_page_count != 0,
|
||||||
|
("malloc_init() called before vm_mem_init()"));
|
||||||
|
|
||||||
mtp = data;
|
mtp = data;
|
||||||
if (mtp->ks_version != M_VERSION)
|
if (mtp->ks_version != M_VERSION)
|
||||||
|
|
|
@ -1055,8 +1055,9 @@ mmu_booke_kextract(vm_offset_t va)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize the pmap module.
|
* Initialize the pmap module.
|
||||||
* Called by vm_init, to initialize any structures that the pmap
|
*
|
||||||
* system needs to map virtual memory.
|
* Called by vm_mem_init(), to initialize any structures that the pmap system
|
||||||
|
* needs to map virtual memory.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
mmu_booke_init(void)
|
mmu_booke_init(void)
|
||||||
|
|
|
@ -759,7 +759,8 @@ pmap_page_init(vm_page_t m)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize the pmap module.
|
* Initialize the pmap module.
|
||||||
* Called by vm_init, to initialize any structures that the pmap
|
*
|
||||||
|
* Called by vm_mem_init(), to initialize any structures that the pmap
|
||||||
* system needs to map virtual memory.
|
* system needs to map virtual memory.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
|
|
@ -101,7 +101,7 @@ static void vm_mem_init(void *);
|
||||||
SYSINIT(vm_mem, SI_SUB_VM, SI_ORDER_FIRST, vm_mem_init, NULL);
|
SYSINIT(vm_mem, SI_SUB_VM, SI_ORDER_FIRST, vm_mem_init, NULL);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* vm_init initializes the virtual memory system.
|
* vm_mem_init() initializes the virtual memory system.
|
||||||
* This is done only by the first cpu up.
|
* This is done only by the first cpu up.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue