From: Neelesh Gupta Date: Thu, 12 Sep 2013 14:26:32 +0000 (+0530) Subject: discover/boot: Implement asynchronous boot() process X-Git-Tag: v1.0.0~424 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=4844eaae93e9e32708f02f7e5a43edcc87435699;hp=4844eaae93e9e32708f02f7e5a43edcc87435699 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 Signed-off-by: Neelesh Gupta ---