xv6-simplified 0.1
简化版xv6
Loading...
Searching...
No Matches
Functions
plic.c File Reference

the riscv Platform Level Interrupt Controller(PLIC) 平台级中断控制 More...

#include "include/types.h"
#include "include/param.h"
#include "include/memlayout.h"
#include "include/riscv.h"
#include "include/defs.h"
Include dependency graph for plic.c:

Functions

void plicinit (void)
 初始化平台级中断
 
void plicinithart (void)
 设置hart中相应的比特位
 
int plic_claim (void)
 获取目前应该服务的中断请求
 
void plic_complete (int irq)
 告知PLIC正在处理的中断请求
 

Detailed Description

the riscv Platform Level Interrupt Controller(PLIC) 平台级中断控制

Date
23.5.7
Author
yrz
Version
0.1 @status Stable

Function Documentation

◆ plic_claim()

int plic_claim ( void  )

获取目前应该服务的中断请求

Here is the call graph for this function:
Here is the caller graph for this function:

◆ plic_complete()

void plic_complete ( int  irq)

告知PLIC正在处理的中断请求

Here is the call graph for this function:
Here is the caller graph for this function:

◆ plicinit()

void plicinit ( void  )

初始化平台级中断

Here is the caller graph for this function:

◆ plicinithart()

void plicinithart ( void  )

设置hart中相应的比特位

Here is the call graph for this function:
Here is the caller graph for this function: