summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
diff options
context:
space:
mode:
authoreeshanl <eeshanlondhe@microsoft.com>2025-05-29 02:06:12 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-10-29 21:32:42 +0300
commit302cc88ab36ffb96622987a55f4abc22a4751fed (patch)
tree83a21b0c855548ef742e4790d9dd03db8d797b6b /BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
parenta074649c6096d6dd36d03db5a55316d129e776b5 (diff)
downloadedk2-302cc88ab36ffb96622987a55f4abc22a4751fed.tar.xz
NetworkPkg/SnpDxe: Update SnpDxe SNP_DRIVER struct out of DMA-able memory.
CPB, DB, and CDB structs to use DMA-able memory. Updates the overall SNP_DRIVER allocation to use AllocatePool() instead of PciIo->AllocateBuffer(). This moves this struct out of DMA-able memory. Allocates the PXE_CDB struct as a pointer instead, using PciIo->AllocateBuffer() for DMA-able memory. End result: CPB, DB, and CDB are allocated with individual PciIo->AllocateBuffer() calls with a size of 4096 for CPB and DB. and sizeof(PXE_CDB) for CDB. Each of these members point to locations within the Allocated Buffer, and all of these pointers are at-least 8-Byte aligned. SNP_DRIVER is allocated with AllocatePool() In the SNP_DRIVER structure, the PXE_CDB member is changed to a pointer so we can allocate it with PciIo->AllocateBuffer() Signed-off-by: Eeshan Londhe <eeshanlondhe@microsoft.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/ModuleAutoGen.py')
0 files changed, 0 insertions, 0 deletions