summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
authorjoe2011-04-21 23:43:53 +0200
committerjoe2011-04-21 23:43:53 +0200
commitd64a82af25a484e887a7e1482ce810eff0671739 (patch)
tree174e5fccf265453d1bdf886323deeed1be68dc66 /src/fbgui.cpp
parentuniformed ident 3-spaced.... (diff)
downloadfbgui-d64a82af25a484e887a7e1482ce810eff0671739.tar.gz
fbgui-d64a82af25a484e887a7e1482ce810eff0671739.tar.xz
fbgui-d64a82af25a484e887a7e1482ce810eff0671739.zip
few more comments in fbgui
Diffstat (limited to 'src/fbgui.cpp')
-rw-r--r--src/fbgui.cpp12
1 files changed, 9 insertions, 3 deletions
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() {