1
0
mirror of https://github.com/cfenollosa/os-tutorial.git synced 2024-10-27 20:34:19 +00:00

irq_install() is placed on isr.c

This commit is contained in:
garenchan 2018-11-27 20:25:57 +08:00
parent bd527d3572
commit a95836d67d

View File

@ -18,7 +18,7 @@ Right now we have a `utils.c` which we will split into `mem.c` and `string.c`, w
Second, we will create a new function `irq_install()` so that the kernel Second, we will create a new function `irq_install()` so that the kernel
only needs to perform one call to initialize all the IRQs. That function only needs to perform one call to initialize all the IRQs. That function
is akin to `isr_install()` and placed on the same `irq.c`. is akin to `isr_install()` and placed on the same `isr.c`.
While we're here, we will disable the `kprint()` on `timer_callback()` While we're here, we will disable the `kprint()` on `timer_callback()`
to avoid filling the screen with junk, now that we know that it works to avoid filling the screen with junk, now that we know that it works
properly. properly.