Searched refs:FwCfgSize (Results 1 – 6 of 6) sorted by relevance
/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/ |
D | QemuFwCfgAcpi.c | 137 UINTN FwCfgSize; in ProcessCmdAllocate() local 154 Status = QemuFwCfgFindFile ((CHAR8 *)Allocate->File, &FwCfgItem, &FwCfgSize); in ProcessCmdAllocate() 161 NumPages = EFI_SIZE_TO_PAGES (FwCfgSize); in ProcessCmdAllocate() 175 Blob->Size = FwCfgSize; in ProcessCmdAllocate() 190 QemuFwCfgReadBytes (FwCfgSize, Blob->Base); in ProcessCmdAllocate() 561 UINTN FwCfgSize; in InstallQemuFwCfgTables() local 569 Status = QemuFwCfgFindFile ("etc/table-loader", &FwCfgItem, &FwCfgSize); in InstallQemuFwCfgTables() 573 if (FwCfgSize % sizeof *LoaderEntry != 0) { in InstallQemuFwCfgTables() 575 __FUNCTION__, (UINT64)FwCfgSize)); in InstallQemuFwCfgTables() 579 LoaderStart = AllocatePool (FwCfgSize); in InstallQemuFwCfgTables() [all …]
|
D | Qemu.c | 346 UINTN FwCfgSize; in GetSuspendStates() local 365 Status = QemuFwCfgFindFile ("etc/system-states", &FwCfgItem, &FwCfgSize); in GetSuspendStates() 366 if (Status != RETURN_SUCCESS || FwCfgSize != sizeof SystemStates) { in GetSuspendStates()
|
/device/linaro/bootloader/edk2/OvmfPkg/PlatformPei/ |
D | Platform.c | 261 UINTN FwCfgSize; in GetNamedFwCfgBoolean() local 264 Status = QemuFwCfgFindFile (FwCfgFileName, &FwCfgItem, &FwCfgSize); in GetNamedFwCfgBoolean() 268 if (FwCfgSize > sizeof Value) { in GetNamedFwCfgBoolean() 272 QemuFwCfgReadBytes (FwCfgSize, Value); in GetNamedFwCfgBoolean() 274 if ((FwCfgSize == 1) || in GetNamedFwCfgBoolean() 275 (FwCfgSize == 2 && Value[1] == '\n') || in GetNamedFwCfgBoolean() 276 (FwCfgSize == 3 && Value[1] == '\r' && Value[2] == '\n')) { in GetNamedFwCfgBoolean()
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/QemuFwCfgLib/ |
D | QemuFwCfgLib.c | 315 UINTN FwCfgSize; in QemuFwCfgS3Enabled() local 318 Status = QemuFwCfgFindFile ("etc/system-states", &FwCfgItem, &FwCfgSize); in QemuFwCfgS3Enabled() 319 if (Status != RETURN_SUCCESS || FwCfgSize != sizeof SystemStates) { in QemuFwCfgS3Enabled()
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/QemuBootOrderLib/ |
D | QemuBootOrderLib.c | 1635 UINTN FwCfgSize; in SetBootOrderFromQemu() local 1648 Status = QemuFwCfgFindFile ("bootorder", &FwCfgItem, &FwCfgSize); in SetBootOrderFromQemu() 1653 if (FwCfgSize == 0) { in SetBootOrderFromQemu() 1657 FwCfg = AllocatePool (FwCfgSize); in SetBootOrderFromQemu() 1663 QemuFwCfgReadBytes (FwCfgSize, FwCfg); in SetBootOrderFromQemu() 1664 if (FwCfg[FwCfgSize - 1] != '\0') { in SetBootOrderFromQemu()
|
/device/linaro/bootloader/edk2/OvmfPkg/PciHostBridgeDxe/ |
D | PciHostBridge.c | 213 UINTN FwCfgSize; in InitializePciHostBridge() local 248 Status = QemuFwCfgFindFile ("etc/extra-pci-roots", &FwCfgItem, &FwCfgSize); in InitializePciHostBridge() 249 if (EFI_ERROR (Status) || FwCfgSize != sizeof ExtraRootBridgesLeft) { in InitializePciHostBridge() 253 QemuFwCfgReadBytes (FwCfgSize, &ExtraRootBridgesLeft); in InitializePciHostBridge()
|