[ipxe-devel] [PATCH] [tg3] Truncation bug on machines where memory resides above 4GB

Michael Brown mcb30 at ipxe.org
Fri Jun 10 14:57:27 UTC 2016


On 10/06/16 14:54, Leendert van Doorn wrote:
> While trying iPXE on an ARM64 machine (AMD's Seattle), where DRAM resides above
> 4GB, I ran into a truncation bug that was caused by dma_addr_t being defined
> as u32. This patch changes it to the "more" architecural neutral unsigned long
> so that it works for 64-bit machines where memory can reside above 4GB. This
> patch is consistent with dma_addr_t definitions in other places such as bnx2,
> igbvf, etherfabric, etc.

Applied; thank you!

   http://git.ipxe.org/ipxe.git/commitdiff/5c2a959

Michael



More information about the ipxe-devel mailing list