Skip to content

Commit 77cc6ea

Browse files
committed
Minor fixes
1 parent 2c2b46f commit 77cc6ea

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

05_Scheduling/02_Scheduler.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,7 @@ void idle_main(void* arg) {
221221
222222
The idle task is scheduled a little differently: it should only run when there is nothing else to run. You wouldn't want it to run when there is real work to do, because it's essentially throwing away a full quantum that could be used by another thread.
223223
224-
### Troubleshooting
225-
226-
#### Interrupts Stop After Context Switch
227-
228-
Make sure to check the value of the flags register (rflags/eflags).
229-
You might've set it to a value where the interrupt bit is cleared, causing the computer to disable hardware interrupts.
224+
A common issue is that Interrupts stop working after context switch, in this case make sure to check the value of the flags register (rflags/eflags). You might've set it to a value where the interrupt bit is cleared, causing the computer to disable hardware interrupts.
230225
231226
## Wrapping Up
232227

08_VirtualFileSystem/03_TarFileSystem.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,11 @@ Then if we are going to create an ISO using grub-mkrescue, we must make sure tha
216216
217217
```
218218
menuentry "My Os" {
219-
multiboot2 /boot/kernel.bin // Path to the loader executable
219+
multiboot2 /boot/kernel.bin // Path to the loader executable
220220
module2 /examplefs.tar
221221
boot
222-
// More modules may be added here in the form 'module <path> "<cmdline>"'
222+
// More modules may be added here
223+
// in the form 'module <path> "<cmdline>"'
223224
}
224225
```
225226

0 commit comments

Comments
 (0)