diff options
-rw-r--r-- | kexec/kexec.8 | 3 | ||||
-rw-r--r-- | kexec/kexec.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/kexec/kexec.8 b/kexec/kexec.8 index 120af4d..2f94448 100644 --- a/kexec/kexec.8 +++ b/kexec/kexec.8 @@ -159,6 +159,9 @@ to load code into. Specify the highest memory address .I addr to load code into. +.TP +.BI \-\-entry= addr +Specify the jump back address. (0 means it's not jump back or preserve context) .SH SUPPORTED KERNEL FILE TYPES AND OPTIONS .B Beoboot-x86 diff --git a/kexec/kexec.c b/kexec/kexec.c index 6a13f79..21ff0e7 100644 --- a/kexec/kexec.c +++ b/kexec/kexec.c @@ -905,6 +905,10 @@ void usage(void) " context of current kernel during kexec.\n" " --load-jump-back-helper Load a helper image to jump back\n" " to original kernel.\n" + " --entry=<addr> Specify jump back address.\n" + " (0 means it's not jump back or\n" + " preserve context)\n" + " to original kernel.\n" " -d, --debug Enable debugging to help spot a failure.\n" "\n" "Supported kernel file types and options: \n"); |