Skip to content

[Fault] riscv's Stage-2 pt should Sv39x4, Sv48x4.. #29

Description

@liulog

根据 riscv 的规范,G-Stage 也就是 Stage-2,GPA->HPA 的映射页表对原本的页表进行了扩展,主要就是增加了两位,比如三级页表,Sv39x4,总共 41 位,而非 Sv39 的 39 位。

Image

不同之处在于 Sv39x4 的根页表要求 16KiB 对齐,根页表的索引为 11 位,而非 9 位。

This is needed by axvisor(riscv64).
arceos-hypervisor/axvisor#303

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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