15 Star 6 Fork 58

src-openEuler/edk2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0052-Revert-LoongArchQemuPkg-auto-gen-fix-SEC-ProcessLibr.patch 1.73 KB
一键复制 编辑 原始数据 按行查看 历史
Wu Xiaotian 提交于 2024-05-31 13:54 +08:00 . add LoongArch support
From 69e129dc2faa09647294aadadca2fc8abe63f3d1 Mon Sep 17 00:00:00 2001
From: Xiaotian Wu <wuxiaotian@loongson.cn>
Date: Fri, 13 Sep 2024 10:35:51 +0800
Subject: [PATCH 3/3] Revert "LoongArchQemuPkg: auto-gen & fix SEC
ProcessLibraryConstructorList() decl"
This reverts commit a81b9f2815da1bacb91aa5ece1caa730ac5d80bb.
---
Platform/Loongson/LoongArchQemuPkg/Sec/SecMain.c | 3 ++-
Platform/Loongson/LoongArchQemuPkg/Sec/SecMain.inf | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Platform/Loongson/LoongArchQemuPkg/Sec/SecMain.c b/Platform/Loongson/LoongArchQemuPkg/Sec/SecMain.c
index 50d898859a..3f1998c48c 100644
--- a/Platform/Loongson/LoongArchQemuPkg/Sec/SecMain.c
+++ b/Platform/Loongson/LoongArchQemuPkg/Sec/SecMain.c
@@ -9,6 +9,7 @@
#include <PiPei.h>
+#include <Library/PeimEntryPoint.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/BaseMemoryLib.h>
@@ -377,7 +378,7 @@ SecCoreStartupWithStack (
DEBUG ((DEBUG_INFO, "Entering C environment\n"));
- ProcessLibraryConstructorList ();
+ ProcessLibraryConstructorList (NULL, NULL);
DEBUG ((DEBUG_INFO,
"SecCoreStartupWithStack (0x%lx, 0x%lx)\n",
diff --git a/Platform/Loongson/LoongArchQemuPkg/Sec/SecMain.inf b/Platform/Loongson/LoongArchQemuPkg/Sec/SecMain.inf
index bb86c7c774..c0d5439d53 100644
--- a/Platform/Loongson/LoongArchQemuPkg/Sec/SecMain.inf
+++ b/Platform/Loongson/LoongArchQemuPkg/Sec/SecMain.inf
@@ -8,7 +8,7 @@
##
[Defines]
- INF_VERSION = 1.30
+ INF_VERSION = 0x00010005
BASE_NAME = SecMain
FILE_GUID = 57d02d4f-5a5d-4bfa-b7d6-ba0a4d2c72ce
MODULE_TYPE = SEC
--
2.45.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/edk2.git
git@gitee.com:src-openeuler/edk2.git
src-openeuler
edk2
edk2
master

搜索帮助

371d5123 14472233 46e8bd33 14472233