27 STATIC UINT64 StaticCount = 0;
29 *Count = StaticCount++;
79 IN UINT64 WatchdogCode,
81 IN CHAR16 *WatchdogData OPTIONAL
191 if ((Data ==
NULL) || (Crc32 ==
NULL) || (DataSize == 0)) {
192 return EFI_INVALID_PARAMETER;
UINT32 EFIAPI CalculateCrc32(IN VOID *Buffer, IN UINTN Length)
#define EFI_NOT_AVAILABLE_YET
EFI_STATUS EFIAPI UnitTestCalculateCrc32(IN VOID *Data, IN UINTN DataSize, OUT UINT32 *Crc32)
EFI_STATUS EFIAPI UnitTestSetWatchdogTimer(IN UINTN Timeout, IN UINT64 WatchdogCode, IN UINTN DataSize, IN CHAR16 *WatchdogData OPTIONAL)
EFI_STATUS EFIAPI UnitTestStall(IN UINTN Microseconds)
EFI_STATUS EFIAPI UnitTestDisconnectController(IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE DriverImageHandle OPTIONAL, IN EFI_HANDLE ChildHandle OPTIONAL)
EFI_STATUS EFIAPI UnitTestGetNextMonotonicCount(OUT UINT64 *Count)
EFI_STATUS EFIAPI UnitTestConnectController(IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE *DriverImageHandle OPTIONAL, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL, IN BOOLEAN Recursive)