Hi Sunil,

You're right.

The MMC DMA destination buffer (64-bit) actually allocated in EDK2 code and 
passed into the EDK2-platform MMC driver.

Now that you mention it, I think I can allocate another buffer (force to use 
32-bit) in the MMC driver and use that buffer for tx/rx.

Then, copy the content from the buffer (32-bit) to the MMC destination buffer 
(64-bit). In this case, there is no need to change any code

in EDK2 and this "boot service memory allocation" driver is no longer needed.

I will remove this driver and add the handling in DwEmmcDxe.c in Patch V2.

Thank you!! =)


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109826): https://edk2.groups.io/g/devel/message/109826
Mute This Topic: https://groups.io/mt/102053685/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to