]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[main] Print an "initialising devices" banner
authorMichael Brown <mcb30@etherboot.org>
Thu, 8 Jan 2009 03:48:30 +0000 (03:48 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 8 Jan 2009 03:48:30 +0000 (03:48 +0000)
Some devices take a very long time to initialise.  This can make it
difficult to visually distinguish between the error cases of failing
to start executing C code and failing to initialise a device.

Add a "gPXE initialising devices..." message.  The trailing ellipsis
indicates to the user that this may take some time, and the presence
of the message indicates to the developer that relocation etc. all
succeeded.

src/core/main.c

index 120f87f8bc2fc8b010988e7470a4ea1936807110..e72b8c9025dc867bab5dd9fdb86292a5bd438103 100644 (file)
@@ -37,6 +37,9 @@ static struct feature features_end[0] __table_end ( struct feature, features );
 __asmcall int main ( void ) {
        struct feature *feature;
 
+       /* Some devices take an unreasonably long time to initialise */
+       printf ( PRODUCT_SHORT_NAME " initialising devices...\n" );
+
        initialise();
        startup();