Sfoglia il codice sorgente

add info about lab3 challenge 1

main
yuchen 9 anni fa
parent
commit
47f1bd6f3d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      labcodes_answer/lab3_result/kern/trap/trap.c

+ 1
- 1
labcodes_answer/lab3_result/kern/trap/trap.c Vedi File

@ -183,7 +183,7 @@ trap_dispatch(struct trapframe *tf) {
break;
case IRQ_OFFSET + IRQ_TIMER:
#if 0
LAB3 : If some page replacement algorithm(such as CLOCK PRA) need tick to change the priority of pages,
LAB3 CHALLENGEpan> 1 : If some page replacement algorithm(such as CLOCK PRA) need tick to change the priority of pages,
then you can add code here.
#endif
/* LAB1 YOUR CODE : STEP 3 */

Caricamento…
Annulla
Salva