[dma] Remove debug-specific behaviour from dma.h When using the flat address space DMA API, all mapping and unmapping operations are no-ops and are elided at build time. We currently attempt to record mapping and allocation counts if debugging is enabled, as a way to allow for some visibility into potentially unpaired DMA operations. This does not work in practice: debugging is enabled at a per-object level and so is enabled for the objects that include a header file rather than for the header file itself. It is common for DMA mappings and unmappings to be in different object files (e.g. a receive DMA buffer may be allocated and mapped in iobuf.o but then unmapped in netdevice.o), and so the mapping and allocation counts will be correct only if debugging is enabled in all of the relevant object files at the same time. Remove this debugging code since it is unusable in practice. Signed-off-by: Michael Brown <mcb30@ipxe.org>
iPXE is the leading open source network boot firmware. It provides a full PXE implementation enhanced with additional features such as:
boot from a web server via HTTP or HTTPS,
boot from an iSCSI, FCoE, or AoE SAN,
control the boot process with a script,
You can use iPXE to replace the existing PXE ROM on your network card, or you can chainload into iPXE to obtain the features of iPXE without the hassle of reflashing.
iPXE is free, open-source software licensed under the GNU GPL (with some portions under GPL-compatible licences).
You can download the rolling release binaries (built from the latest commit), or use the most recent stable release.
For full documentation, visit the iPXE website.