arm_sync_icache man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

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 dynamically generated
     or modified code needs to be written back from any data caches to main
     memory and the instruction cache needs to be synchronized with main mem‐
     ory.

     On such processors arm_sync_icache() will clean the data cache and inval‐
     idate the processor instruction cache to force reloading from main mem‐
     ory.  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
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net