public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* EFI_MEMORY_ATTRIBUTES_TABLE not in runtime memory
@ 2017-09-18 19:48 Larry Cleeton
  2017-09-19  1:52 ` Zeng, Star
  0 siblings, 1 reply; 3+ messages in thread
From: Larry Cleeton @ 2017-09-18 19:48 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

The EFI_MEMORY_ATTRIBUTES_TABLE constructed in MdeModulePkg/core/dxe/misc/MemoryAttributesTable.c is allocating the table memory using AllocatePool(). It seems it should be allocated using AllocateRuntimePool(). We've observed Linux kernels seeing a zeroed table, likely because those boot services memory pages have been reclaimed and zeroed. It appears that several other configuration tables are allocated with runtime memory. I haven't found any specific statements that this table should be in runtime memory. However it seems pragmatic and consistent that it be in runtime memory.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-19  2:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-18 19:48 EFI_MEMORY_ATTRIBUTES_TABLE not in runtime memory Larry Cleeton
2017-09-19  1:52 ` Zeng, Star
2017-09-19  2:26   ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox