-
Notifications
You must be signed in to change notification settings - Fork 734
Runtime Domain Schedules #1511
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
base: master
Are you sure you want to change the base?
Runtime Domain Schedules #1511
Conversation
|
Good to see the old domain tests failing -- that means we're actually doing something :). This should disappear once we've updated sel4test accordingly. |
cf74237 to
5a31b7d
Compare
|
Main changes:
|
lsf37
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good to me and is implementing the RFC as approved. Will leave out the tick for now so we don't accidentally merge before verification is finished.
Given that the change is only breaking if you are using the kernel API directly, we should at least have a deprecation period for the old |
8478ad1 to
dc84b9b
Compare
Implements RFC-20. Signed-off-by: Indan Zupancic <indan@nul.nu>
Useful for configuring domains. Signed-off-by: Indan Zupancic <indan@nul.nu>
| #define DSCHED_MAX_DURATION (UINT64_MAX >> DSCHED_DOMAIN_BITS) | ||
| #define DSCHED_DURATION_MASK DSCHED_MAX_DURATION | ||
|
|
||
| static dschedule_t dschedule_make(dom_t domain, uint64_t duration) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| static dschedule_t dschedule_make(dom_t domain, uint64_t duration) | |
| static inline dschedule_t dschedule_make(dom_t domain, uint64_t duration) |
Implements RFC-20.
TODO:
DomainSetSettoDomainSet?