Skip to content

Commit 785e82a

Browse files
committed
Update TODOs
1 parent 5b257be commit 785e82a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: bios/second_stage/src/main.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,15 @@ pub extern "C" fn _start(disk_number: u16, partition_table_start: *const u8) {
9797

9898
writeln!(screen::Writer, "DONE").unwrap();
9999

100-
// TODO: Retrieve memory map
101-
102-
// TODO: Set up protected mode, or unreal mode
100+
// TODO: Load `kernel` into DISK_BUFFER, then copy it to protected mode
101+
// address (might require multiple iterations for large kernels)
103102

104-
// TODO: Load `kernel` to protected mode address
105-
106-
// TODO: Set up long mode with identity-mapping
103+
// TODO: Retrieve memory map
104+
// TODO: VESA config
107105

108-
// TODO: Load third stage that uses `bootloader-common` crate and jump to it
106+
// TODO: Load third stage using DISK_BUFFER, then copy it to protected mode addr
107+
// TODO: Set up long mode with identity-mapping, then jump to third stage (passing
108+
// kernel, memory map, and vesa info as arguments)
109109

110110
loop {}
111111
}

0 commit comments

Comments
 (0)