]> git.proxmox.com Git - mirror_edk2.git/commit
For the data region which will be touched by Pci Bus Master, we should allocate memor...
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 30 Sep 2009 03:00:36 +0000 (03:00 +0000)
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 30 Sep 2009 03:00:36 +0000 (03:00 +0000)
commitdb731882fa90d1311a0828b2fbf13f766d8c21b6
tree328d9d868abd1f75090513674326419ec945d07f
parent4009f916883c0cb6467629d3eccaa3d95d5b27f8
For the data region which will be touched by Pci Bus Master, we should allocate memory by PciIo.AllocateBuffer() but not AllocatePool() base library API. So the memory region can be used to map into Pci controller-specific address thru PciIo.Map().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9323 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c