Query: trunc_page
OS: osf1
Section: 9r
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
trunc_page(9r) trunc_page(9r)NAMEtrunc_page - General: Truncates the specified addressSYNOPSIS#include <mach/vm_param.h> vm_offset_t trunc_page( vm_offset_t address );ARGUMENTSSpecifies the address that is being truncated to a page boundary.DESCRIPTIONThe trunc_page routine truncates the specified address to be aligned on a page boundary. This routine shields the driver writer from having to know the page size of the system, which could vary in different CPU architectures and on different CPU types within the same architec- ture. Typically, a device driver calls trunc_page in preparation for doing a DMA operation on a user's buffer. The value returned by this routine is used in the call to the vm_map_pageable routine. To use this routine, the driver writer must include the <mach/vm_param.h> header file in the driver.RETURN VALUESThe trunc_page routine returns an address truncated to a page boundary.SEE ALSORoutines: current_task(9r), round_page(9r), vm_map_pageable(9r) trunc_page(9r)
Related Man Pages |
---|
cfgmgr_get_state(9r) - osf1 |
cfgmgr_set_status(9r) - osf1 |
do_config(9r) - osf1 |
svatophys(9r) - osf1 |
wakeup(9r) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Throw my Toys out of the Pram! |
PHP Write Man Pages to MySQL DB |