Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking Issue for riscv-interrupt-{m,s} ABIs #111889

Open
1 of 3 tasks
sethp opened this issue May 23, 2023 · 1 comment
Open
1 of 3 tasks

Tracking Issue for riscv-interrupt-{m,s} ABIs #111889

sethp opened this issue May 23, 2023 · 1 comment
Labels
A-ABI Area: Concerning the application binary interface (ABI) A-hardware-interrupts Area: Code for handling the "interrupt ABI" of various processors C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC O-riscv Target: RISC-V architecture T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@sethp
Copy link
Contributor

sethp commented May 23, 2023

This is a tracking issue for the RFC "XXX" (rust-lang/rfcs#NNN).
The feature gate for the issue is #![feature(FFF)].

Similar to #38487, #69664 , and #40180 the intent is to plumb the existing riscv interrupt handler support in LLVM through the front-end. It would enable writing e.g.

extern "riscv-interrupt-m" fn machine_mode_handler() {
    ...
}

to produce a function with a prologue/epilogue suitable for being the target of a hardware interrupt.

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Steps

Unresolved Questions

XXX --- list all the "unresolved questions" found in the RFC to ensure they are
not forgotten

Implementation history

#111891

@sethp sethp added the C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC label May 23, 2023
@jyn514 jyn514 added A-ABI Area: Concerning the application binary interface (ABI) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 24, 2023
@Jules-Bertholet
Copy link
Contributor

@rustbot label O-riscv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ABI Area: Concerning the application binary interface (ABI) A-hardware-interrupts Area: Code for handling the "interrupt ABI" of various processors C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC O-riscv Target: RISC-V architecture T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants