Skip to content

feat(PMA, CSR): support PMA Custom CSR configurable#801

Merged
Tang-Haojin merged 1 commit intomasterfrom
fix-pma
Apr 15, 2025
Merged

feat(PMA, CSR): support PMA Custom CSR configurable#801
Tang-Haojin merged 1 commit intomasterfrom
fix-pma

Conversation

@sinceforYy
Copy link
Copy Markdown
Contributor

@sinceforYy sinceforYy commented Feb 6, 2025

  • We implements 16 PMA entries, all PMA CSR fields are WARL and may be read-only zero.

  • That means that accessing CSRs of implemented PMA entries should not rasie illegal instruction exception.

  • We adds initial configuration of PMA custom CSRs, and adds CSR reading and writing of PMA custom registers.

  • We adds PMA check permission.

* We implements 16 PMA entries, all PMA CSR fields are WARL
  and may be read-only zero.

* That means that accessing CSRs of implemented PMA entries
  should not rasie illegal instruction exception.

* We adds initial configuration of PMA custom CSRs,
  and adds CSR reading and writing of PMA custom registers.

* We adds PMA check permission.
@Tang-Haojin Tang-Haojin merged commit d6443a1 into master Apr 15, 2025
7 checks passed
@Tang-Haojin Tang-Haojin deleted the fix-pma branch April 15, 2025 02:02
prjmoriarty pushed a commit to OpenXiangShan-Nanhu/NEMU that referenced this pull request Apr 28, 2025
* We implements 16 PMA entries, all PMA CSR fields are WARL
  and may be read-only zero.

* That means that accessing CSRs of implemented PMA entries
  should not rasie illegal instruction exception.

* We adds initial configuration of PMA custom CSRs,
  and adds CSR reading and writing of PMA custom registers.

* We adds PMA check permission.
LGY35 pushed a commit to OpenXiangShan-Nanhu/NEMU that referenced this pull request Jun 3, 2025
* We implements 16 PMA entries, all PMA CSR fields are WARL
  and may be read-only zero.

* That means that accessing CSRs of implemented PMA entries
  should not rasie illegal instruction exception.

* We adds initial configuration of PMA custom CSRs,
  and adds CSR reading and writing of PMA custom registers.

* We adds PMA check permission.
LGY35 pushed a commit to OpenXiangShan-Nanhu/NEMU that referenced this pull request Jun 3, 2025
* We implements 16 PMA entries, all PMA CSR fields are WARL
  and may be read-only zero.

* That means that accessing CSRs of implemented PMA entries
  should not rasie illegal instruction exception.

* We adds initial configuration of PMA custom CSRs,
  and adds CSR reading and writing of PMA custom registers.

* We adds PMA check permission.
LGY35 pushed a commit to OpenXiangShan-Nanhu/NEMU that referenced this pull request Jun 5, 2025
* We implements 16 PMA entries, all PMA CSR fields are WARL
  and may be read-only zero.

* That means that accessing CSRs of implemented PMA entries
  should not rasie illegal instruction exception.

* We adds initial configuration of PMA custom CSRs,
  and adds CSR reading and writing of PMA custom registers.

* We adds PMA check permission.
LGY35 pushed a commit to OpenXiangShan-Nanhu/NEMU that referenced this pull request Jun 11, 2025
* We implements 16 PMA entries, all PMA CSR fields are WARL
  and may be read-only zero.

* That means that accessing CSRs of implemented PMA entries
  should not rasie illegal instruction exception.

* We adds initial configuration of PMA custom CSRs,
  and adds CSR reading and writing of PMA custom registers.

* We adds PMA check permission.
LGY35 pushed a commit to OpenXiangShan-Nanhu/NEMU that referenced this pull request Jun 16, 2025
* We implements 16 PMA entries, all PMA CSR fields are WARL
  and may be read-only zero.

* That means that accessing CSRs of implemented PMA entries
  should not rasie illegal instruction exception.

* We adds initial configuration of PMA custom CSRs,
  and adds CSR reading and writing of PMA custom registers.

* We adds PMA check permission.
LGY35 pushed a commit to OpenXiangShan-Nanhu/NEMU that referenced this pull request Jun 16, 2025
* We implements 16 PMA entries, all PMA CSR fields are WARL
  and may be read-only zero.

* That means that accessing CSRs of implemented PMA entries
  should not rasie illegal instruction exception.

* We adds initial configuration of PMA custom CSRs,
  and adds CSR reading and writing of PMA custom registers.

* We adds PMA check permission.
LGY35 pushed a commit to OpenXiangShan-Nanhu/NEMU that referenced this pull request Jun 17, 2025
* We implements 16 PMA entries, all PMA CSR fields are WARL
  and may be read-only zero.

* That means that accessing CSRs of implemented PMA entries
  should not rasie illegal instruction exception.

* We adds initial configuration of PMA custom CSRs,
  and adds CSR reading and writing of PMA custom registers.

* We adds PMA check permission.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants