hexo/cpu.h header reference
[Hardware abstraction layer module]

The source code of this header can be browsed online.

Description  

Startup and misc cpu related functions

Members  

Functions  

Macro  

Members detail  

#define CPU_NAME_DECL(x)  

This macro is declared in hexo/cpu.h source file, line 44.

this macro can be used to declare and refer to a variable or function prefixed by cpu type name.

#define TO_STR(x)  

This macro is declared in hexo/cpu.h source file, line 95.

#define _CPU_NAME_DECL(t, x)  

This macro is declared in hexo/cpu.h source file, line 41.

#define _TO_STR(x)  

This macro is declared in hexo/cpu.h source file, line 94.

#define __CPU_H_  

This macro is declared in hexo/cpu.h source file, line 29.

#define __CPU_NAME_DECL(t, x)  

This macro is declared in hexo/cpu.h source file, line 40.

void cpu_dcache_flush_buf(void *ptr, size_t size)  

invalidate all the cpu data cache lines within given range. size is in bytes.

Alternate declarations with same identifier: [1], [2].

void cpu_dcache_flush_buf(void *ptr, size_t size)  

This function is declared in hexo/cpu.h source file, line 90.

Documentation from alternate declaration:

invalidate all the cpu data cache lines within given range. size is in bytes.

Alternate declarations with same identifier: [1], [2].

Preprocessor condition: not defined( CONFIG_CPU_CACHE )

void cpu_dcache_invld(void *ptr)  

invalidate the cpu data cache line containing this address

void cpu_dcache_invld_buf(void *ptr, size_t size)  

invalidate all the cpu data cache lines within given range. size is in bytes.

Alternate declarations with same identifier: [1], [2].

void cpu_dcache_invld_buf(void *ptr, size_t size)  

This function is declared in hexo/cpu.h source file, line 80.

Documentation from alternate declaration:

invalidate all the cpu data cache lines within given range. size is in bytes.

Alternate declarations with same identifier: [1], [2].

Preprocessor condition: not defined( CONFIG_CPU_CACHE )

size_t cpu_dcache_line_size(void )  

get cpu cache line size, return 0 if no dcache

void cpu_icache_invld_buf(void *ptr, size_t size)  

invalidate all the cpu instruction cache lines within given range. size is in bytes.

Alternate declarations with same identifier: [1], [2].

void cpu_icache_invld_buf(void *ptr, size_t size)  

This function is declared in hexo/cpu.h source file, line 85.

Documentation from alternate declaration:

invalidate all the cpu instruction cache lines within given range. size is in bytes.

Alternate declarations with same identifier: [1], [2].

Preprocessor condition: not defined( CONFIG_CPU_CACHE )

bool_t cpu_isbootstrap(void )  

return true if bootstap processor

void cpu_trap(void )  

cpu trap instruction

const char * cpu_type_name(void )  

return CPU architecture type name

Alternate declarations with same identifier: [1], [2].

const char * cpu_type_name(void )  

This function is declared in hexo/cpu.h source file, line 101.

this function returns the cpu type name

Alternate declarations with same identifier: [1], [2].

Valid XHTML 1.0 StrictGenerated by diaxen on Wed Oct 17 21:18:38 2018 using MkDoc