Am 25.07.2013 02:27, schrieb Tian, Feng:
> The EDKII XhciDxe driver doesn't use PciIo.AllocateBuffer()/Map() to
> allocate DMA buffers. It's mainly because EDKII is 1:1 mapping on Pci
> physical address and Cpu logical address for IA architecture.
> AllocateBuffer() is enough for current case.
Consider an UEFI implementation that locks down the system via IOMMU
early on (as I'm thinking about doing for coreboot).
Nice, isolated student project, by the way.

That would probably hook into PciIo.Map() to have the IOMMU engine
whitelist access by the specific hardware to that buffer.
A driver not mapping properly will fail in such a system and rightfully so.


Patrick
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to