Sorry, I did not provide full picture. After this discussion on devel I've
linked, I spoke to Michael what changes would be in compliance with EDK2 driver
model guidelines. An agreement was reached: Root Bridge driver that implements
SIO Protocol and Serial I/O driver (with new entrypoint) that
] MdeModulePkg: Load Serial driver in early
DXE
We have considered that; however, we aim to avoid maintaining our own
implementation of functions that communicate with UART.
Please see discussion over previous approach:
https://edk2.groups.io/g/devel/topic/104469297#115731
We have considered that; however, we aim to avoid maintaining our own
implementation of functions that communicate with UART.
Please see discussion over previous approach:
https://edk2.groups.io/g/devel/topic/104469297#115731
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages
Why not implement a customized SerialPortLib and use
MdeModulePkg/Universal/SerialDxe/SerialDxe.inf?
Thanks,
Ray
From: Borzeszkowski, Alan
Sent: Tuesday, May 7, 2024 21:09
To: devel@edk2.groups.io
Cc: Borzeszkowski, Alan ; Gao, Zhichao
; Ni, Ray ; Kinney,
For the purpose of UEFI debug prints enablement in early DXE,
Serial driver should load earlier. To comply with EDK2 specification
and maximize code reuse, new driver entrypoint was created
and separate .inf file was added.
Cc: Zhichao Gao
Cc: Ray Ni
Cc: Michael D Kinney
Signed-off-by: Alan