Add a stub for pmap_align_superpage() on machines that don't (yet)
implement pmap-level support for superpages.
This commit is contained in:
parent
1d60f0ffa3
commit
2d17f90775
@ -4355,6 +4355,16 @@ pmap_addr_hint(vm_object_t obj, vm_offset_t addr, vm_size_t size)
|
||||
return(addr);
|
||||
}
|
||||
|
||||
/*
|
||||
* Increase the starting virtual address of the given mapping if a
|
||||
* different alignment might result in more superpage mappings.
|
||||
*/
|
||||
void
|
||||
pmap_align_superpage(vm_object_t object, vm_ooffset_t offset,
|
||||
vm_offset_t *addr, vm_size_t size)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Map a set of physical memory pages into the kernel virtual
|
||||
|
@ -2266,6 +2266,16 @@ pmap_addr_hint(vm_object_t obj, vm_offset_t addr, vm_size_t size)
|
||||
return addr;
|
||||
}
|
||||
|
||||
/*
|
||||
* Increase the starting virtual address of the given mapping if a
|
||||
* different alignment might result in more superpage mappings.
|
||||
*/
|
||||
void
|
||||
pmap_align_superpage(vm_object_t object, vm_ooffset_t offset,
|
||||
vm_offset_t *addr, vm_size_t size)
|
||||
{
|
||||
}
|
||||
|
||||
#include "opt_ddb.h"
|
||||
|
||||
#ifdef DDB
|
||||
|
@ -2851,6 +2851,16 @@ pmap_addr_hint(vm_object_t obj, vm_offset_t addr, vm_size_t size)
|
||||
return addr;
|
||||
}
|
||||
|
||||
/*
|
||||
* Increase the starting virtual address of the given mapping if a
|
||||
* different alignment might result in more superpage mappings.
|
||||
*/
|
||||
void
|
||||
pmap_align_superpage(vm_object_t object, vm_ooffset_t offset,
|
||||
vm_offset_t *addr, vm_size_t size)
|
||||
{
|
||||
}
|
||||
|
||||
int pmap_pid_dump(int pid);
|
||||
|
||||
int
|
||||
|
@ -303,6 +303,16 @@ pmap_addr_hint(vm_object_t obj, vm_offset_t addr, vm_size_t size)
|
||||
return (MMU_ADDR_HINT(mmu_obj, obj, addr, size));
|
||||
}
|
||||
|
||||
/*
|
||||
* Increase the starting virtual address of the given mapping if a
|
||||
* different alignment might result in more superpage mappings.
|
||||
*/
|
||||
void
|
||||
pmap_align_superpage(vm_object_t object, vm_ooffset_t offset,
|
||||
vm_offset_t *addr, vm_size_t size)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -1984,3 +1984,13 @@ pmap_addr_hint(vm_object_t object, vm_offset_t va, vm_size_t size)
|
||||
|
||||
return (va);
|
||||
}
|
||||
|
||||
/*
|
||||
* Increase the starting virtual address of the given mapping if a
|
||||
* different alignment might result in more superpage mappings.
|
||||
*/
|
||||
void
|
||||
pmap_align_superpage(vm_object_t object, vm_ooffset_t offset,
|
||||
vm_offset_t *addr, vm_size_t size)
|
||||
{
|
||||
}
|
||||
|
@ -430,6 +430,16 @@ pmap_addr_hint(vm_object_t object, vm_offset_t va, vm_size_t size)
|
||||
return (va);
|
||||
}
|
||||
|
||||
/*
|
||||
* Increase the starting virtual address of the given mapping if a
|
||||
* different alignment might result in more superpage mappings.
|
||||
*/
|
||||
void
|
||||
pmap_align_superpage(vm_object_t object, vm_ooffset_t offset,
|
||||
vm_offset_t *addr, vm_size_t size)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Bootstrap the system enough to run with virtual memory.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user