1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-23 18:06:20 +04:00

Added comments, moved UART

This commit is contained in:
Stephen Marz 2019-11-18 19:21:32 -05:00
parent 61bb8f3a43
commit 5ca14d6e65

View File

@ -61,8 +61,7 @@ extern "C" fn m_trap(epc: usize,
// automatically prioritize the next interrupt, so when we get it from claim, it
// will be the next in priority order.
match interrupt {
10 => {
// UART
10 => { // Interrupt 10 is the UART interrupt.
// We would typically set this to be handled out of the interrupt context,
// but we're testing here! C'mon!
// We haven't yet used the singleton pattern for my_uart, but remember, this