public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Minor bug: off-by-one in mGcdMemoryTypeNames for "Unaccepte" entry
@ 2023-01-27 19:07 Dionna Glaze
  0 siblings, 0 replies; only message in thread
From: Dionna Glaze @ 2023-01-27 19:07 UTC (permalink / raw)
  To: devel; +Cc: Xu, Min M

I was debugging some stuff with unaccepted memory, and noticed that
AddMemorySpace counted the unaccepted memory as "Unknown" because
"Unaccepte" is mGcdMemoryTypeNames[6] instead of
mGcdMemoryTypeNames[7].

https://github.com/tianocore/edk2/blob/720c25ab41400f9a3dfd0742da5a6d237991df5b/MdeModulePkg/Core/Dxe/Gcd/Gcd.c#L108

-- 
-Dionna Glaze, PhD (she/her)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-27 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-27 19:07 Minor bug: off-by-one in mGcdMemoryTypeNames for "Unaccepte" entry Dionna Glaze

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