diff options
author | Michael Brown | 2009-01-08 04:48:30 +0100 |
---|---|---|
committer | Michael Brown | 2009-01-08 04:48:30 +0100 |
commit | 3e220aa73eb135f2080a09d7a3e68343d7d1d7ed (patch) | |
tree | 9a835fb5553bca3c9067fffab0db77ced2a79c6a /src/core/main.c | |
parent | [efi] Add efirom utility and .efirom image format (diff) | |
download | ipxe-3e220aa73eb135f2080a09d7a3e68343d7d1d7ed.tar.gz ipxe-3e220aa73eb135f2080a09d7a3e68343d7d1d7ed.tar.xz ipxe-3e220aa73eb135f2080a09d7a3e68343d7d1d7ed.zip |
[main] Print an "initialising devices" banner
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.
Diffstat (limited to 'src/core/main.c')
-rw-r--r-- | src/core/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c index 120f87f8..e72b8c90 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -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(); |