Add loongarch iomem.h
This commit is contained in:
parent
1b396d3539
commit
8de77cea60
29
Add-loongarch-iomem.h.patch
Normal file
29
Add-loongarch-iomem.h.patch
Normal file
@ -0,0 +1,29 @@
|
||||
From 7a26c60ffa31f54606063855348a4c6aaeabfe13 Mon Sep 17 00:00:00 2001
|
||||
From: huangwenhua <huangwenhua@kylinos.cn>
|
||||
Date: Mon, 13 May 2024 11:43:20 +0800
|
||||
Subject: [PATCH] Add loongarch/iomem.h
|
||||
|
||||
---
|
||||
kexec/arch/loongarch/iomem.h | 10 ++++++++++
|
||||
1 file changed, 10 insertions(+)
|
||||
create mode 100644 kexec/arch/loongarch/iomem.h
|
||||
|
||||
diff --git a/kexec/arch/loongarch/iomem.h b/kexec/arch/loongarch/iomem.h
|
||||
new file mode 100644
|
||||
index 0000000..7671e26
|
||||
--- /dev/null
|
||||
+++ b/kexec/arch/loongarch/iomem.h
|
||||
@@ -0,0 +1,10 @@
|
||||
+#ifndef IOMEM_H
|
||||
+#define IOMEM_H
|
||||
+
|
||||
+#define SYSTEM_RAM "System RAM\n"
|
||||
+#define KERNEL_CODE "Kernel code\n"
|
||||
+#define KERNEL_DATA "Kernel data\n"
|
||||
+#define CRASH_KERNEL "Crash kernel\n"
|
||||
+#define IOMEM_RESERVED "Reserved\n"
|
||||
+
|
||||
+#endif
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
Name: kexec-tools
|
||||
Version: 2.0.26
|
||||
Release: 4
|
||||
Release: 5
|
||||
License: GPLv2
|
||||
Summary: The kexec/kdump userspace component
|
||||
URL: https://www.kernel.org/
|
||||
@ -84,6 +84,10 @@ Patch0006: kexec-tools-Add-riscv-support.patch
|
||||
Patch0007: riscv-makedumpfile-1.7.3.patch
|
||||
%endif
|
||||
|
||||
%ifarch loongarch64
|
||||
Patch0008: Add-loongarch-iomem.h.patch
|
||||
%endif
|
||||
|
||||
%description
|
||||
kexec-tools provides /sbin/kexec binary that facilitates a new
|
||||
kernel to boot using the kernel's kexec feature either on a
|
||||
@ -295,6 +299,9 @@ done
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon May 13 2024 Wenhua Huang <huangwenhua@kylinos.cn> - 2.0.26-5
|
||||
- Add loongarch iomem.h
|
||||
|
||||
* Thu Apr 18 2024 Mingzheng Xing <xingmingzheng@iscas.ac.cn> - 2.0.26-4
|
||||
- Add riscv64 support
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user