Add: multiboot2: entering graphics mode
This commit is contained in:
15
link.ld
15
link.ld
@@ -1,28 +1,27 @@
|
||||
ENTRY(loader)
|
||||
|
||||
SECTIONS {
|
||||
/* Address to load at; 1MB */
|
||||
/* Address to load at; 2MB */
|
||||
|
||||
. = 0x00100000;
|
||||
/*. = 2M;*/
|
||||
|
||||
.__mbHeader : {
|
||||
*(.__mbHeader)
|
||||
.multiboot_header ALIGN(4K) : {
|
||||
*(.multiboot_header)
|
||||
}
|
||||
|
||||
/* Align relevant sections at 4KB */
|
||||
|
||||
.text ALIGN (0x1000) :
|
||||
.text ALIGN (4K) :
|
||||
{
|
||||
*(.text)
|
||||
*(.rodata)
|
||||
}
|
||||
|
||||
.data ALIGN (0x1000) :
|
||||
.data ALIGN (4K) :
|
||||
{
|
||||
*(.data)
|
||||
}
|
||||
|
||||
.bss ALIGN (0x1000) :
|
||||
.bss ALIGN (4K) :
|
||||
{
|
||||
*(COMMON)
|
||||
*(.bss)
|
||||
|
||||
Reference in New Issue
Block a user