kexec-tools/kexec-tools-2.0.13-arm-missing-files.patch

26 lines
942 B
Diff
Raw Permalink Normal View History

diff -Nru kexec-tools-2.0.13.orig/kexec/arch/arm/iomem.h kexec-tools-2.0.13/kexec/arch/arm/iomem.h
--- kexec-tools-2.0.13.orig/kexec/arch/arm/iomem.h 1970-01-01 01:00:00.000000000 +0100
+++ kexec-tools-2.0.13/kexec/arch/arm/iomem.h 2016-12-16 10:24:52.000000000 +0100
@@ -0,0 +1,9 @@
+#ifndef IOMEM_H
+#define IOMEM_H
+
+#define SYSTEM_RAM "System RAM\n"
+#define SYSTEM_RAM_BOOT "System RAM (boot alias)\n"
+#define CRASH_KERNEL "Crash kernel\n"
+#define CRASH_KERNEL_BOOT "Crash kernel (boot alias)\n"
+
+#endif
diff -Nru kexec-tools-2.0.13.orig/kexec/arch/arm/phys_to_virt.h kexec-tools-2.0.13/kexec/arch/arm/phys_to_virt.h
--- kexec-tools-2.0.13.orig/kexec/arch/arm/phys_to_virt.h 1970-01-01 01:00:00.000000000 +0100
+++ kexec-tools-2.0.13/kexec/arch/arm/phys_to_virt.h 2016-12-16 10:24:59.000000000 +0100
@@ -0,0 +1,8 @@
+#ifndef PHYS_TO_VIRT_H
+#define PHYS_TO_VIRT_H
+
+#include <stdint.h>
+
+extern uint64_t phys_offset;
+
+#endif