alarm task finished

This commit is contained in:
2025-06-18 16:02:24 +08:00
parent 4c08583743
commit c7c962ffef
10 changed files with 60 additions and 3 deletions

View File

@ -104,4 +104,8 @@ struct proc {
struct file *ofile[NOFILE]; // Open files
struct inode *cwd; // Current directory
char name[16]; // Process name (debugging)
int alarm_cnt; // Alarm count
int inter_cnt; // interrupts count
uint64 handler; // alarm func address
struct trapframe *pre_trapframe;
};