We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8943dd commit 718b471Copy full SHA for 718b471
bios/boot_sector/src/main.rs
@@ -30,9 +30,7 @@ pub extern "C" fn first_stage(disk_number: u16) {
30
// read partition table and look for second stage partition
31
print_char(b'1');
32
let partition_table = &unsafe { slice::from_raw_parts(partition_table_raw(), 16 * 4) };
33
- let second_stage_partition =
34
- // mbr::boot_partition(partition_table).unwrap_or_fail(NO_SECOND_STAGE_PARTITION);
35
- mbr::get_partition(partition_table, 0);
+ let second_stage_partition = mbr::get_partition(partition_table, 0);
36
37
// load second stage partition into memory
38
print_char(b'2');
0 commit comments