From d64a82af25a484e887a7e1482ce810eff0671739 Mon Sep 17 00:00:00 2001 From: joe Date: Thu, 21 Apr 2011 23:43:53 +0200 Subject: few more comments in fbgui --- src/fbgui.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/fbgui.cpp') diff --git a/src/fbgui.cpp b/src/fbgui.cpp index fdedf1f..bd0c508 100644 --- a/src/fbgui.cpp +++ b/src/fbgui.cpp @@ -327,7 +327,7 @@ void fbgui::performReboot() { } } //------------------------------------------------------------------------------------------- -// Preparing System Boot (Stage 3) +// Preparing Kernel Switch per kexec (initiating Stage 3) //------------------------------------------------------------------------------------------- /** * This method prepares kexec. @@ -335,6 +335,13 @@ void fbgui::performReboot() { * The kernel command line file that should have been downloaded from the Preboot-Server * and the ip config file (created by udhcpc) are merged into the final completed KCL. * + * A process is then started to load the kernel, initramfs and kcl into kexec. + * The process tries to execute kexec -l with these parameters. + * + * If this succeeds, runKexec() is called + * + * @see fbgui::runKexec() + * */ void fbgui::prepareKexec() { @@ -392,8 +399,7 @@ void fbgui::prepareKexec() { /** * This method tries to execute: kexec -e * - * kernel, initramfs and kcl has been previously loaded in kexec. - * This method then tries to execute kexec -e + * This method tries to execute: kexec -e * */ void fbgui::runKexec() { -- cgit v1.2.3-55-g7522