summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
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() {