Skip to content

Commit a9e847a

Browse files
committed
修复保留列表推送时的错误处理,确保正确处理 head_section 的插入
1 parent b145688 commit a9e847a

File tree

1 file changed

+1
-1
lines changed
  • platforms/axplat-aarch64-dyn/src

1 file changed

+1
-1
lines changed

platforms/axplat-aarch64-dyn/src/mem.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn setup() {
4444
let head_start = boot_info().kimage_start_lma as usize;
4545
let head_section = (head_start, (_skernel as usize) - va_offset() - head_start);
4646

47-
rsv_list.push(head_section);
47+
rsv_list.push(head_section).unwrap();
4848

4949
for region in boot_info()
5050
.memory_regions

0 commit comments

Comments
 (0)