Understanding the Relationship Between the PLIC, mie, and mstatus MIE Bit
?
?

Keyboard Navigation

Global Keys

[, < / ], > Jump to previous / next episode
W, K, P / S, J, N Jump to previous / next marker
t / T Toggle theatre / SUPERtheatre mode
V Revert filter to original state Y Select link (requires manual Ctrl-c)

Menu toggling

q Quotes r References f Filter y Link c Credits

In-Menu Movement

a
w
s
d
h j k l


Quotes and References Menus

Enter Jump to timecode

Quotes, References and Credits Menus

o Open URL (in new tab)

Filter Menu

x, Space Toggle category and focus next
X, ShiftSpace Toggle category and focus previous
v Invert topics / media as per focus

Filter and Link Menus

z Toggle filter / linking mode

Credits Menu

Enter Open URL (in new tab)
0:18Mention John Gustafson's talk on a new way of encoding decimal numbers1
0:18Mention John Gustafson's talk on a new way of encoding decimal numbers1
0:18Mention John Gustafson's talk on a new way of encoding decimal numbers1
3:16Set the stage for the day
3:16Set the stage for the day
3:16Set the stage for the day
4:33Read about mstatus2
📖
4:33Read about mstatus2
📖
4:33Read about mstatus2
📖
5:24miblo Haha! I noticed myself doing that and wanted to break the same habit! (Without success, I think)
🗪
5:24miblo Haha! I noticed myself doing that and wanted to break the same habit! (Without success, I think)
🗪
5:24miblo Haha! I noticed myself doing that and wanted to break the same habit! (Without success, I think)
🗪
6:09Research the Machine Status Register
📖
6:09Research the Machine Status Register
📖
6:09Research the Machine Status Register
📖
8:32Consult demo_gpio.c and plic_driver.c and wonder what the machine-external and machine-timer interrupts bits are doing
📖
8:32Consult demo_gpio.c and plic_driver.c and wonder what the machine-external and machine-timer interrupts bits are doing
📖
8:32Consult demo_gpio.c and plic_driver.c and wonder what the machine-external and machine-timer interrupts bits are doing
📖
12:08Wonder also why we have a separate Coreplex-Local Interrupts controller
12:08Wonder also why we have a separate Coreplex-Local Interrupts controller
12:08Wonder also why we have a separate Coreplex-Local Interrupts controller
14:35Continue reading about the machine-mode status register (mstatus)
📖
14:35Continue reading about the machine-mode status register (mstatus)
📖
14:35Continue reading about the machine-mode status register (mstatus)
📖
20:27Summarise how the mie bit in the mstatus register is being used
📖
20:27Summarise how the mie bit in the mstatus register is being used
📖
20:27Summarise how the mie bit in the mstatus register is being used
📖
21:36Read about privilege levels
📖
21:36Read about privilege levels
📖
21:36Read about privilege levels
📖
24:32Determine that the PLIC only handles global interrupts, and read about local interrupt sources
📖
24:32Determine that the PLIC only handles global interrupts, and read about local interrupt sources
📖
24:32Determine that the PLIC only handles global interrupts, and read about local interrupt sources
📖
28:01Read about Interrupt Targets and Hart Contexts
📖
28:01Read about Interrupt Targets and Hart Contexts
📖
28:01Read about Interrupt Targets and Hart Contexts
📖
29:19Consult the PLIC diagram
🖌
📖
29:19Consult the PLIC diagram
🖌
📖
29:19Consult the PLIC diagram
🖌
📖
31:00Continue reading about the interrupts in terms of the mip
📖
31:00Continue reading about the interrupts in terms of the mip
📖
31:00Continue reading about the interrupts in terms of the mip
📖
39:47Note that PLIC_enable_interrupt() and PLIC_disable_interrupt() happen on a per-thread basis
📖
39:47Note that PLIC_enable_interrupt() and PLIC_disable_interrupt() happen on a per-thread basis
📖
39:47Note that PLIC_enable_interrupt() and PLIC_disable_interrupt() happen on a per-thread basis
📖
41:58Review the documentation on Machine Interrupt Registers (mip and mie)
📖
41:58Review the documentation on Machine Interrupt Registers (mip and mie)
📖
41:58Review the documentation on Machine Interrupt Registers (mip and mie)
📖
46:53Consult the table on mstatus and consider the difference between mip and mie
📖
46:53Consult the table on mstatus and consider the difference between mip and mie
📖
46:53Consult the table on mstatus and consider the difference between mip and mie
📖
49:01Return to demo_gpio.c, note that the clear_csr() calls in reset_demo() are not disabling software interrupts, and consider asking why
📖
49:01Return to demo_gpio.c, note that the clear_csr() calls in reset_demo() are not disabling software interrupts, and consider asking why
📖
49:01Return to demo_gpio.c, note that the clear_csr() calls in reset_demo() are not disabling software interrupts, and consider asking why
📖
53:44Skim over demo_gpio.c in general
📖
53:44Skim over demo_gpio.c in general
📖
53:44Skim over demo_gpio.c in general
📖
55:15tenbroya Heyo
🗪
55:15tenbroya Heyo
🗪
55:15tenbroya Heyo
🗪
55:57tenbroya (it's James from the HMN IRC)
🗪
55:57tenbroya (it's James from the HMN IRC)
🗪
55:57tenbroya (it's James from the HMN IRC)
🗪
56:04Continue skimming over demo_gpio.c
📖
56:04Continue skimming over demo_gpio.c
📖
56:04Continue skimming over demo_gpio.c
📖
58:35RISC-V Assembly Programmer's Handbook3
58:35RISC-V Assembly Programmer's Handbook3
58:35RISC-V Assembly Programmer's Handbook3
59:28Read about the Coreplex-Local Interrupts (CLINT)4
📖
59:28Read about the Coreplex-Local Interrupts (CLINT)4
📖
59:28Read about the Coreplex-Local Interrupts (CLINT)4
📖
1:02:44Read about MSIP Registers
📖
1:02:44Read about MSIP Registers
📖
1:02:44Read about MSIP Registers
📖
1:03:40That's all the time we have for today
1:03:40That's all the time we have for today
1:03:40That's all the time we have for today