]> git.ozlabs.org Git - petitboot/commitdiff
discover/boot: Implement asynchronous boot() process
authorNeelesh Gupta <neelegup@linux.vnet.ibm.com>
Thu, 12 Sep 2013 14:26:32 +0000 (19:56 +0530)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 25 Sep 2013 06:56:56 +0000 (14:56 +0800)
The current boot process handled by boot() function is implemented such
that it blocks on the boot resources being downloaded which blocks
the discover process until the download completes. This patch
re-implements the boot() function using callback mechanism and
asynchronous notifications so that boot() returns to continue the
discover process while the download is in progress.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>

No differences found