[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions , Volume 2


_sync_cache_range Subroutine

Purpose

Synchronizes the I cache with the D cache.

Library

Standard C Library (libc.a)

Syntax


void _sync_cache_range (eaddr, count)
caddr_t eaddr;
uint count;

Description

The _sync_cache_range subroutine synchronizes the I cache with the D cache, given an effective address and byte count. Programs performing instruction modification can call this routine to ensure that the most recent instructions are fetched for the address range.

Parameters


eaddr Specifies the starting effective address of the address range.
count Specifies the byte count of the address range.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The clf (Cache Line Flush) Instruction in AIX 5L for POWER-based Systems Assembler Language Reference.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]