Skip to content

Commit bafaed6

Browse files
committed
Sophgo/SG2042Pkg: Update SG2042.dsc
1. Correct the path of CpuExceptionHandlerLib 2. Remove unnecessary RiscVFpuLib Signed-off-by: Xiang W <wangxiang@iscas.ac.cn>
1 parent 451c04b commit bafaed6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Platform/Sophgo/SG2042_EVB_Board/SG2042.dsc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,8 @@
144144

145145
# RISC-V Architectural Libraries
146146
RiscVSbiLib|MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.inf
147-
RiscVFpuLib|UefiCpuPkg/Library/BaseRiscVFpuLib/BaseRiscVFpuLib.inf
148147
RiscVMmuLib|UefiCpuPkg/Library/BaseRiscVMmuLib/BaseRiscVMmuLib.inf
149-
CpuExceptionHandlerLib|UefiCpuPkg/Library/BaseRiscV64CpuExceptionHandlerLib/BaseRiscV64CpuExceptionHandlerLib.inf
148+
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
150149

151150
TimerLib|UefiCpuPkg/Library/BaseRiscV64CpuTimerLib/BaseRiscV64CpuTimerLib.inf
152151
TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
@@ -161,6 +160,7 @@
161160
!else
162161
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
163162
!endif
163+
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
164164

165165
ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
166166
ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf

0 commit comments

Comments
 (0)