google / google/comprehensive-rust

Add section about handling interrupts

Open
#584 0 comments 0 reactions 1 assignee Claimed by @qwandor View on GitHub
deep_dives/bare_metal enhancement
Dominant language
Rust
Stars
33.4k
Forks
2.1k
Avg merge
1d 3h
Merged PRs (30d)
10

Description

A question that often comes up in the bare metal course is how to handle interrupts. It would probably be worthwhile to add a few pages to the afternoon about this. This would need to cover not just how we set up the exception vector but how we share state between the main program and the exception handlers, talking in more depth about spinlocks, critical sections, and how we can implement our own safe wrapper for these using `Send` and `Sync`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.