Skip to content
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

panicked at 'attempt to multiply with overflow' #230

Closed
shzhxh opened this issue Oct 9, 2021 · 0 comments
Closed

panicked at 'attempt to multiply with overflow' #230

shzhxh opened this issue Oct 9, 2021 · 0 comments

Comments

@shzhxh
Copy link
Contributor

shzhxh commented Oct 9, 2021

When I run zCore on D1(Nazha) board, the kernel paniced, and I get those message:

panicked at 'attempt to multiply with overflow', ~/zCore/kernel-hal-bare/src/arch/riscv/mod.rs:518:26

The Code in mod.rs :

(time * 1_000_000_000 / FREQUENCY as u64)
@shzhxh shzhxh closed this as completed Nov 12, 2021
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

No branches or pull requests

1 participant