Hi,

Found that problems in PiSmmIpl.c/PiSmmCore.c:

1.  SMM_CORE_PRIVATE_DATA *gSmmCorePrivate  is pointer
to EfiRuntimeServicesCode (.code and .data segs are merged in x86) memory
that can be declared as ReadOnly by OS. But  SmmCommunicationCommunicate
write to it. GPE in OS !!!

2. EfiRuntimeServicesData memory can be moved by OS loader physically.
("preserved by the loader" in spec - not means in the same place). So this
is not best place to store SMM_CORE_PRIVATE_DATA also, because
PiSmmCore.c.does not know that boot loader moved it.

Best regards,
Dimitri
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to