BaseTools/GenFv: Remove duplicated alignment macros

This commit is contained in:
Marvin Häuser 2023-03-26 19:18:40 +02:00 committed by Mikhail Krichanov
parent e521b58bf1
commit 091a444326
1 changed files with 0 additions and 4 deletions

View File

@ -45,10 +45,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
(((Imm32) >> 2) & 0x7fffff))
#define ARM_JUMP_TO_THUMB(Offset) _ARM_JUMP_TO_THUMB((Offset) - 8)
#define ALIGN_VALUE_ADDEND(Value, Alignment) (((Alignment) - (Value)) & ((Alignment) - 1U))
#define ALIGN_VALUE(Value, Alignment) ((Value) + ALIGN_VALUE_ADDEND (Value, Alignment))
#define IS_ALIGNED(Value, Alignment) (((Value) & ((Alignment) - 1U)) == 0U)
/*
* Arm instruction to return from exception (MOVS PC, LR)
*/