This commit is contained in:
Kohei Otsuka 2022-10-04 18:52:07 +02:00 committed by GitHub
parent 760df73743
commit 7b38f3713a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1803,7 +1803,7 @@ But the job of the kernel is not just to respond to process requests.
Another job, which is every bit as important, is to speak to the hardware connected to the machine.
There are two types of interaction between the CPU and the rest of the computer's hardware.
The first type is when the CPU gives orders to the hardware, the order is when the hardware needs to tell the CPU something.
The first type is when the CPU gives orders to the hardware, the other is when the hardware needs to tell the CPU something.
The second, called interrupts, is much harder to implement because it has to be dealt with when convenient for the hardware, not the CPU.
Hardware devices typically have a very small amount of RAM, and if you do not read their information when available, it is lost.