arch/m68k/cpu/cpu.c File Reference


Detailed Description


Functions

int icache_status (void)
int dcache_status (void)
int cleanup_before_linux (void)


Function Documentation

int cleanup_before_linux ( void   ) 

Prepare a "clean" CPU for Linux to run.

Returns:
0 (always)
This function is called by the generic barebox part just before we call Linux. It prepares the processor for Linux.

void cpu_cache_disable ( void   ) 

Flush CPU caches to memory and disable them.

Referenced by cleanup_before_linux().

void cpu_cache_flush ( void   ) 

Flush CPU caches to memory.

Referenced by cpu_cache_disable().

void dcache_disable ( void   ) 

Disable processor's data cache.

void dcache_enable ( void   ) 

Enable processor's data cache.

int dcache_status ( void   ) 

Detect processor's current instruction cache status.

Returns:
0=disabled, 1=enabled

void icache_disable ( void   ) 

Disable processor's instruction cache.

void icache_enable ( void   ) 

Enable processor's instruction cache.

int icache_status ( void   ) 

Detect processor's current instruction cache status.

Returns:
0=disabled, 1=enabled


Generated on Fri Dec 25 14:13:14 2009 for barebox by  doxygen 1.5.6