Skip to content
This repository was archived by the owner on Mar 2, 2021. It is now read-only.
This repository was archived by the owner on Mar 2, 2021. It is now read-only.

sample code to test modes #162

@pankajjoshi347

Description

@pankajjoshi347

Hi,
I am using sifives's Freedom U540 with our custom kernel on which i want to test the mode (U ,M or S ) on which the current program is running and change the mode from one to other.
can someone help me out how i can do this as i am very new to riscv.Kindly suggest

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