Choco OS  V.0.16.9.0
Join to the chocolate world
oC_MEM_LLD_MemoryRegionConfig_t Struct Reference

stores configuration of the memory region More...

#include <oc_mem_lld.h>

Data Fields

const void * BaseAddress
 Base address of the region - this must point to the start of the region. More...
 
oC_MemorySize_t Size
 Size of the region.
 
oC_Access_t PrivilegedAccess
 Definition of access for privileged space (portable or core)
 
oC_Access_t UserAccess
 Definition of access for user space.
 
oC_Power_t Power
 Power state for the region (enabled or disabled)
 
bool Cachable
 True if the region should be cacheable - If you set a region to be cacheable: When you load from that region, the cache is searched. More...
 
bool Bufforable
 True if the region should be bufforable - Bufferable means whether a write to the address can be buffered. More...
 
uint32_t RegionNumber
 (optional) Number of the region to configure. More...
 
bool FindFreeRegion
 If true, the RegionNumber field is ignored and filled with the new value after configuration.
 

Detailed Description

The type is for storing configuration of the memory region.

Definition at line 114 of file oc_mem_lld.h.

Field Documentation

const void* BaseAddress

Only architecture supported values are allowed

Definition at line 116 of file oc_mem_lld.h.

bool Bufforable

When you do a write to a memory (e.g. a STR instruction) the write gets placed into a buffer in the processor. The buffer continually drains the writes to the memory system - allowing the core to continue with the next instructions. Processors often have multiple buffers, for example one between the pipeline and L1 data cache, another between the L1 and L2 caches, another for main memory....

Definition at line 122 of file oc_mem_lld.h.

bool Cachable

If the item is found, it is loaded from the cache. If the item is not found, a complete cache line including the required address is loaded. Some other cache line is evicted from the cache, unless there is an unused cache line available. When you save to that region, the cache is searched. If the item is found, the save is made to the cache. If the item is not found, the save is made to memory.

Definition at line 121 of file oc_mem_lld.h.

uint32_t RegionNumber

It is just ID index between 0 and oC_MCS_GetMaximumNumberOfRegions

Definition at line 123 of file oc_mem_lld.h.


The documentation for this struct was generated from the following file: