Skip to content

Commit e3fc8c3

Browse files
committed
Rename load_elf to bootloader_main
1 parent 685fba0 commit e3fc8c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ pub unsafe extern "C" fn stage_4() -> ! {
103103
let bootloader_end = &__bootloader_end as *const _ as u64;
104104
let p4_physical = &_p4 as *const _ as u64;
105105

106-
load_elf(
106+
bootloader_main(
107107
IdentityMappedAddr(PhysAddr::new(kernel_start)),
108108
kernel_size,
109109
VirtAddr::new(memory_map_addr),
@@ -116,7 +116,7 @@ pub unsafe extern "C" fn stage_4() -> ! {
116116
)
117117
}
118118

119-
fn load_elf(
119+
fn bootloader_main(
120120
kernel_start: IdentityMappedAddr,
121121
kernel_size: u64,
122122
memory_map_addr: VirtAddr,

0 commit comments

Comments
 (0)