DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

drv_munmap(D3)


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)

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.

Arguments


uvaddrp
User address at which an object is mapped.

len
Size of the mapping in bytes.

Return values

None.

Usage

The uvaddr parameter should contain the address returned from the drv_mmap(D3) function in the *uvaddrp argument. The len parameter should contain the same value as was passed to drv_mmap.

Context and synchronization

User context.

Hardware applicability

All

Version applicability

ddi: 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp

Differences between versions

While the drv_munmap( ) function is included in the DDI 8 definition, the corresponding drv_mmap(D3) function is withdrawn from DDI 8 so there is no occasion to use this function in DDI 8 drivers.

References

drv_mmap(D3)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005