CMSIS-Zone (Preview)
Version 0.9.2
System Resource Management
|
The /rzone/resources/memories element contains:
Example
Parent Element | Element Chain | ||
---|---|---|---|
resources | /rzone/resources element | ||
Child Elements | Description | Type | Occurrence |
memory | Lists a logical memory region with physical mapping. Memory might restricted to processors, access, or security modes. | complexType | 0..1 |
mpc | Specifies a Memory Protection Controller (MPC) for a physical address range. | complexType | 0..1 |
The /rzone/resources/memories/memory element lists a logical memory region with physical mapping. Memory might restricted to processors, access, or security modes.
Parent Element | Element Chain | ||
---|---|---|---|
memories | /rzone/resources/memories element | ||
Attributes | Description | Type | Use |
name | The name of this memory region which must be unique in this *.rzone file. | xs:string | required |
type | The type of memory in this region ("RAM" or "ROM"). | PhysicalTypeEnum | required |
start | The logical start address of the memory region in the address map. | NonNegativeInteger | required |
physical | The physical start address of the memory region in the address map. If physical is not specified the start address value is used. | NonNegativeInteger | optional |
size | The size of the memory region in bytes. | NonNegativeInteger | required |
access | Access permissions for this memory region. | AccessType | optional |
security | Security attributes for this memory region. | SecurityType | optional |
privilege | Privilege level for this memory region. | PrivilegeType | optional |
startup | "1" specifies that this region is used for the startup code of the application. Default value is "0". | xs:boolean | optional |
uninit | "1" specifies that this region is not zero initialized during startup. Default value is "0". | xs:boolean | optional |
shared | "1" specifies that this region is used by multiple zones. Default value is "0". | xs:boolean | optional |
dma | "1" specifies that this region is accessed by a DMA controller. Default value is "0". | xs:boolean | optional |
external | "1" specifies that this region is provided by an external component that is not part of the device. Default value is "0". | xs:boolean | optional |
Pname | The processor that can access this memory region. If omitted all processors of the system have access. | xs:string | optional |
info | Brief description of the memory region. | xs:string | optional |
The /rzone/resources/memories/mpc element element specifies a Memory Protection Controller (MPC) for a physical memory address region. The MPC region must not necessarily overlap a physical memory space which means it can be larger or smaller.
Parent Element | Element Chain | ||
---|---|---|---|
memories | /rzone/resources/memories element | ||
Attributes | Description | Type | Use |
name | The base register name of the MPC. | xs:string | required |
start | The physical start address of the memory address region that is protected by the MPC. | NonNegativeInteger | required |
size | The size of the memory address region in bytes. | NonNegativeInteger | required |
blk_size | The size (in bytes) of each memory block. This value is also the alignment requirement for the memory blocks. The number of LUT bits is: memory size / blk_size. | NonNegativeInteger | required |
type | Specifies the permissions that the MPC verifies for the memory access:
| MpcTypeEnum | optional |
info | Brief description of the memory region. | xs:string | optional |