mirror of
https://github.com/ipxe/ipxe
synced 2026-01-28 20:12:28 +03:00
5818529f39fc245744d966d8ad49cf194ee3109d
Without any explicit alignment requirement, we will currently allocate I/O buffers on their own size rounded up to the nearest power of two. This is done to simplify driver transmit code paths, which can assume that a standard Ethernet frame lies within a single physical page and therefore does not need to be split even for devices with DMA engines that cannot cross page boundaries. Limit this automatic alignment to a maximum of the page size, to avoid requiring excessive alignment for unusually large buffers (such as a buffer allocated for an HTTP POST with a large parameter list). Signed-off-by: Michael Brown <mcb30@ipxe.org>
iPXE README File Quick start guide: cd src make For any more detailed instructions, see http://ipxe.org
Languages
C
97.3%
Assembly
1.5%
Perl
0.6%
Makefile
0.3%
Python
0.2%