Jump to main content

##

# 2.7.19 CACHE_CacheCoherencySet Function

## C

    void CACHE_CacheCoherencySet(CACHE_COHERENCY cacheCoherency)

## Summary

Set the cache coherency attribute for kseg0.

## Description

Set the cache coherency attribute for kseg0.

## Parameters

Param | Description
--- | ---
CACHE_COHERENCY cacheCoherency | cache coherency attribute

## Returns

None.

## Example

    cacheCoherency = CACHE_WRITETHROUGH_NO_WRITEALLOCATE
    CACHE_CacheCoherencySet(cacheCoherency);

## Remarks

Use with caution. May cause unpredictable behavior in a running system.