drv_munmap(D3) drv_munmap(D3)
NAME
drv_munmap - release user mapping of kernel virtual or
physical addresses
SYNOPSIS
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/ddi.h>
void drv_munmap(vaddr_t uvaddr, size_t len)
Arguments
uvaddrp User address at which an object is mapped.
len Size of the mapping in bytes.
DESCRIPTION
drvmunmap releases a mapping acquired by drv_mmap(D3), which
sets up a user mapping to a range of kernel virtual or
physical addresses.
Return Values
None.
USAGE
The uvaddr parameter should contain the address returned from
drv_mmap in *uvaddrp. The len parameter should contain the
same value as was passed to drv_mmap.
Level
Base only.
Synchronization Constraints
Can sleep.
Basic locks may not be held, but sleep locks may be held.
REFERENCES
drv_mmap(D3)
NOTICES
Portability
All processors
Applicability
ddi: 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 1