Home
last modified time | relevance | path

Searched refs:Region (Results 1 – 25 of 64) sorted by relevance

123

/device/linaro/bootloader/edk2/ArmPkg/Include/IndustryStandard/
DArmTrustZoneSmc.h23 …PORTED_SMC(Rx,Region) (((UINTN)(Rx) >= (UINTN)ARM_TRUSTZONE_##Region##_SMC_ID_START) && ((UI… argument
34 #define IS_ARM_TRUSTZONE_SUPPORTED_SMC_ID_PRESENCE(Rx,Region) ((Rx) == ARM_TRUSTZONE_##Region##_SMC… argument
35 #define IS_ARM_TRUSTZONE_SUPPORTED_SMC_ID_UID(Rx,Region) (((Rx) == ARM_TRUSTZONE_##Region##_SM… argument
36 … ((Rx) == ARM_TRUSTZONE_##Region##_SMC_ID_UID+1) || \
37 … ((Rx) == ARM_TRUSTZONE_##Region##_SMC_ID_UID+2) || \
38 … ((Rx) == ARM_TRUSTZONE_##Region##_SMC_ID_UID+3) || \
39 … ((Rx) == ARM_TRUSTZONE_##Region##_SMC_ID_UID+4))
40 #define IS_ARM_TRUSTZONE_SUPPORTED_SMC_ID_REVISION(Rx,Region) (((Rx) == ARM_TRUSTZONE_##Region##_SM… argument
41 … ((Rx) == ARM_TRUSTZONE_##Region##_SMC_ID_REVISION+1))
42 #define IS_ARM_TRUSTZONE_SUPPORTED_SMC_ID_RPC(Rx,Region) (((Rx) >= ARM_TRUSTZONE_##Region##_SM… argument
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/
DBootMonFsReadWrite.c140 BOOTMON_FS_FILE_REGION *Region; in BootMonFsWriteFile() local
155 Region = (BOOTMON_FS_FILE_REGION*)AllocateZeroPool (sizeof (BOOTMON_FS_FILE_REGION)); in BootMonFsWriteFile()
156 if (Region == NULL) { in BootMonFsWriteFile()
161 Region->Buffer = AllocateCopyPool (*BufferSize, Buffer); in BootMonFsWriteFile()
162 if (Region->Buffer == NULL) { in BootMonFsWriteFile()
164 FreePool (Region); in BootMonFsWriteFile()
168 Region->Size = *BufferSize; in BootMonFsWriteFile()
169 Region->Offset = File->Position; in BootMonFsWriteFile()
171 InsertTailList (&File->RegionToFlushLink, &Region->Link); in BootMonFsWriteFile()
DBootMonFsOpenClose.c117 Description->Region[0].Checksum = 0; in WriteFileDescription()
118 Description->Region[0].Offset = Description->BlockStart * BlockSize; in WriteFileDescription()
119 Description->Region[0].Size = DataSize; in WriteFileDescription()
221 BOOTMON_FS_FILE_REGION *Region; in FreeFileRegions() local
226 Region = (BOOTMON_FS_FILE_REGION *) RegionToFlushLink; in FreeFileRegions()
228 FreePool (Region->Buffer); in FreeFileRegions()
229 FreePool (Region); in FreeFileRegions()
266 BOOTMON_FS_FILE_REGION *Region; in BootMonFsFlushFile() local
314 FileEnd = FileStart + File->HwDescription.Region[0].Size; in BootMonFsFlushFile()
321 Region = (BOOTMON_FS_FILE_REGION*)RegionToFlushLink; in BootMonFsFlushFile()
[all …]
DBootMonFsDir.c46 BOOTMON_FS_FILE_REGION *Region; in BootMonFsGetImageLength() local
52 FileSize += File->HwDescription.Region[Index].Size; in BootMonFsGetImageLength()
61 Region = (BOOTMON_FS_FILE_REGION*)RegionToFlushLink; in BootMonFsGetImageLength()
62 if (Region->Offset + Region->Size > FileSize) { in BootMonFsGetImageLength()
63 FileSize += Region->Offset + Region->Size; in BootMonFsGetImageLength()
271 Info->Region[Index].LoadAddress = File->HwDescription.Region[Index].LoadAddress; in GetBootMonFsFileInfo()
272 Info->Region[Index].Size = File->HwDescription.Region[Index].Size; in GetBootMonFsFileInfo()
273 Info->Region[Index].Offset = File->HwDescription.Region[Index].Offset; in GetBootMonFsFileInfo()
274 Info->Region[Index].Checksum = File->HwDescription.Region[Index].Checksum; in GetBootMonFsFileInfo()
359 BOOTMON_FS_FILE_REGION *Region; in SetFileSize() local
[all …]
DBootMonFsImages.c77 Description->Region[Index].Checksum = 0; in BootMonFsComputeFooterChecksum()
78 Description->Region[Index].LoadAddress = 0; in BootMonFsComputeFooterChecksum()
79 Description->Region[Index].Offset = 0; in BootMonFsComputeFooterChecksum()
80 Description->Region[Index].Size = 0; in BootMonFsComputeFooterChecksum()
DBootMonFsHw.h49 } Region[HW_IMAGE_DESCRIPTION_REGION_MAX]; member
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/ArmTrustZone/
DArmTrustZone.c93 UINT32* Region; in TZASCSetRegion() local
99 Region = (UINT32*)((UINTN)TzascBase + TZASC_REGIONS_REG + (RegionId * 0x10)); in TZASCSetRegion()
101 MmioWrite32((UINTN)(Region), LowAddress&0xFFFF8000); in TZASCSetRegion()
102 MmioWrite32((UINTN)(Region+1), HighAddress); in TZASCSetRegion()
103 MmioWrite32((UINTN)(Region+2), ((Security & 0xF) <<28) | ((Size & 0x3F) << 1) | (Enabled & 0x1)); in TZASCSetRegion()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/
DRegularExpressionDxe.c88 OnigRegion *Region; in OnigurumaMatch() local
136 Region = onig_region_new (); in OnigurumaMatch()
137 if (Region == NULL) { in OnigurumaMatch()
147 Region, in OnigurumaMatch()
158 onig_region_free (Region, 1); in OnigurumaMatch()
168 *CapturesCount = Region->num_regs; in OnigurumaMatch()
175 (*Captures)[Index].Length = (Region->end[Index] - Region->beg[Index]) / sizeof(CHAR16); in OnigurumaMatch()
178 (CHAR16*)((UINTN)String + Region->beg[Index]) in OnigurumaMatch()
197 onig_region_free (Region, 1); in OnigurumaMatch()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/LegacyRegion2Dxe/
DLegacyRegion2Dxe.uni2 // Produces the Legacy Region 2 Protocol.
4 // This generic implementation of the Legacy Region 2 Protocol does not actually
7 // be used as a template driver for implementing the Legacy Region 2 Protocol on
10 // Note: This module does not fully comply with PI Specification of Legacy Region 2
27 #string STR_MODULE_ABSTRACT #language en-US "Produces the Legacy Region 2 Protocol"
29Region 2 Protocol does not actually perform any lock/unlock operations. This module may be used o…
DLegacyRegion2Dxe.inf2 # Produces the Legacy Region 2 Protocol.
4 # This generic implementation of the Legacy Region 2 Protocol does not actually
7 # be used as a template driver for implementing the Legacy Region 2 Protocol on
10 # Note: This module does not fully comply with PI Specification of Legacy Region 2
DLegacyRegion2DxeExtra.uni18 "Legacy Region DXE Driver v2"
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/LegacyRegion2OnLegacyRegionThunk/
DLegacyRegion2OnLegacyRegionThunk.inf2 # Implementation of Legacy Region 2 Protocol based on Framework Legacy Region Protocol.
4 # Intel's Framework Legacy Region Protocol is replaced by Legacy Region 2 Protocol in PI 1.2.
5 # This module produces PI Legacy Region 2 Protocol on top of Framework Legacy Region Protocol.
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/
DBootMonFsLoader.c74 if ((Info.Region[Index].LoadAddress == 0) || (Info.Region[Index].Size == 0)) { in BootMonFsCheckFile()
140 LoadNode->MemOffset = (UINTN)Info.Region[Index].LoadAddress; in BootMonFsLoadFile()
141 LoadNode->FileOffset = (UINTN)FileData + Info.Region[Index].Offset; in BootMonFsLoadFile()
142 LoadNode->Length = (UINTN)Info.Region[Index].Size; in BootMonFsLoadFile()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/LegacyRegionDxe/
DLegacyRegionDxe.uni2 // Produces Framework Legacy Region Protocol.
4 // This generic implementation of the Legacy Region Protocol does not actually
7 // be used as a template driver for implementing the Legacy Region Protocol on
23 #string STR_MODULE_ABSTRACT #language en-US "Produces Framework Legacy Region Protocol"
25Region Protocol does not actually perform any lock/unlock operations. This module may be used on …
DLegacyRegionDxe.inf2 # Produces Framework Legacy Region Protocol.
4 # This generic implementation of the Legacy Region Protocol does not actually
7 # be used as a template driver for implementing the Legacy Region Protocol on
DLegacyRegionDxeExtra.uni18 "Legacy Region DXE Driver"
/device/google/cuttlefish/host/libs/wayland/
Dwayland_compositor.cpp49 Surface::Region* region = GetUserData<Surface::Region>(region_resource); in region_add()
121 Surface::Region* region = GetUserData<Surface::Region>(region_resource); in surface_set_opaque_region()
209 std::unique_ptr<Surface::Region> region(new Surface::Region()); in compositor_create_region()
216 DestroyUserData<Surface::Region>); in compositor_create_region()
Dwayland_surface.h41 struct Region { struct
48 void SetRegion(const Region& region); argument
76 Region region;
Dwayland_surface.cpp24 void Surface::SetRegion(const Region& region) { in SetRegion()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Include/Guid/
DBootMonFsFileInfo.h38 } Region[BOOTMONFS_IMAGE_DESCRIPTION_REGION_MAX]; member
43 OFFSET_OF (BOOTMON_FS_FILE_INFO, Region[BOOTMONFS_IMAGE_DESCRIPTION_REGION_MAX - 1].Checksum)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DFd.py18 import Region
81 PadRegion = Region.Region()
109 PadRegion = Region.Region()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/FdtDxe/
DBdsLinuxFdt.c379 FdtRegion Region; in AmdStyxPrepareFdt() local
494 Region.Base = cpu_to_fdtn ((UINTN)Resource->PhysicalStart); in AmdStyxPrepareFdt()
495 Region.Size = cpu_to_fdtn ((UINTN)Resource->ResourceLength); in AmdStyxPrepareFdt()
497 err = fdt_setprop(fdt, node, "reg", &Region, sizeof(Region)); in AmdStyxPrepareFdt()
/device/linaro/bootloader/edk2/IntelFspPkg/Tools/
DGenCfgOpt.py950 for Region in ['UPD', 'VPD']:
953 if Region[0] == 'V':
972 TxtBody.append("typedef struct _" + Region[0] + "PD_DATA_REGION {\n")
982 if Item['region'] != Region:
992 Name = "Reserved" + Region[0] + "pdSpace%d" % ResvIdx
998 Name = "Unused" + Region[0] + "pdSpace%d" % SpaceIdx
1026 TxtBody.append("} " + Region[0] + "PD_DATA_REGION;\n\n")
/device/linaro/bootloader/edk2/ArmVirtPkg/
DArmVirtQemu.fdf40 # Following are lists of FD Region layout which correspond to the locations of different
45 # A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
/device/linaro/bootloader/edk2/UefiCpuPkg/
DUefiCpuPkg.uni46 …TokenSpaceGuid_PcdCpuMicrocodePatchAddress_PROMPT #language en-US "Microcode Region base address."
48 … #language en-US "Specifies the base address of the first microcode Patch in the microcode Region."
50 …puPkgTokenSpaceGuid_PcdCpuMicrocodePatchRegionSize_PROMPT #language en-US "Microcode Region size."
52 …_PcdCpuMicrocodePatchRegionSize_HELP #language en-US "Specifies the size of the microcode Region."

123