Philipp Oppermann
|
5d898d8474
|
Page align all sections as they will be individually mapped
|
2017-11-19 11:44:49 +01:00 |
|
Philipp Oppermann
|
8fcea7951b
|
Recursive map the P4 table
|
2017-11-19 10:39:17 +01:00 |
|
Philipp Oppermann
|
402ec77bc0
|
Reduce number of ELF section by merging .text.* (etc.) sections together
|
2017-11-19 10:39:13 +01:00 |
|
Philipp Oppermann
|
28ce5310c8
|
Pass address of multiboot info structure to rust_main
|
2017-11-19 10:39:13 +01:00 |
|
Philipp Oppermann
|
08a4e795a4
|
Increase stack size to 16k
|
2017-11-19 10:39:13 +01:00 |
|
Philipp Oppermann
|
ff623a90e3
|
Use --gc-sections to remove unused program sections
|
2017-11-19 10:30:36 +01:00 |
|
Philipp Oppermann
|
ca2ccc31aa
|
Call the rust_main function from assembly
|
2017-11-18 11:10:17 +01:00 |
|
Philipp Oppermann
|
9136a7b66f
|
Zero all segment registers
|
2017-05-12 21:31:28 +02:00 |
|
Philipp Oppermann
|
415d27814f
|
Do a far jump to long mode and print OKAY
|
2017-05-12 21:31:28 +02:00 |
|
Philipp Oppermann
|
e684bfd262
|
Create and load a 64-bit GDT
|
2017-05-12 21:31:28 +02:00 |
|
Philipp Oppermann
|
936e2073a9
|
Enable paging
|
2017-05-12 21:31:24 +02:00 |
|
Philipp Oppermann
|
b199b02578
|
Set up page tables for identity mapping
|
2017-05-12 21:31:24 +02:00 |
|
Philipp Oppermann
|
90e716827a
|
Check multiboot magic number and for CPUID/long mode support
|
2017-05-12 21:31:24 +02:00 |
|
Philipp Oppermann
|
9819e17a28
|
Create and load a stack
|
2017-05-12 21:31:24 +02:00 |
|
Philipp Oppermann
|
5ebdd89ffb
|
Add an error function
|
2017-05-12 21:31:24 +02:00 |
|
Philipp Oppermann
|
dfe8c93c4f
|
Add the GRUB config file
|
2017-05-12 21:31:16 +02:00 |
|
Philipp Oppermann
|
0fddc38436
|
Add a linker script
|
2017-05-12 21:31:16 +02:00 |
|
Philipp Oppermann
|
3a05ccd994
|
Add multiboot header and boot.asm
|
2017-05-12 21:31:16 +02:00 |
|