Skip to content

Commit

Permalink
Merge pull request #256 from rust-embedded/csr-write-rfc
Browse files Browse the repository at this point in the history
RFC template for nominating CSRs to be write-safe
  • Loading branch information
MabezDev authored Jan 12, 2025
2 parents bc21d25 + e479517 commit 1da169b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/-riscv---nominate-csr-to-be--write--safe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: "`riscv`: Nominate CSR to be `write` safe"
about: Suggest to make writes of a given CSR safe
title: "`riscv`: make [CSR] write-safe"
labels: ''
assignees: ''

---

**Which CSR do you want to nominate as `write` safe?**
Indicate which CSR you want to be `write` safe. Ex. `mepc`

**Does a CSR write introduce potential memory safety issues in safe code? Please describe.**
A clear and concise justification on why writing to this CSR will **never** introduce memory safety issues in safe code.

**Does a CSR write introduce potential undefined behavior in safe code? Please describe.**
A clear and concise justification on why writing to this CSR will **never** lead to undefined behavior in safe code.

**Does a CSR write invalidate invariants in safe code?**
A clear and concise justification on why writing to this CSR will **never** invalidate invariants in safe code.

**Additional context**
Please feel free to add any other context or screenshots about your request here.

0 comments on commit 1da169b

Please sign in to comment.