moa_archreg 0.1.4

架构系统寄存器与异常编码常量定义
Documentation
  • Coverage
  • 100%
    1 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 25.48 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 81.24 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • hengtianzhang

架构系统寄存器与异常编码常量定义

纯 ISA/CSR 常量(系统控制/状态寄存器位域、异常编码、系统寄存器编码等),不依赖任何内核内部 类型。aarch64 的 TCR / 段边界依赖 moa_vmem::VA_BITS 取地址位宽。

moa_vmem 分工:本 crate 是 CPU 控制面(怎么配置 CPU、怎么解码异常); moa_vmem虚拟内存形态(地址布局 + 页表项格式)。