You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, a proper method to implement this feature is to design a set of macros and structures to handle it thoroughly. A complete API set would be (for example):
Now rustsbi-qemu doesn't allow S mode software use devices provided by qemu because we havn't set pmp registers for them.
Noticed that qemu provides more than one board, and they have different MMIO. We need to discuss how to set pmp registers properly.
现在 rustsbi-qemu 不允许 S 态软件使用 qemu 提供的设备,因为我们没有为它们设置 pmp 寄存器。
注意到 qemu 提供了不止一种板子,而且它们有不同的 MMIO。我们需要讨论如何正确设置 pmp 寄存器。
If anyone who wonder how to use devices in qemu, here is an example of using uart0 (uart0_mmio base 0x10000000 lenth 0x100) in virt machine:
如果任何人想知道如何使用 qemu 的外设,下面是使用 virt 的 uart0 (uart0_mmio 基址 0x10000000 长度 0x100) 的一个例子:
The text was updated successfully, but these errors were encountered: