Re: #customboard #defconfig #supervisormode #defconfig #customboard #supervisormode


Boie, Andrew P
 

Hi,

 

User mode is currently only supported on x86, ARM, and ARC CPUs.

The documentation uses "supervisor mode" to refer to non-user mode, i.e. all CPU instructions may be executed and all memory may be touched.

It seems to be the case that this collides with some RISC-V specific term?

 

More information: https://docs.zephyrproject.org/latest/kernel/usermode/usermode.html

 

HTH,

Andrew

 

From: users@... [mailto:users@...] On Behalf Of Mani Sadhasivam
Sent: Wednesday, October 17, 2018 3:00 AM
To: users@...
Subject: Re: [Zephyr-users] #customboard #defconfig #supervisormode

 

Zephyr supports supervisor mode. I want to nullify it at software level.

Where did you find this information? For RISC-V SoCs, the supervisor mode is only used
when the base architecture has the 'S' extension. Since there is no Supervisor enabled
SoCs supported by Zephyr so far, the core RISC-V code doesn't care about it.

This applies to QEMU also.

-Mani

Join users@lists.zephyrproject.org to automatically receive all group messages.