FreeBSD/sys/amd64/acpica/acpi_machdep.c
/* Unmap memory previously mapped with table_map(). */
Unmap memory previously mapped with table_map().
Unmap memory previously mapped with table_map () .
static void
table_unmap(void *data, vm_offset_t length)
{
	vm_offset_t va, off;
	va = (vm_offset_t)data;
	off = va & PAGE_MASK;
	length = round_page(length + off);
	va &= ~PAGE_MASK;
	while (length > 0) {
		pmap_kremove(va);
		invlpg(va);
		va += PAGE_SIZE;
		length -= PAGE_SIZE;
	}
}
static void table_unmap ( void * data , vm_offset_t length ) { vm_offset_t va , off ; va = ( vm_offset_t ) data ; off = va & PAGE_MASK ; length = round_page ( length + off ) ; va &= ~ PAGE_MASK ; while ( length > 0 ) { pmap_kremove ( va ) ; invlpg ( va ) ; va += PAGE_SIZE ; length -= PAGE_SIZE ; } }
Unmap memory previously mapped with table_map().
Unmap memory previously mapped with table_map () .