Skip to content

uhyve: using bootinfo to determine the boot time #1703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

stlankes
Copy link
Contributor

@stlankes stlankes commented May 1, 2025

On aarch64, uhyve doesn't support the ARM PrimeCell Real Time Clock(PL031). To detemine the unix timestamp, the kernel uses bootinfo to determine the boot time. In addition, these changes handle the counter frequency in khz (instead of hz).

In general, this PR splits #1694 in 2 PRs, Once for updating the dependencies and one, which is needed for uhyve.

stlankes added 5 commits May 4, 2025 14:02
On aarch64, uhyve doesn't support the ARM PrimeCell Real Time Clock(PL031).
To detemine the unix timestamp, the kernel uses bootinfo to determine
the boot time
Hereby, the usage of u128 can be prevented
- reusing functions from rust-aarch64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants