update lab6 :: deleting timer
This commit is contained in:
@@ -225,12 +225,14 @@ trap_dispatch(struct trapframe *tf) {
|
||||
* Every TICK_NUM cycle, you should set current process's current->need_resched = 1
|
||||
*/
|
||||
/* LAB6 YOUR CODE */
|
||||
/* IMPORTANT FUNCTIONS:
|
||||
/* you should upate you lab5 code
|
||||
* IMPORTANT FUNCTIONS:
|
||||
* sched_class_proc_tick
|
||||
*/
|
||||
/* LAB7 YOUR CODE */
|
||||
/* you should upate you lab6 code
|
||||
* IMPORTANT FUNCTIONS:
|
||||
* run_timer_list
|
||||
*----------------------
|
||||
* you should update your lab5 code (just add ONE or TWO lines of code):
|
||||
* Every tick, you should update the system time, iterate the timers, and trigger the timers which are end to call scheduler.
|
||||
* You can use one funcitons to finish all these things.
|
||||
*/
|
||||
break;
|
||||
case IRQ_OFFSET + IRQ_COM1:
|
||||
|
||||
Reference in New Issue
Block a user