Files
edk2/NetworkPkg
eeshanl 302cc88ab3 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>
2025-10-29 18:32:42 +00:00
..
2025-09-25 22:04:10 +00:00
2025-09-25 22:04:10 +00:00
2025-09-04 08:32:34 +00:00
2025-09-25 22:04:10 +00:00
2025-09-25 22:04:10 +00:00