Project

General

Profile

Actions

Bug #9022

closed

loader.efi: module placement must check memory map

Added by Toomas Soome over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2018-02-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

"8681 loader: bios loader should check the smap while loading the modules" did address the memory map issue for BIOS systems. Now we need to address the same issue for UEFI.

With UEFI the situation is more complicated - we can not assign final addresses before boot services are switched off, because memory map will get updated on EFI memory allocation (that also can happen when we switch off the BS).

Note, the same problem is still present in kernel (dboot and early kernel, before the kernel memory allocator is set up).

Actions #1

Updated by Electric Monk over 4 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit af8443c4728e4601db72fb8089035223de906eb9

commit  af8443c4728e4601db72fb8089035223de906eb9
Author: Toomas Soome <tsoome@me.com>
Date:   2018-02-06T13:28:11.000Z

    9022 loader.efi: module placement must check memory map
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com>
    Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>

Actions

Also available in: Atom PDF