hexo/cpu.h header reference
[Hardware abstraction layer module]
The source code of this header can be browsed online.
Description [link]
Startup and misc cpu related functions
Members [link]
Functions [link]
- void cpu_dcache_flush_buf(void *ptr, size_t size)
- void cpu_dcache_flush_buf(void *ptr, size_t size)
- void cpu_dcache_invld(void *ptr)
- void cpu_dcache_invld_buf(void *ptr, size_t size)
- void cpu_dcache_invld_buf(void *ptr, size_t size)
- size_t cpu_dcache_line_size(void )
- void cpu_icache_invld_buf(void *ptr, size_t size)
- void cpu_icache_invld_buf(void *ptr, size_t size)
- bool_t cpu_isbootstrap(void )
- void cpu_trap(void )
- const char * cpu_type_name(void )
- const char * cpu_type_name(void )
Macro [link]
Members detail [link]
#define CPU_NAME_DECL(x) [link]
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) [link]
This macro is declared in hexo/cpu.h source file, line 95.
#define _CPU_NAME_DECL(t, x) [link]
This macro is declared in hexo/cpu.h source file, line 41.
#define _TO_STR(x) [link]
This macro is declared in hexo/cpu.h source file, line 94.
#define __CPU_H_ [link]
This macro is declared in hexo/cpu.h source file, line 29.
#define __CPU_NAME_DECL(t, x) [link]
This macro is declared in hexo/cpu.h source file, line 40.
void cpu_dcache_flush_buf(void *ptr, size_t size) [link]
This function is declared in hexo/cpu.h source file, line 74.
invalidate all the cpu data cache lines within given range. size is in bytes.
Alternate declarations with same identifier: [1], [2].
Preprocessor condition: defined( CONFIG_CPU_CACHE )
void cpu_dcache_flush_buf(void *ptr, size_t size) [link]
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) [link]
This function is declared in hexo/cpu.h source file, line 60.
invalidate the cpu data cache line containing this address
void cpu_dcache_invld_buf(void *ptr, size_t size) [link]
This function is declared in hexo/cpu.h source file, line 66.
invalidate all the cpu data cache lines within given range. size is in bytes.
Alternate declarations with same identifier: [1], [2].
Preprocessor condition: defined( CONFIG_CPU_CACHE )
void cpu_dcache_invld_buf(void *ptr, size_t size) [link]
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 ) [link]
This function is declared in hexo/cpu.h source file, line 57.
get cpu cache line size, return 0 if no dcache
void cpu_icache_invld_buf(void *ptr, size_t size) [link]
This function is declared in hexo/cpu.h source file, line 70.
invalidate all the cpu instruction cache lines within given range. size is in bytes.
Alternate declarations with same identifier: [1], [2].
Preprocessor condition: defined( CONFIG_CPU_CACHE )
void cpu_icache_invld_buf(void *ptr, size_t size) [link]
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 ) [link]
This function is declared in hexo/cpu.h source file, line 51.
return true if bootstap processor
void cpu_trap(void ) [link]
This function is declared in hexo/cpu.h source file, line 54.
cpu trap instruction
const char * cpu_type_name(void ) [link]
This function is declared in hexo/cpu.h source file, line 48.
return CPU architecture type name
Alternate declarations with same identifier: [1], [2].
const char * cpu_type_name(void ) [link]
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].