physmap_free(D3) physmap_free(D3)
NAME
physmap_free - free virtual address mapping for physical
addresses
SYNOPSIS
#include <sys/types.h>
#include <sys/kmem.h>
#include <sys/ddi.h>
void physmap_free(addr_t vaddr, ulong_t nbytes, uint_t flag);
Arguments
vaddr Virtual address for which the mapping will be
released.
nbytes Number of bytes in the mapping.
flag Reserved for future use (must be set to zero).
DESCRIPTION
physmap_free releases a mapping allocated by a previous call
to physmap.
Return Values
None
USAGE
Typically, physmap_free will never be called, since drivers
usually keep the mapping forever, but it is provided if a
driver wants to dynamically allocate and free mappings.
The nbytes argument must be identical to that given to
physmap. Currently, no flags are supported and the flag
argument must be set to zero.
Level
Initialization, Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
REFERENCES
physmap(D3)
Copyright 1994 Novell, Inc. Page 1
physmap_free(D3) physmap_free(D3)
NOTICES
Portability
All processors
Applicability
ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 2