|
Nexus Embedded Platform 0.1.0
Statically assembled reusable embedded mechanisms
|
Explicit whole-line CPU cache maintenance mechanisms. More...
Go to the source code of this file.
Functions | |
| nx_arch_result_t | nx_arch_dcache_clean (uintptr_t address, size_t bytes) |
| Publish dirty data cache lines to the point of coherency. | |
| nx_arch_result_t | nx_arch_dcache_invalidate (uintptr_t address, size_t bytes) |
| Discard complete data cache lines without writing them. | |
| nx_arch_result_t | nx_arch_dcache_clean_invalidate (uintptr_t address, size_t bytes) |
| Publish dirty data and discard the complete cache lines. | |
| nx_arch_result_t | nx_arch_instruction_sync (uintptr_t address, size_t bytes) |
| Make a complete owned range coherent for CPU instructions. | |
Explicit whole-line CPU cache maintenance mechanisms.
Definition in file cache.h.
| nx_arch_result_t nx_arch_dcache_clean | ( | uintptr_t | address, |
| size_t | bytes ) |
Publish dirty data cache lines to the point of coherency.
| [in] | address | First byte of exclusively owned complete lines. |
| [in] | bytes | Nonzero whole-line length in the CPU address space. |
| nx_arch_result_t nx_arch_dcache_clean_invalidate | ( | uintptr_t | address, |
| size_t | bytes ) |
Publish dirty data and discard the complete cache lines.
| [in] | address | First byte of exclusively owned complete lines. |
| [in] | bytes | Nonzero whole-line length in the CPU address space. |
| nx_arch_result_t nx_arch_dcache_invalidate | ( | uintptr_t | address, |
| size_t | bytes ) |
Discard complete data cache lines without writing them.
| [in] | address | First byte of exclusively owned complete lines. |
| [in] | bytes | Nonzero whole-line length in the CPU address space. |
| nx_arch_result_t nx_arch_instruction_sync | ( | uintptr_t | address, |
| size_t | bytes ) |
Make a complete owned range coherent for CPU instructions.
| [in] | address | First byte of exclusively owned complete lines. |
| [in] | bytes | Nonzero whole-line length in the CPU address space. |