aboutsummaryrefslogtreecommitdiff
path: root/src/tq.rs (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-11-19TimerQueue.dequeue: don't set SYST reload to 0Gravatar Maciej Pasternacki 1-0/+7
ARM Architecture Reference Manual says: "Setting SYST_RVR to zero has the effect of disabling the SysTick counter independently of the counter enable bit." If Monotonic's ratio is less than one, the timeout calculations can compute zero if next task is scheduled after current instant, but before next timer tick. This results in disabling SYST and freezing the timer queue.
2019-07-11change Monotonic::ratio return type to FractionGravatar Jorge Aparicio 1-5/+5
2019-06-13rtfm-syntax refactor + heterogeneous multi-core supportGravatar Jorge Aparicio 1-47/+70
2019-05-01implement RFCs 147 and 155, etc.Gravatar Jorge Aparicio 1-48/+30
This commit: - Implements RFC 147: "all functions must be safe" - Implements RFC 155: "explicit Context parameter" - Implements the pending breaking change #141: reject assign syntax in `init` (which was used to initialize late resources) - Refactors code generation to make it more readable -- there are no more random identifiers in the output -- and align it with the book description of RTFM internals. - Makes the framework hard depend on `core::mem::MaybeUninit` and thus will require nightly until that API is stabilized. - Fixes a ceiling analysis bug where the priority of the system timer was not considered in the analysis. - Shrinks the size of all the internal queues by turning `AtomicUsize` indices into `AtomicU8`s. - Removes the integration with `owned_singleton`.
2018-11-04impl Mutex on all shared resourcesGravatar Jorge Aparicio 1-1/+1
document how to write generic code that operates on resources
2018-11-03v0.4.0Gravatar Jorge Aparicio 1-0/+135
closes #32 closes #33