Skip to content

riscv-rt: Machine + Supervisor mixed executable #192

@ZhekaS

Description

@ZhekaS

As far as I understand the crates can be compiled with S-mode support, but in that case the assumption will be that it starts and always runs in S-mode.
Is the following use-case supported or any plans for it to be supported:

  1. The execution starts in M-mode, certain M-only setup is done (like PMP config etc)
  2. The privilege level drops to S-mode for a regular execution flow
  3. ECALLs from S-mode are served in M-mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions