SPDX-License-Identifier: Apache-2.0
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
The Zephyr RTOS shall provide an interface to access memory while ensuring mutual exclusion.
As a Zephyr RTOS user I want to read from or write into a memory areas without being disturbed by other threads or ISRs.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
The Zephyr RTOS shall provide a mechanism for context switching between threads.
As a Zephyr RTOS user I want to execute code concurrently in one or more threads and when interrupted at a code location in a thread, to continue at the very same location.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
The Zephyr RTOS shall provide an interface to implement software exceptions.
As a Zephyr RTOS user I want to catch any software exception and handle it according to my application needs.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
The Zephyr RTOS shall support processor architectures with 32-bit and with 64-bit native word sizes.
5. User Mode Support
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where user mode is supported, the Zephyr RTOS shall provide an interface to transition the executing thread from supervisor mode to user mode.
As a Zephyr RTOS user I want the kernel to execute code at the appropriate processor privilege level (for example supervisor and user mode) so that privileged and unprivileged execution are kept separate.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where user mode is supported, the Zephyr RTOS shall provide an interface to query whether the current execution context is running in user mode.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where user mode is supported, the Zephyr RTOS shall provide an interface for user mode code to invoke system calls that execute in supervisor mode.
6. Cache Management
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where a data cache is present, the Zephyr RTOS shall provide an interface to flush the data cache, over the entire cache or a specified address range.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where a data cache is present, the Zephyr RTOS shall provide an interface to invalidate the data cache, over the entire cache or a specified address range.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where a data cache is present, the Zephyr RTOS shall provide an interface to flush and invalidate the data cache in a single operation, over the entire cache or a specified address range.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where an instruction cache is present, the Zephyr RTOS shall provide an interface to flush the instruction cache, over the entire cache or a specified address range.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where an instruction cache is present, the Zephyr RTOS shall provide an interface to invalidate the instruction cache, over the entire cache or a specified address range.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where an instruction cache is present, the Zephyr RTOS shall provide an interface to flush and invalidate the instruction cache in a single operation, over the entire cache or a specified address range.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where a data cache is present, the Zephyr RTOS shall provide an interface to enable the data cache.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where a data cache is present, the Zephyr RTOS shall provide an interface to disable the data cache.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where an instruction cache is present, the Zephyr RTOS shall provide an interface to enable the instruction cache.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where an instruction cache is present, the Zephyr RTOS shall provide an interface to disable the instruction cache.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where a data cache is present, the Zephyr RTOS shall provide an interface to obtain the data cache line size.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where an instruction cache is present, the Zephyr RTOS shall provide an interface to obtain the instruction cache line size.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where the architecture can determine memory coherence, the Zephyr RTOS shall provide an interface to report whether the memory at a given address is coherent with respect to the data cache.
7. Memory Barriers
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
The Zephyr RTOS shall provide a mechanism to enforce sequentially consistent ordering of memory accesses around a point in the program (a full data memory barrier).
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
The Zephyr RTOS shall provide a mechanism to ensure that all outstanding memory accesses complete before subsequent instructions execute (a data synchronization barrier).
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
The Zephyr RTOS shall provide a mechanism to synchronize memory accesses across all cores (a system-wide synchronization barrier).
8. Diagnostics and Debug
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where stack unwinding is supported, the Zephyr RTOS shall provide an interface to walk the call stack of a thread and report each stack frame to a caller-supplied function.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where core dump support is enabled, the Zephyr RTOS shall provide an interface to capture architecture-specific processor state for inclusion in a core dump.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where a debug stub is enabled, the Zephyr RTOS shall provide an interface for an external debugger to read and write the processor registers.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where a debug stub is enabled, the Zephyr RTOS shall provide an interface for an external debugger to set and remove breakpoints.
-
10. Architecture Layer Interface UID: ZEP-SYRS-1 STATUS: Draft TYPE: Functional COMPONENT: Hardware Architecture Interface RELATIONS (Child): - ZEP-SRS-19-1 Atomic Operations
- ZEP-SRS-19-2 Thread Context Switching
- ZEP-SRS-19-3 Software Exceptions
- ZEP-SRS-19-28 32-bit and 64-bit architectures
- ZEP-SRS-19-4 Entering user mode
- ZEP-SRS-19-13 Execution mode query
- ZEP-SRS-19-14 System call invocation
- ZEP-SRS-19-5 Data cache flush
- ZEP-SRS-19-15 Data cache invalidation
- ZEP-SRS-19-16 Combined data cache flush and invalidation
- ZEP-SRS-19-6 Instruction cache flush
- ZEP-SRS-19-17 Instruction cache invalidation
- ZEP-SRS-19-18 Combined instruction cache flush and invalidation
- ZEP-SRS-19-7 Enabling the data cache
- ZEP-SRS-19-21 Disabling the data cache
- ZEP-SRS-19-19 Enabling the instruction cache
- ZEP-SRS-19-22 Disabling the instruction cache
- ZEP-SRS-19-8 Data cache line size query
- ZEP-SRS-19-20 Instruction cache line size query
- ZEP-SRS-19-9 Memory coherence reporting
- ZEP-SRS-19-25 Full data memory barrier
- ZEP-SRS-19-26 Data synchronization barrier
- ZEP-SRS-19-27 Cross-core synchronization barrier
- ZEP-SRS-19-10 Call stack unwinding
- ZEP-SRS-19-11 Core dump processor state capture
- ZEP-SRS-19-12 Debugger access to processor registers
- ZEP-SRS-19-23 Debugger breakpoint control
- ZEP-SRS-19-24 Debugger single-step execution
- ZEP-SYRS-2 Support multiprocessor management
STATEMENT: The Zephyr RTOS shall provide a framework to communicate with a set of hardware architectural services.
USER_STORY: As a Zephyr RTOS user I want to be able to easily switch my application to a different MCU architecture (x86, ARM Cortex-M/A, RISCV etc.).
Where a debug stub is enabled, the Zephyr RTOS shall provide an interface for an external debugger to single-step execution.