]> git.ozlabs.org Git - petitboot/commit
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)
commit4844eaae93e9e32708f02f7e5a43edcc87435699
tree307cebea691c33f02647e36cd84bd1664b76ad49
parentce1875fe6d550803879cad4ed168229e154c0d3c
discover/boot: Implement asynchronous boot() process

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>
discover/boot.c