Browse Source

Merge pull request #673 from kylekizirian/master

fixed typo in interrupts/linux-interrupts-2 for early_idt_handler_array
master
Dongliang Mu 1 month ago
parent
commit
1e017f37ad
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Interrupts/linux-interrupts-2.md

+ 2
- 2
Interrupts/linux-interrupts-2.md View File

@@ -201,7 +201,7 @@ for (i = 0; i < NUM_EXCEPTION_VECTORS; i++)
201 201
 load_idt((const struct desc_ptr *)&idt_descr);
202 202
 ```
203 203
 
204
-AS you can see it has only one difference in the name of the array of the interrupts handlers entry points. Now it is `early_idt_handler_arry`:
204
+AS you can see it has only one difference in the name of the array of the interrupts handlers entry points. Now it is `early_idt_handler_array`:
205 205
 
206 206
 ```C
207 207
 extern const char early_idt_handler_array[NUM_EXCEPTION_VECTORS][EARLY_IDT_HANDLER_SIZE];
@@ -224,7 +224,7 @@ ENTRY(early_idt_handler_array)
224 224
 ENDPROC(early_idt_handler_common)
225 225
 ```
226 226
 
227
-It fills `early_idt_handler_arry` with the `.rept NUM_EXCEPTION_VECTORS` and contains entry of the `early_make_pgtable` interrupt handler (more about its implementation you can read in the part about [Early interrupt and exception handling](https://0xax.gitbooks.io/linux-insides/content/Initialization/linux-initialization-2.html)). For now we come to the end of the `x86_64` architecture-specific code and the next part is the generic kernel code. Of course you already can know that we will return to the architecture-specific code in the `setup_arch` function and other places, but this is the end of the `x86_64` early code.
227
+It fills `early_idt_handler_array` with the `.rept NUM_EXCEPTION_VECTORS` and contains entry of the `early_make_pgtable` interrupt handler (more about its implementation you can read in the part about [Early interrupt and exception handling](https://0xax.gitbooks.io/linux-insides/content/Initialization/linux-initialization-2.html)). For now we come to the end of the `x86_64` architecture-specific code and the next part is the generic kernel code. Of course you already can know that we will return to the architecture-specific code in the `setup_arch` function and other places, but this is the end of the `x86_64` early code.
228 228
 
229 229
 Setting stack canary for the interrupt stack
230 230
 -------------------------------------------------------------------------------

Loading…
Cancel
Save