Skip to content

关于 Lab4 "内核栈" 寄存器数目的一些疑问 #134

Open
@mapleFU

Description

@mapleFU

需要保存的寄存器应该是:

  1. x1
  2. 原来的 sp,即 x2
  3. x3-x32 的通用寄存器
  4. sstatus
  5. sepc

上述应该是 32 + 2 == 34 个寄存器

https://rcore-os.github.io/rCore-Tutorial-deploy/docs/lab-4/guide/part-5.html 这里,目前版本似乎给了36,有什么特殊原因吗?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions