File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ where
332
332
let size = max_phys. as_u64 ( ) ;
333
333
let alignment = Size2MiB :: SIZE ;
334
334
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" ) ;
336
336
337
337
for frame in PhysFrame :: range_inclusive ( start_frame, end_frame) {
338
338
let page = Page :: containing_address ( offset + frame. start_address ( ) . as_u64 ( ) ) ;
@@ -388,7 +388,7 @@ where
388
388
Mappings {
389
389
framebuffer : framebuffer_virt_addr,
390
390
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
392
392
// need to align it down to the next 16-byte boundary because the System V
393
393
// ABI requires a 16-byte stack alignment.
394
394
stack_top : stack_end_addr. align_down ( 16u8 ) ,
You can’t perform that action at this time.
0 commit comments