Home
last modified time | relevance | path

Searched refs:InstPos (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/
DPeCoffLoaderEx.c28 #define EXT_IMM64(Value, Address, Size, InstPos, ValPos) \ argument
29 Value |= (((UINT64)((*(Address) >> InstPos) & (((UINT64)1 << Size) - 1))) << ValPos)
31 #define INS_IMM64(Value, Address, Size, InstPos, ValPos) \ argument
32 *(UINT32*)Address = (*(UINT32*)Address & ~(((1 << Size) - 1) << InstPos)) | \
33 ((UINT32)((((UINT64)Value >> ValPos) & (((UINT64)1 << Size) - 1))) << InstPos)
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/Ipf/
DPeCoffLoaderEx.c19 #define EXT_IMM64(Value, Address, Size, InstPos, ValPos) \ argument
20 Value |= (((UINT64)((*(Address) >> InstPos) & (((UINT64)1 << Size) - 1))) << ValPos)
22 #define INS_IMM64(Value, Address, Size, InstPos, ValPos) \ argument
23 *(UINT32*)Address = (*(UINT32*)Address & ~(((1 << Size) - 1) << InstPos)) | \
24 ((UINT32)((((UINT64)Value >> ValPos) & (((UINT64)1 << Size) - 1))) << InstPos)
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/Ipf/
DPeCoffLoaderEx.c27 #define EXT_IMM64(Value, Address, Size, InstPos, ValPos) \ argument
28 Value |= (((UINT64)((*(Address) >> InstPos) & (((UINT64)1 << Size) - 1))) << ValPos)
30 #define INS_IMM64(Value, Address, Size, InstPos, ValPos) \ argument
31 *(UINT32*)Address = (*(UINT32*)Address & ~(((1 << Size) - 1) << InstPos)) | \
32 ((UINT32)((((UINT64)Value >> ValPos) & (((UINT64)1 << Size) - 1))) << InstPos)
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DPeCoffLoaderEx.c23 #define EXT_IMM64(Value, Address, Size, InstPos, ValPos) \ argument
24 Value |= (((UINT64)((*(Address) >> InstPos) & (((UINT64)1 << Size) - 1))) << ValPos)
26 #define INS_IMM64(Value, Address, Size, InstPos, ValPos) \ argument
27 *(UINT32*)Address = (*(UINT32*)Address & ~(((1 << Size) - 1) << InstPos)) | \
28 ((UINT32)((((UINT64)Value >> ValPos) & (((UINT64)1 << Size) - 1))) << InstPos)