550W Document
550W, a high-end OS
plic.h
浏览该文件的文档.
1
#pragma once
2
3
#define UART_IRQ 10
4
#define DISK_IRQ 1
5
6
void
d_plic_init
(
void
);
7
8
// enable PLIC for each hart
9
void
d_plic_init_hart
(
void
);
10
11
// ask PLIC what interrupt we should serve
12
int
d_plic_claim
(
void
);
13
14
// tell PLIC that we've served this IRQ
15
void
d_plic_complete
(
int
irq);
d_plic_init_hart
void d_plic_init_hart(void)
Definition:
plic.c:25
d_plic_claim
int d_plic_claim(void)
Definition:
plic.c:34
d_plic_init
void d_plic_init(void)
Definition:
plic.c:20
d_plic_complete
void d_plic_complete(int irq)
Definition:
plic.c:42
src
drivers
plic
plic.h
制作者
1.9.1