[edk2-devel] [OVMF] Using EFI_TIMESTAMP_PROTOCOL in OVMF

Ayush Singh ayushdevel1325 at gmail.com
Mon Aug 15 13:28:49 UTC 2022


Hello everyone. I wanted to ask if there was a device/parameter to have
`EFI_TIMESTAMP_PROTOCOL` in OVMF.

I would like to use this protocol to provide monotonic time in Rust (and
fall back to platform-specific registers in case the protocol is absent).
However, in the default qemu configuration, there is no handle supporting
`EFI_TIMESTAMP_PROTOCOL`.


For more information on what I am trying to implement, see
`std::time::Instant` [1] and the PR comment [2].


Yours Sincerely

Ayush Singh


[1]: https://doc.rust-lang.org/std/time/struct.Instant.html

[2]: https://github.com/rust-lang/rust/pull/100316#discussion_r945313267


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#92426): https://edk2.groups.io/g/devel/message/92426
Mute This Topic: https://groups.io/mt/93035912/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20220815/63f9a0d4/attachment.htm>


More information about the edk2-devel-archive mailing list