PM_enableWriteCombine

Enable write combining for a physical memory region

Declaration

ibool PMAPI PM_enableWriteCombine(
    ulong base,
    ulong length,
    uint type);
int     PMAPI PM_enableWriteCombine(ulong base,ulong length,uint type)

Prototype In

pmapi.h

Parameters

base

Physical base address of region to write combine

length

Length of the region to write combine

type

Type of write caching to enable (PMEnableWriteCombineFlags)

 

Description

This function is used to change the write combine caching values for a physical memory region. The type of caching that can be enabled for the region can be one of the PMEnableWriteCombineFlags types.

Note that most CPU's only have a very limited number of write combine regions available, so this function must be used as sparingly as possible to ensure the hardware in the system can get the caching that it needs.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com