/device/linaro/bootloader/edk2/OvmfPkg/Library/PciHostBridgeLib/ |
D | XenSupport.c | 185 UINT64 Attributes; in ScanForRootBridges() local 204 Attributes = 0; in ScanForRootBridges() 254 Attributes |= EFI_PCI_ATTRIBUTE_VGA_PALETTE_IO; in ScanForRootBridges() 255 Attributes |= EFI_PCI_ATTRIBUTE_VGA_PALETTE_IO_16; in ScanForRootBridges() 336 Attributes |= EFI_PCI_ATTRIBUTE_ISA_IO; in ScanForRootBridges() 337 Attributes |= EFI_PCI_ATTRIBUTE_ISA_IO_16; in ScanForRootBridges() 338 Attributes |= EFI_PCI_ATTRIBUTE_ISA_MOTHERBOARD_IO; in ScanForRootBridges() 342 Attributes |= EFI_PCI_ATTRIBUTE_VGA_PALETTE_IO; in ScanForRootBridges() 343 Attributes |= EFI_PCI_ATTRIBUTE_VGA_MEMORY; in ScanForRootBridges() 344 Attributes |= EFI_PCI_ATTRIBUTE_VGA_IO; in ScanForRootBridges() [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/ |
D | CTA15-A7Mem.c | 67 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 72 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 79 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 84 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 90 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 95 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 101 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 107 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 114 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 121 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/ |
D | VolInfo.c | 482 (((EFI_FIRMWARE_VOLUME_HEADER*)Fv)->Attributes & EFI_FVB2_ERASE_POLARITY) ? in PrintFvInfo() 779 printf ("Attributes: %X\n", (unsigned) VolumeHeader.Attributes); in ReadHeader() 781 if (VolumeHeader.Attributes & EFI_FVB2_READ_DISABLED_CAP) { in ReadHeader() 785 if (VolumeHeader.Attributes & EFI_FVB2_READ_ENABLED_CAP) { in ReadHeader() 789 if (VolumeHeader.Attributes & EFI_FVB2_READ_STATUS) { in ReadHeader() 793 if (VolumeHeader.Attributes & EFI_FVB2_WRITE_DISABLED_CAP) { in ReadHeader() 797 if (VolumeHeader.Attributes & EFI_FVB2_WRITE_ENABLED_CAP) { in ReadHeader() 801 if (VolumeHeader.Attributes & EFI_FVB2_WRITE_STATUS) { in ReadHeader() 805 if (VolumeHeader.Attributes & EFI_FVB2_LOCK_CAP) { in ReadHeader() 809 if (VolumeHeader.Attributes & EFI_FVB2_LOCK_STATUS) { in ReadHeader() [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Library/ArmJunoLib/ |
D | ArmJunoMem.c | 85 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 90 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 96 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 102 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 108 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 114 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 120 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 128 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 136 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 144 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() [all …]
|
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmMmuLib/Arm/ |
D | ArmMmuLibCore.c | 111 IN ARM_MEMORY_REGION_ATTRIBUTES Attributes in PopulateLevel2PageTable() argument 122 switch (Attributes) { in PopulateLevel2PageTable() 174 (IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE(Attributes) ? (1 << 3) : 0) | in PopulateLevel2PageTable() 188 (IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE(Attributes) ? (1 << 3) : 0) | in PopulateLevel2PageTable() 210 UINT32 Attributes; in FillTranslationTable() local 223 switch (MemoryRegion->Attributes) { in FillTranslationTable() 225 Attributes = TT_DESCRIPTOR_SECTION_WRITE_BACK(0); in FillTranslationTable() 228 Attributes = TT_DESCRIPTOR_SECTION_WRITE_THROUGH(0); in FillTranslationTable() 231 Attributes = TT_DESCRIPTOR_SECTION_DEVICE(0); in FillTranslationTable() 234 Attributes = TT_DESCRIPTOR_SECTION_UNCACHED(0); in FillTranslationTable() [all …]
|
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PciHostBridgeLib/ |
D | PciHostBridgeSupport.c | 311 UINT64 Attributes; in ScanForRootBridges() local 330 Attributes = 0; in ScanForRootBridges() 380 Attributes |= EFI_PCI_ATTRIBUTE_VGA_PALETTE_IO; in ScanForRootBridges() 381 Attributes |= EFI_PCI_ATTRIBUTE_VGA_PALETTE_IO_16; in ScanForRootBridges() 462 Attributes |= EFI_PCI_ATTRIBUTE_ISA_IO; in ScanForRootBridges() 463 Attributes |= EFI_PCI_ATTRIBUTE_ISA_IO_16; in ScanForRootBridges() 464 Attributes |= EFI_PCI_ATTRIBUTE_ISA_MOTHERBOARD_IO; in ScanForRootBridges() 468 Attributes |= EFI_PCI_ATTRIBUTE_VGA_PALETTE_IO; in ScanForRootBridges() 469 Attributes |= EFI_PCI_ATTRIBUTE_VGA_MEMORY; in ScanForRootBridges() 470 Attributes |= EFI_PCI_ATTRIBUTE_VGA_IO; in ScanForRootBridges() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/ |
D | MemoryMap.c | 46 UINT64 Attributes; in MemoryMapPage() local 150 pMemoryDescriptor->Attributes ); in MemoryMapPage() 163 Attributes = pMemoryDescriptor->Attributes; in MemoryMapPage() 165 if ( 0 != ( Attributes & EFI_MEMORY_RUNTIME )) { in MemoryMapPage() 175 if ( 0 != ( Attributes & EFI_MEMORY_XP )) { in MemoryMapPage() 193 if ( 0 != ( Attributes & EFI_MEMORY_RP )) { in MemoryMapPage() 211 if ( 0 != ( Attributes & EFI_MEMORY_WP )) { in MemoryMapPage() 229 if ( 0 != ( Attributes & EFI_MEMORY_UCE )) { in MemoryMapPage() 248 if ( 0 != ( Attributes & EFI_MEMORY_WB )) { in MemoryMapPage() 266 if ( 0 != ( Attributes & EFI_MEMORY_WT )) { in MemoryMapPage() [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/ |
D | PciDecoding.c | 92 UINT64 Attributes; in EnablePciDecoding() local 105 Status = PciIo->Attributes (PciIo, EfiPciIoAttributeOperationGet, 0, in EnablePciDecoding() 116 Status = PciIo->Attributes (PciIo, EfiPciIoAttributeOperationSupported, 0, in EnablePciDecoding() 117 &Attributes); in EnablePciDecoding() 127 Attributes &= EFI_PCI_IO_ATTRIBUTE_IO | EFI_PCI_IO_ATTRIBUTE_MEMORY; in EnablePciDecoding() 128 Status = PciIo->Attributes (PciIo, EfiPciIoAttributeOperationEnable, in EnablePciDecoding() 129 Attributes, NULL); in EnablePciDecoding() 148 OrigAttrs[Idx].PciIo->Attributes (OrigAttrs[Idx].PciIo, in EnablePciDecoding() 190 OriginalAttributes[Idx].PciIo->Attributes ( in RestorePciDecoding()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ |
D | CTA9x4Mem.c | 67 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 74 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 80 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 86 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 92 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 98 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 105 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 116 VirtualMemoryTable[Index].Attributes = (ARM_MEMORY_REGION_ATTRIBUTES)0; in ArmPlatformGetVirtualMemoryMap()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
D | VariableExLib.c | 57 AuthVariableInfo->Attributes = 0; in VariableExLibFindVariable() 66 AuthVariableInfo->Attributes = Variable.CurrPtr->Attributes; in VariableExLibFindVariable() 117 AuthVariableInfo->Attributes = 0; in VariableExLibFindNextVariable() 128 AuthVariableInfo->Attributes = VariablePtr->Attributes; in VariableExLibFindNextVariable() 165 AuthVariableInfo->Attributes, in VariableExLibUpdateVariable() 226 IN UINT32 Attributes, in VariableExLibCheckRemainingSpaceForConsistency() argument 233 VA_START (Marker, Attributes); in VariableExLibCheckRemainingSpaceForConsistency() 235 Return = CheckRemainingSpaceForConsistencyInternal (Attributes, Marker); in VariableExLibCheckRemainingSpaceForConsistency()
|
D | Variable.c | 146 IN UINT32 Attributes, 504 AuthVariable->Attributes == (UINT32) (-1)) { in NameSizeOfVariable() 512 Variable->Attributes == (UINT32) (-1)) { in NameSizeOfVariable() 563 AuthVariable->Attributes == (UINT32) (-1)) { in DataSizeOfVariable() 571 Variable->Attributes == (UINT32) (-1)) { in DataSizeOfVariable() 776 IN UINT32 Attributes, in RecordVarErrorFlag() argument 786 …Flag (0x%02x) %s:%g - 0x%08x - 0x%x\n", Flag, VariableName, VendorGuid, Attributes, VariableSize)); in RecordVarErrorFlag() 950 …if ((Variable->Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) != EFI_VARIABLE_HARDWARE_ERROR_REC… in CalculateCommonUserVariableTotalSize() 1104 …if ((!IsVolatile) && ((Variable->Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) == EFI_VARIABLE_… in Reclaim() 1106 …} else if ((!IsVolatile) && ((Variable->Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) != EFI_VA… in Reclaim() [all …]
|
/device/linaro/bootloader/edk2/ArmPkg/Drivers/CpuDxe/ |
D | CpuMmuCommon.c | 86 IN UINT64 Attributes in SetGcdMemorySpaceAttributes() argument 97 BaseAddress, BaseAddress + Length, Attributes)); in SetGcdMemorySpaceAttributes() 147 …(MemorySpaceMap[Index].Attributes & ~EFI_MEMORY_CACHETYPE_MASK) | (MemorySpaceMap[Index].Capabilit… in SetGcdMemorySpaceAttributes() 221 OUT UINT64 *Attributes OPTIONAL in CpuConvertPagesToUncachedVirtualAddress() 227 if (Attributes != NULL) { in CpuConvertPagesToUncachedVirtualAddress() 230 *Attributes = GcdDescriptor.Attributes; in CpuConvertPagesToUncachedVirtualAddress() 257 IN UINT64 Attributes in CpuReconvertPages() argument 262 …| DEBUG_LOAD, "CpuReconvertPages(%lx, %x, %lx, %lx)\n", Address, Length, VirtualMask, Attributes)); in CpuReconvertPages() 272 Status = SetMemoryAttributes (Address, Length, Attributes, 0); in CpuReconvertPages()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/ |
D | Variable.c | 42 IN UINT32 Attributes, in AddEntry() argument 67 Entry->Attribute = Attributes; in AddEntry() 151 OUT UINT32 *Attributes OPTIONAL, in LibGetVariable() 159 if (EfiAtRuntime () && (Attributes != NULL)) { in LibGetVariable() 160 if ((*Attributes & EFI_VARIABLE_RUNTIME_ACCESS) == 0) { in LibGetVariable() 176 if (Attributes != NULL) { in LibGetVariable() 177 *Attributes = Entry->Attribute; in LibGetVariable() 230 IN UINT32 Attributes, in LibSetVariable() argument 238 if (EfiAtRuntime () && ((Attributes & EFI_VARIABLE_RUNTIME_ACCESS) == 0)) { in LibSetVariable() 247 Entry = AddEntry (VariableName, VendorGuid, Attributes, DataSize, Data); in LibSetVariable() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ |
D | PciIo.c | 981 if ((PciIoDevice->Attributes & EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE) != 0) { in PciIoMap() 1071 IN UINT64 Attributes in PciIoAllocateBuffer() argument 1077 if ((Attributes & in PciIoAllocateBuffer() 1084 if ((PciIoDevice->Attributes & EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE) != 0) { in PciIoAllocateBuffer() 1085 Attributes |= EFI_PCI_ATTRIBUTE_DUAL_ADDRESS_CYCLE; in PciIoAllocateBuffer() 1094 Attributes in PciIoAllocateBuffer() 1286 IN UINT64 Attributes, in ModifyRootBridgeAttributes() argument 1310 Attributes &= ~(UINT64)(EFI_PCI_IO_ATTRIBUTE_EMBEDDED_DEVICE | in ModifyRootBridgeAttributes() 1318 NewPciRootBridgeAttributes = PciRootBridgeAttributes | Attributes; in ModifyRootBridgeAttributes() 1320 NewPciRootBridgeAttributes = PciRootBridgeAttributes & (~Attributes); in ModifyRootBridgeAttributes() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/ |
D | FwVolAttrib.c | 34 OUT EFI_FV_ATTRIBUTES *Attributes in FvGetVolumeAttributes() argument 51 *Attributes = FvbAttributes; in FvGetVolumeAttributes() 52 *Attributes |= EFI_FV2_WRITE_POLICY_RELIABLE; in FvGetVolumeAttributes() 81 IN OUT EFI_FV_ATTRIBUTES *Attributes in FvSetVolumeAttributes() argument 110 NewStatus = (*Attributes) & EFI_FVB2_STATUS; in FvSetVolumeAttributes() 164 *Attributes = 0; in FvSetVolumeAttributes() 168 Attributes in FvSetVolumeAttributes()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ |
D | RTSMMem.c | 101 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 107 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 113 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 119 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 125 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 131 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 138 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 145 VirtualMemoryTable[Index].Attributes = (ARM_MEMORY_REGION_ATTRIBUTES)0; in ArmPlatformGetVirtualMemoryMap()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/ |
D | AuthService.c | 120 IN UINT32 Attributes in AuthServiceInternalUpdateVariable() argument 130 AuthVariableInfo.Attributes = Attributes; in AuthServiceInternalUpdateVariable() 160 IN UINT32 Attributes, in AuthServiceInternalUpdateVariableWithMonotonicCount() argument 172 AuthVariableInfo.Attributes = Attributes; in AuthServiceInternalUpdateVariableWithMonotonicCount() 203 IN UINT32 Attributes, in AuthServiceInternalUpdateVariableWithTimeStamp() argument 222 if (!EFI_ERROR (FindStatus) && ((Attributes & EFI_VARIABLE_APPEND_WRITE) != 0)) { in AuthServiceInternalUpdateVariableWithTimeStamp() 245 AuthVariableInfo.Attributes = Attributes; in AuthServiceInternalUpdateVariableWithTimeStamp() 417 UINT32 Attributes; in AddPubKeyInStore() local 444 Attributes = VARIABLE_ATTRIBUTE_NV_BS_RT | EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS; in AddPubKeyInStore() 446 …if (!mAuthVarLibContextIn->CheckRemainingSpaceForConsistency (Attributes, &PublicKeyEntry, Variabl… in AddPubKeyInStore() [all …]
|
D | AuthServiceInternal.h | 169 IN UINT32 Attributes, 193 IN UINT32 Attributes 259 IN UINT32 Attributes OPTIONAL, 292 IN UINT32 Attributes OPTIONAL 327 IN UINT32 Attributes 377 IN UINT32 Attributes 403 IN UINT32 Attributes, 430 IN UINT32 Attributes,
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/ |
D | SetVar.c | 75 UINT32 Attributes; in ShellCommandRunSetVar() local 85 Attributes = 0; in ShellCommandRunSetVar() 133 Status = gRT->GetVariable((CHAR16*)VariableName, &Guid, &Attributes, &Size, Buffer); in ShellCommandRunSetVar() 136 Status = gRT->GetVariable((CHAR16*)VariableName, &Guid, &Attributes, &Size, Buffer); in ShellCommandRunSetVar() 152 Status = gRT->SetVariable((CHAR16*)VariableName, &Guid, Attributes, 0, NULL); in ShellCommandRunSetVar() 171 Status = gRT->GetVariable((CHAR16*)VariableName, &Guid, &Attributes, &Size, Buffer); in ShellCommandRunSetVar() 174 Status = gRT->GetVariable((CHAR16*)VariableName, &Guid, &Attributes, &Size, Buffer); in ShellCommandRunSetVar() 181 Attributes = 0; in ShellCommandRunSetVar() 183 Attributes |= EFI_VARIABLE_BOOTSERVICE_ACCESS; in ShellCommandRunSetVar() 186 Attributes |= EFI_VARIABLE_RUNTIME_ACCESS | in ShellCommandRunSetVar() [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/ |
D | FSVariable.c | 72 IN UINT32 Attributes OPTIONAL, 371 …if ((!StorageType) && ((Variable->Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) == EFI_VARIABLE… in Reclaim() 373 …} else if ((!StorageType) && ((Variable->Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) != EFI_V… in Reclaim() 392 …if ((!StorageType) && ((Variable->Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) == EFI_VARIABLE… in Reclaim() 394 …} else if ((!StorageType) && ((Variable->Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) != EFI_V… in Reclaim() 494 if (!EfiAtRuntime () || (Variable->Attributes & EFI_VARIABLE_RUNTIME_ACCESS)) { in FindVariable() 513 if (!EfiAtRuntime () || (Variable->Attributes & EFI_VARIABLE_RUNTIME_ACCESS)) { in FindVariable() 879 UINT32 Attributes; in AutoUpdateLangVariable() local 979 …Attributes = EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_AC… in AutoUpdateLangVariable() 1006 …able (L"Lang", &gEfiGlobalVariableGuid, BestLang, ISO_639_2_ENTRY_SIZE + 1, Attributes, &Variable); in AutoUpdateLangVariable() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/ |
D | EmuVariable.c | 59 IN UINT32 Attributes OPTIONAL, 692 UINT32 Attributes; in AutoUpdateLangVariable() local 792 …Attributes = EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_AC… in AutoUpdateLangVariable() 819 …able (L"Lang", &gEfiGlobalVariableGuid, BestLang, ISO_639_2_ENTRY_SIZE + 1, Attributes, &Variable); in AutoUpdateLangVariable() 853 AsciiStrSize (BestPlatformLang), Attributes, &Variable); in AutoUpdateLangVariable() 890 IN UINT32 Attributes OPTIONAL, in UpdateVariable() 923 if ((Variable->CurrPtr->Attributes & EFI_VARIABLE_NON_VOLATILE) == 0) { in UpdateVariable() 933 …if (DataSize == 0 || (Attributes & (EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_BOOTSERVICE_ACCESS)… in UpdateVariable() 965 …if (DataSize == 0 || (Attributes & (EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_BOOTSERVICE_ACCESS)… in UpdateVariable() 974 …(((Attributes & EFI_VARIABLE_RUNTIME_ACCESS) == 0) || ((Attributes & EFI_VARIABLE_NON_VOLATILE) ==… in UpdateVariable() [all …]
|
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/ |
D | Open.c | 96 IN UINT8 Attributes in FatOFileOpen() argument 123 Status = FatLocateOFile (&OFile, FileName, Attributes, NewFileName); in FatOFileOpen() 137 Status = FatCreateDirEnt (OFile, NewFileName, Attributes, &DirEnt); in FatOFileOpen() 163 FileAttributes = OFile->DirEnt->Entry.Attributes; in FatOFileOpen() 207 IN UINT64 Attributes, in FatOpenEx() argument 239 …if (((OpenMode & EFI_FILE_MODE_CREATE) != 0) && (Attributes & (EFI_FILE_READ_ONLY | (~EFI_FILE_VAL… in FatOpenEx() 271 Status = FatOFileOpen (OFile, &NewIFile, FileName, OpenMode, (UINT8) Attributes); in FatOpenEx() 322 IN UINT64 Attributes in FatOpen() argument 325 return FatOpenEx (FHand, NewHandle, FileName, OpenMode, Attributes, NULL); in FatOpen()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FvOnFv2Thunk/ |
D | FvOnFv2Thunk.c | 75 OUT FRAMEWORK_EFI_FV_ATTRIBUTES *Attributes in FvGetVolumeAttributes() argument 87 Attributes in FvGetVolumeAttributes() 90 *Attributes = Fv2AttributesToFvAttributes (*Attributes); in FvGetVolumeAttributes() 112 IN OUT FRAMEWORK_EFI_FV_ATTRIBUTES *Attributes in FvSetVolumeAttributes() argument 123 Fv2Attributes = (*Attributes & 0x1ff); in FvSetVolumeAttributes() 129 *Attributes = Fv2AttributesToFvAttributes (Fv2Attributes); in FvSetVolumeAttributes() 349 OUT EFI_FV_FILE_ATTRIBUTES *Attributes, in FvGetNextFile() argument 365 Attributes, in FvGetNextFile() 372 *Attributes = *Attributes & EFI_FV_FILE_ATTRIB_ALIGNMENT; in FvGetNextFile()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/ |
D | FvbService.c | 169 return FwInstance->VolumeHeader.Attributes; in FvbGetVolumeAttributes() 297 EFI_FVB_ATTRIBUTES_2 Attributes; in FvbReadBlock() 314 Attributes = FvbGetVolumeAttributes (Instance); in FvbReadBlock() 316 if ( (Attributes & EFI_FVB2_READ_STATUS) == 0) { in FvbReadBlock() 365 EFI_FVB_ATTRIBUTES_2 Attributes; in FvbWriteBlock() 386 Attributes = FvbGetVolumeAttributes (Instance); in FvbWriteBlock() 387 if ( (Attributes & EFI_FVB2_WRITE_STATUS) == 0) { in FvbWriteBlock() 443 EFI_FVB_ATTRIBUTES_2 Attributes; in FvbEraseBlock() 451 Attributes = FvbGetVolumeAttributes (Instance); in FvbEraseBlock() 453 if( (Attributes & EFI_FVB2_WRITE_STATUS) == 0) { in FvbEraseBlock() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Library/AmdStyxLib/ |
D | StyxMem.c | 45 … VirtualMemoryTable[Index].Length, tblAttrDesc[VirtualMemoryTable[Index].Attributes])); 94 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 101 VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE; in ArmPlatformGetVirtualMemoryMap() 108 VirtualMemoryTable[Index].Attributes = CacheAttributes; in ArmPlatformGetVirtualMemoryMap() 115 VirtualMemoryTable[Index].Attributes = (ARM_MEMORY_REGION_ATTRIBUTES)0; in ArmPlatformGetVirtualMemoryMap()
|