Skip to content

Commit

Permalink
Update diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
mariapana committed Jul 12, 2024
1 parent 87738ed commit af04a48
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions content/blog/2024-07-10-gsoc-multiboot2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -84,23 +84,23 @@ On top of that, both `multiboot.py` and `multiboot2.py` scripts add an extra ELF
To better visualize this, we can refer to the following diagram:

```text
+--------------------+
| Updated EHDR |
+--------------------+
| Updated PHDR |
+--------------------+
| MB2HDR |
+--------------------+
| Original EHDR |
+--------------------+
| Original PHDR |
+--------------------+
| Original SHDR |
+--------------------+
| ... |
+--------------------+
| Updated SHDR |
+--------------------+
┌────────────────────┐
┌───────│ Updated EHDR |─────────────┐
| ├────────────────────┤ |
└──────>| Updated PHDR | |
├────────────────────┤ |
| MB2HDR | |
├────────────────────┤ |
┌───────| Original EHDR |────────┐ |
| ├────────────────────┤ | |
└──────>| Original PHDR | | |
├────────────────────┤ | |
| Original SHDR |<───────┘ |
├────────────────────┤ |
| ... | |
├────────────────────┤ |
| Updated SHDR |<────────────┘
└────────────────────┘
```

This ensures that GRUB identifies the overall file as an ELF and avoids any potential complications along the way.
Expand Down

0 comments on commit af04a48

Please sign in to comment.