public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [OVMF] Using EFI_TIMESTAMP_PROTOCOL in OVMF
@ 2022-08-15 13:28 Ayush Singh
  0 siblings, 0 replies; only message in thread
From: Ayush Singh @ 2022-08-15 13:28 UTC (permalink / raw)
  To: edk2-devel-groups-io
  Cc: Michael Kubacki, Kinney, Michael D, Gaibusab, Jabeena B,
	Jiewen Yao

[-- Attachment #1: Type: text/plain, Size: 631 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 901 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-15 13:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-15 13:28 [OVMF] Using EFI_TIMESTAMP_PROTOCOL in OVMF Ayush Singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox