Displaying 2 results from an estimated 2 matches for "cmdline_end".
2013 Feb 21
0
[PATCH 1/4] purgatory: put variables altered by kexec in .data not .bss
...86_64/purgatory-x86_64.c
@@ -3,11 +3,11 @@
#include <purgatory.h>
#include "purgatory-x86_64.h"
-uint8_t reset_vga = 0;
+uint8_t reset_vga __data = 0;
uint8_t legacy_pic = 0;
-uint8_t panic_kernel = 0;
+uint8_t panic_kernel __data = 0;
unsigned long jump_back_entry = 0;
-char *cmdline_end = NULL;
+char *cmdline_end __data = NULL;
void setup_arch(void)
{
diff --git a/purgatory/include/purgatory.h b/purgatory/include/purgatory.h
index ed50dc4..e2b061a 100644
--- a/purgatory/include/purgatory.h
+++ b/purgatory/include/purgatory.h
@@ -1,6 +1,10 @@
#ifndef PURGATORY_H
#define PURGA...
2003 Dec 29
1
Fix for the mem= kernel option
...00000 +0200
+++ runkernel.inc 2003-10-05 17:18:16.000000000 +0200
@@ -198,6 +198,9 @@
%if HIGHMEM_SLOP != 0
sub ebx,HIGHMEM_SLOP
%endif
+ cmp [cs:HighMemSize],ebx ; Set the memory only if less than the BIOS detected
+ jb skip_this_opt
+
mov [cs:HighMemSize],ebx
jmp short skip_this_opt
cmdline_end: