-
Notifications
You must be signed in to change notification settings - Fork 234
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
⚠️ Replace MTIME by CLINT #1130
Conversation
Wow! This looks nice. :) I guess I have to rebase my (a bit dormant) SMP system. Cheers and happy new year! 🚀 |
Thanks a lot!
That's a good question. Let's open an issue or discussion for that. What worries me most is the multi-hart DM and of course the software support. 😅
A happy new year to you too! |
This PR replaces the MTIME machine timer by the RISC-V-compatible core local interruptor (CLINT). From a functional point of view, both devices are backwards-compatible. However, base address and register offsets are changed. Additionally, the CLINT also provides an interface for triggering machine-level software interrupts.
The CLINT supports up to 4095 harts (CPU cores). So maybe it is finally time to think about a multi-core setup (like the one GitHub user @NikLeberg has created). 🤔
HART_ID
generic.