Skip to content

Commit 3e7f6cf

Browse files
committed
Add TODOs for next steps
1 parent 1d7ff1f commit 3e7f6cf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

bios/second_stage/src/main.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,16 @@ pub extern "C" fn _start(disk_number: u16, partition_table_start: *const u8) {
7777
.expect("no `kernel-x86_64` file found");
7878
screen::print_char(b'4');
7979

80+
// TODO: Retrieve memory map
81+
82+
// TODO: Set up protected mode, or unreal mode
83+
84+
// TODO: Load `kernel` to protected mode address
85+
86+
// TODO: Set up long mode with identity-mapping
87+
88+
// TODO: Load third stage that uses `bootloader-common` crate and jump to it
89+
8090
loop {}
8191
}
8292

0 commit comments

Comments
 (0)