9 Star 4 Fork 41

src-openEuler/kexec-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Add-loongarch-iomem.h.patch 757 Bytes
一键复制 编辑 原始数据 按行查看 历史
disandai 提交于 2024-05-13 16:17 . Add loongarch iomem.h
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/kexec-tools.git
git@gitee.com:src-openeuler/kexec-tools.git
src-openeuler
kexec-tools
kexec-tools
master

搜索帮助