timer working in presence of null keyboard handler

This commit is contained in:
Kartik K. Agaram 2021-06-29 21:55:37 -07:00
parent 069a8df45c
commit cd411f0901
1 changed files with 2 additions and 2 deletions

View File

@ -253,8 +253,8 @@ initialize_32bit_mode:
# pin idt_descriptor below.
0f 01 3/subop/lidt 0/mod/indirect 5/rm32/use-disp32 0x7f00/disp32/idt_descriptor
# enable timer IRQ0
b0/copy-to-al 0xfe/imm8 # disable mask for IRQ0
# enable timer IRQ0 and keyboard IRQ1
b0/copy-to-al 0xfc/imm8 # disable mask for IRQ0 and IRQ1
e6/write-al-into-port 0x21/imm8
fb/enable-interrupts