Skip to content

Commit e0d98fa

Browse files
committed
MdePkg/BaseLib AARCH64: Drop special Unaligned.c version
Now that the generic code takes alignment constraints into account, there is no longer a need for a special AArch64 version that performs byte by byte access in C. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
1 parent 4ff51f3 commit e0d98fa

File tree

2 files changed

+1
-252
lines changed

2 files changed

+1
-252
lines changed

MdePkg/Library/BaseLib/AArch64/Unaligned.c

Lines changed: 0 additions & 246 deletions
This file was deleted.

MdePkg/Library/BaseLib/BaseLib.inf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
LinkedList.c
6262
SafeString.c
6363
String.c
64+
Unaligned.c
6465
FilePaths.c
6566
BaseLibInternals.h
6667

@@ -194,7 +195,6 @@
194195
Ia32/InternalSwitchStack.c | MSFT
195196
Ia32/InternalSwitchStack.nasm | GCC
196197
Ia32/Non-existing.c
197-
Unaligned.c
198198
X86WriteIdtr.c
199199
X86WriteGdtr.c
200200
X86Thunk.c
@@ -304,7 +304,6 @@
304304

305305
X64/Non-existing.c
306306
Math64.c
307-
Unaligned.c
308307
X86WriteIdtr.c
309308
X86WriteGdtr.c
310309
X86Thunk.c
@@ -339,14 +338,12 @@
339338
Ebc/SetJumpLongJump.c
340339
Ebc/SwitchStack.c
341340
Ebc/SpeculationBarrier.c
342-
Unaligned.c
343341
Math64.c
344342
IntelTdxNull.c
345343
AmdSevNull.c
346344

347345
[Sources.AARCH64]
348346
AArch64/InternalSwitchStack.c
349-
AArch64/Unaligned.c
350347
Math64.c
351348

352349
AArch64/MemoryFence.S | GCC
@@ -375,7 +372,6 @@
375372

376373
[Sources.RISCV64]
377374
Math64.c
378-
Unaligned.c
379375
RiscV64/InternalSwitchStack.c
380376
RiscV64/CpuBreakpoint.c
381377
RiscV64/GetInterruptState.c
@@ -398,7 +394,6 @@
398394

399395
[Sources.LOONGARCH64]
400396
Math64.c
401-
Unaligned.c
402397
LoongArch64/Csr.c
403398
LoongArch64/InternalSwitchStack.c
404399
LoongArch64/AsmCsr.S | GCC

0 commit comments

Comments
 (0)