Skip to content

[Bug] [RISC-V] riscv64 SMP hartid的保存无效 #11226

@zhangjing0303

Description

@zhangjing0303

RT-Thread Version

master

Hardware Type/Architectures

RISC-V ur-dp1000

Develop Toolchain

Other

Describe the bug

risc-v common64中,SMP多核运行时,目前标准版使用satp保存hartid,risc-v Privileged Architecture spec中对satp寄存器的说明:

Image 在satp寄存器的mode=0时,其他字段必须写0。因此实际板卡上运行时,通过satp保存hartid与预期不符(qemu中该寄存器可以写入)。

Other additional context

No response

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