public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] Proposing v3 of MM communicate buffer
@ 2024-08-07 18:14 Kun Qin via groups.io
  2024-08-07 20:25 ` Kun Qin via groups.io
  2024-08-08  8:14 ` Ni, Ray
  0 siblings, 2 replies; 8+ messages in thread
From: Kun Qin via groups.io @ 2024-08-07 18:14 UTC (permalink / raw)
  To: devel@edk2.groups.io

[-- Attachment #1: Type: text/plain, Size: 1553 bytes --]

Hi all,

I am trying to propose a change into PI spec and would like to gather some feedback in this forum.

Essentially, the current communicate header contains a UINTN field in place, which is causing programing
errors when trying to communicate the message between different operation mode (i.e. PEI in IA32
communicate into MM in x64). There are various implementations at large to compensate for this
size discrepancy through the edk2 codebase, thus fixing the existing communicate buffer definition
will be less feasible. Thus I think proposing a new structure and implement the corresponding header
parser will be a simpler approach, which also allows a bit more flexibility to inject new features/checks
into the communication channel.

The proposed change for the spec is detailed here:
https://github.com/kuqin12/edk2/blob/BZ3398-MmCommunicate-Length-v4/CodeFirst/BZ3430-SpecChange.md

And the code first change is listed here:
https://github.com/kuqin12/edk2/blob/BZ3398-MmCommunicate-Length-v4/

Could you please provide me with any feedback that you think might be helpful for future usage of MM
communicate? Any input is appreciated.

Regards,
Kun



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120286): https://edk2.groups.io/g/devel/message/120286
Mute This Topic: https://groups.io/mt/107775882/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 6539 bytes --]

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

end of thread, other threads:[~2024-08-12 21:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-07 18:14 [edk2-devel] Proposing v3 of MM communicate buffer Kun Qin via groups.io
2024-08-07 20:25 ` Kun Qin via groups.io
2024-08-08  8:14 ` Ni, Ray
2024-08-08 17:41   ` Kun Qin via groups.io
2024-08-09  3:47     ` Ni, Ray
2024-08-09  7:58       ` Kun Qin via groups.io
2024-08-12  5:50         ` Ni, Ray
2024-08-12 19:07           ` Kun Qin via groups.io

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