Add pmap_mapbios and pmap_unmapbios. These will be needed to support acpi.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
eee7269ff8
commit
85ffc58684
@ -2936,6 +2936,18 @@ pmap_clear_modify(vm_page_t m)
|
||||
/* TODO: We lack support for tracking if a page is modified */
|
||||
}
|
||||
|
||||
void *
|
||||
pmap_mapbios(vm_paddr_t pa, vm_size_t size)
|
||||
{
|
||||
|
||||
return ((void *)PHYS_TO_DMAP(pa));
|
||||
}
|
||||
|
||||
void
|
||||
pmap_unmapbios(vm_paddr_t pa, vm_size_t size)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* Sets the memory attribute for the specified page.
|
||||
*/
|
||||
|
@ -142,7 +142,9 @@ void pmap_kremove(vm_offset_t);
|
||||
void pmap_kremove_device(vm_offset_t, vm_size_t);
|
||||
|
||||
void *pmap_mapdev(vm_offset_t, vm_size_t);
|
||||
void *pmap_mapbios(vm_paddr_t, vm_size_t);
|
||||
void pmap_unmapdev(vm_offset_t, vm_size_t);
|
||||
void pmap_unmapbios(vm_offset_t, vm_size_t);
|
||||
|
||||
boolean_t pmap_map_io_transient(vm_page_t *, vm_offset_t *, int, boolean_t);
|
||||
void pmap_unmap_io_transient(vm_page_t *, vm_offset_t *, int, boolean_t);
|
||||
|
Loading…
Reference in New Issue
Block a user