Page MenuHomeFreeBSD

efidev: add support for memory attribute
Needs ReviewPublic

Authored by aokblast on Thu, Apr 24, 12:42 PM.

Details

Summary

The EFI_PROPERTIES_TABLE of EFI is deprecated.
The suggested table is EFI_MEMORY_ATTRIBUTES_TABLE that has a
new header and data format

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 63698
Build 60582: arc lint + arc unit

Event Timeline

Do you have docs for this new table?
And I'm uneasy about this being an enum, but I have to think about that a bit more.

In D49998#1140497, @imp wrote:

Do you have docs for this new table?
And I'm uneasy about this being an enum, but I have to think about that a bit more.

Is the documentation from UEFI forum enough for you? https://uefi.org/specs/UEFI/2.10/04_EFI_System_Table.html

When you search the EFI_PROPERTIES_TABLE, it will tell you this table is deprecated and recommend you to switch to MEMORY_ATTRIBUTE.

Both my intel ultra framework laptop and zen5 desktop don't have EFI_PROPERTIES_TABLE now.