iPXE source code is documented using Doxygen; you can browse the resulting documentation at http://dox.ipxe.org/files.html.