Fixed log and added VGA text driver #1
|
@ -216,7 +216,7 @@ In order to combine `boot.s` and the kernel we need to do something called "link
|
||||||
|
|
||||||
## For an operating system
|
## For an operating system
|
||||||
I have to combine `boot.s` and the kernel in a specific way to preserve the multiboot header. To do this I can create a *linker script* that tells the linker how to link the object files. To do this I created a file called `linker.ld` in the repository root, which contains this:
|
I have to combine `boot.s` and the kernel in a specific way to preserve the multiboot header. To do this I can create a *linker script* that tells the linker how to link the object files. To do this I created a file called `linker.ld` in the repository root, which contains this:
|
||||||
```linker
|
```linkerscript
|
||||||
/* The bootloader will look at this image and start execution at the symbol
|
/* The bootloader will look at this image and start execution at the symbol
|
||||||
designated as the entry point. */
|
designated as the entry point. */
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
|
Loading…
Reference in a new issue