You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+22-21
Original file line number
Diff line number
Diff line change
@@ -73,19 +73,19 @@ OUTPUT_ARCH("i386:x86-64")
73
73
74
74
SECTIONS
75
75
{
76
-
. = 0x100000;
77
-
.text : {
78
-
*(.text)
79
-
}
80
-
.data : {
81
-
*(.data)
82
-
}
83
-
.rodata : {
84
-
*(.rodata)
85
-
}
86
-
.bss : {
87
-
*(.bss)
88
-
}
76
+
. = 0x100000;
77
+
.text : {
78
+
*(.text)
79
+
}
80
+
.data : {
81
+
*(.data)
82
+
}
83
+
.rodata : {
84
+
*(.rodata)
85
+
}
86
+
.bss : {
87
+
*(.bss)
88
+
}
89
89
}
90
90
91
91
```
@@ -108,7 +108,7 @@ extern int main(void);
108
108
109
109
void _start(void)
110
110
{
111
-
main();
111
+
main();
112
112
}
113
113
```
114
114
This file would **always** have to be linked in front of everything else. For the above example that would mean the linker command above would have to become:
A copy of the E820 System Memory Map is stored at memory address `0x0000000000006000`. Each E820 record is 32 bytes in length and the memory map is terminated by a blank record.
234
+
A copy of the UEFI System Memory Map is stored at memory address `0x0000000000006000`. Each UEFI record is 48 bytes in length and the memory map is terminated by a blank record.
For more information on the E820 Memory Map: <ahref="http://wiki.osdev.org/Detecting_Memory_%28x86%29">OSDev wiki on E820</a>
244
+
For more information on the UEFI Memory Map: <ahref="https://uefi.org/specs/UEFI/2.9_A/07_Services_Boot_Services.html#efi-boot-services-getmemorymap">UEFI Specs</a>
0 commit comments