mirror of https://github.com/acidanthera/audk.git
BaseTools/GenFv: Remove duplicated alignment macros
This commit is contained in:
parent
e521b58bf1
commit
091a444326
|
@ -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)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue