]>
glassweightruler.freedombox.rocks Git - Ventoy.git/blob - IPXE/ipxe-3fe683e/src/core/main.c
1 /**************************************************************************
2 iPXE - Network Bootstrap Program
4 Literature dealing with the network protocols:
8 BOOTP - RFC951, RFC2132 (vendor extensions)
9 DHCP - RFC2131, RFC2132 (options)
10 TFTP - RFC1350, RFC2347 (options), RFC2348 (blocksize), RFC2349 (tsize)
11 RPC - RFC1831, RFC1832 (XDR), RFC1833 (rpcbind/portmapper)
13 **************************************************************************/
15 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL
);
19 #include <ipxe/init.h>
20 #include <ipxe/version.h>
21 #include <usr/autoboot.h>
27 * @ret rc Return status code
29 __asmcall
int main ( void ) {
32 /* Perform one-time-only initialisation (e.g. heap) */
35 /* Some devices take an unreasonably long time to initialise */
36 //printf ( "%s initialising devices...", product_short_name );
41 if ( ( rc
= ventoy_boot_vdisk ( NULL
) ) != 0 )