👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

NetBSD 6.1.5 - man page for arm_sync_icache (netbsd section 2)

ARM_SYNC_ICACHE(2)		     BSD System Calls Manual		       ARM_SYNC_ICACHE(2)

NAME
     arm_sync_icache -- clean the CPU data cache and flush the CPU instruction cache

LIBRARY
     ARM Architecture Library (libarm, -larm)

SYNOPSIS
     #include <machine/sysarch.h>

     int
     arm_sync_icache(u_int addr, int len);

DESCRIPTION
     arm_sync_icache() will make sure that all the entries in the processor instruction cache are
     synchronized with main memory and that any data in a write back cache has been cleaned.
     Some ARM processors (e.g. SA110) have separate instruction and data caches thus any dynami-
     cally generated or modified code needs to be written back from any data caches to main mem-
     ory and the instruction cache needs to be synchronized with main memory.

     On such processors arm_sync_icache() will clean the data cache and invalidate the processor
     instruction cache to force reloading from main memory.  On processors that have a shared
     instruction and data cache and have a write through cache (e.g. ARM6) no action needs to be
     taken.

     The routine takes a start address addr and a length len to describe the area of memory that
     needs to be cleaned and synchronized.

ERRORS
     arm_sync_icache() will never fail so will always return 0.

REFERENCES
     StrongARM Data Sheet

BSD					  March 29, 2002				      BSD


All times are GMT -4. The time now is 09:05 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?