File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ where
332332 let size = max_phys. as_u64 ( ) ;
333333 let alignment = Size2MiB :: SIZE ;
334334 let offset = mapping_addr ( mapping, size, alignment, & mut used_entries)
335- . expect ( "start addraess for physical memory mapping must be 2MiB-page-aligned" ) ;
335+ . expect ( "start address for physical memory mapping must be 2MiB-page-aligned" ) ;
336336
337337 for frame in PhysFrame :: range_inclusive ( start_frame, end_frame) {
338338 let page = Page :: containing_address ( offset + frame. start_address ( ) . as_u64 ( ) ) ;
@@ -388,7 +388,7 @@ where
388388 Mappings {
389389 framebuffer : framebuffer_virt_addr,
390390 entry_point,
391- // Use the configured stack size, even if it's not page aligned. However, we
391+ // Use the configured stack size, even if it's not page- aligned. However, we
392392 // need to align it down to the next 16-byte boundary because the System V
393393 // ABI requires a 16-byte stack alignment.
394394 stack_top : stack_end_addr. align_down ( 16u8 ) ,
You can’t perform that action at this time.
0 commit comments