hardware/arch/risc-v.html · hardware/arch/risc-v.rst 공식 원문 ↗

Zephyr 3.7.0 · Hardware · Architecture · RISC-V

RISC-V processor 지원 상태

RISC-V의 user mode 보호와 ISA·SMP 구성 범위를 짚습니다.

Official pathhardware/arch/risc-v.html
Source filehardware/arch/risc-v.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

PMP를 통한 userspace·stack 보호, RISCV_ISA 설정, QEMU SMP target을 설명합니다.

Protection

PMP · userspace · stack

Execution

RV32/64 ISA · QEMU SMP

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 5B8AA1B70DA9FD9F976AFA2729B232DE63289549EC8BA1EE70DF0909CFC5E9CF
Zephyr support status on RISC-V processors
##########################################

Overview
********

This page describes current state of Zephyr for RISC-V processors.
Currently, there's support for some boards, as well as Qemu support
and support for some FPGA implementations such as neorv32 and
litex_vexriscv.

Zephyr support includes PMP, :ref:`user mode<usermode_api>`, several
ISA extensions as well as :ref:`semihosting<semihost_guide>`.

User mode and PMP support
**************************

When the platform has Physical Memory Protection (PMP) support, enabling
it on Zephyr allows user space support and stack protection to be
selected.

ISA extensions
**************

It's possible to set in Zephyr which ISA extensions (RV32/64I(E)MAFD(G)QC)
are available on a given platform, by setting the appropriate `RISCV_ISA_*`
kconfig. Look at :file:`arch/riscv/Kconfig.isa` for more information.

Note that Zephyr SDK toolchain support may not be defined for all
combinations.

SMP support
***********

SMP is supported on RISC-V, but currently only on Qemu platforms. In
order to test the SMP support, one can use `qemu_riscv32_smp` or
`qemu_riscv64_smp` boards.

Part 3

한국어 전문 번역

개요

이 페이지는 RISC-V processor용 Zephyr의 현재 상태를 설명합니다. 여러 board, QEMU, 그리고 neorv32·litex_vexriscv 같은 FPGA 구현을 지원합니다.

Zephyr의 RISC-V 지원에는 Physical Memory Protection(PMP), user mode, 여러 ISA extension, semihosting이 포함됩니다.

User mode와 PMP 지원

Platform에 PMP가 있다면 Zephyr에서 이를 활성화해 user space 지원과 stack protection을 선택할 수 있습니다.

ISA extension

Platform에서 사용할 수 있는 ISA extension(RV32/64I(E)MAFD(G)QC)은 대응하는 RISCV_ISA_* Kconfig를 설정해 Zephyr에 알릴 수 있습니다. 자세한 정의는 arch/riscv/Kconfig.isa에 있습니다.

Zephyr SDK toolchain이 가능한 모든 ISA extension 조합을 정의하거나 지원하는 것은 아닙니다.

SMP 지원

RISC-V에서 SMP를 지원하지만 Zephyr 3.7.0 기준으로 QEMU platform에서만 사용할 수 있습니다. qemu_riscv32_smp 또는 qemu_riscv64_smp board로 시험할 수 있습니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.