History | View | Annotate | Download (17.7 kB)
target-xtensa: refactor standard core configuration
Coalesce all standard configuration sections into singleDEFAULT_SECTIONS macro for all cores. This allows to add new features ina single place: overlay_tool.h
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target-xtensa: provide HW confg ID registers
target-xtensa: implement ATOMCTL SR
ATOMCTL SR controls s32c1i opcode behavior depending on targeted memorytype. See ISA, 4.3.12.4 for details.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-xtensa: implement CACHEATTR SR
In XEA1, the Options for Memory Protection and Translation and thecorresponding TLB management instructions are not available. Instead,functionality similar to the Region Protection Option is availablethrough the cache attribute register. See ISA, A.2.14 for details....
target-xtensa: restrict available SRs by enabled options
Beginning with the RA-2004.1 release, SR access instructions (rsr, wsr,xsr) are associated with their corresponding SR and raise illegal opcodeexception in case the register is not configured for the core....
target-xtensa: implement MISC SR
The Miscellaneous Special Registers Option provides zero to four scratchregisters within the processor readable and writable by RSR, WSR, andXSR. These registers are privileged. They may be useful for someapplication-specific exception and interrupt processing tasks in the...
target-xtensa: handle boolean option in overlays
target-xtensa: add DEBUG_SECTION to overlay tool
Fill debug configuration from overlay definitions in the DEBUG_SECTION.Add DEBUG_SECTION to DC232B and FSF cores.
target-xtensa: define TLB_TEMPLATE for MMU-less cores
TLB_TEMPLATE macro specifies TLB geometry in the core configuration.Make TLB_TEMPLATE available for region protection core variants,defining 1 way ITLB and DTLB with 8 entries each.
target-xtensa: fix MMUv3 initialization
- ITLB/DTLB ways 5 and 6 have 4 and 8 entries respectively;- ITLB/DTLB way 6 attr field is set to 3 on reset.
target-xtensa: handle cache options in the overlay tool
Cache options must be enabled for the cores that have cache to avoidillegal instruction exceptions.
target-xtensa: extract core configuration from overlay
Introduce overlay_tool.h that defines core configuration blocks fromdata available in the linux architecture variant overlay.
Overlay data is automatically generated in the core configurationprocess by Tensilica tools and can be directly converted to qemu xtensa...