提交 8be55e9a 编写于 作者: G Goldfish64

OcBootManagementLib: Fix built-in picker timeout on IA32

上级 7b8cd225
......@@ -12,6 +12,7 @@ OpenCore Changelog
- Added explicit warn and safe fallback to builtin picker on failure to match the above
- Added VSCode source level IDE debug config example to debug docs
- Added other minor debug docs updates
- Fixed incorrect timeout of built-in picker on IA32
#### v0.7.0
- Fixed NVRAM reset on firmware with write-protected `BootOptionSupport`
......
......@@ -606,7 +606,7 @@ VOID
typedef
UINT64
(EFIAPI *OC_GET_KEY_WAIT_END_TIME) (
IN UINTN Timeout
IN UINT64 Timeout
);
/**
......
......@@ -548,14 +548,14 @@ STATIC
UINT64
EFIAPI
WaitForPickerKeyInfoGetEndTime (
IN UINTN Timeout
IN UINT64 Timeout
)
{
if (Timeout == 0) {
return 0ULL;
}
return GetTimeInNanoSecond (GetPerformanceCounter ()) + Timeout * 1000000u;
return GetTimeInNanoSecond (GetPerformanceCounter ()) + Timeout * 1000000ULL;
}
STATIC
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册