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

Linked lists #752

Merged
merged 1 commit into from
May 23, 2024
Merged

Linked lists #752

merged 1 commit into from
May 23, 2024

Commits on May 23, 2024

  1. spec+proof: use linked lists in the design spec

    This models the ready queues in the design spec as linked lists
    via the tcbSchedNext and tcbSchedPrev pointers of a TCB, as in the C.
    
    Library functions to update these linked lists are introduced, and used
    to perform all functions which modify the ready queues.
    
    Refinement between the linked lists and the Isabelle lists in the
    abstract spec is handled via the predicate `heap_ls`.
    
    `invs'` has been significantly modified, with the introduction of
    `valid_sched_pointers` and `sym_heap_sched_pointers`. The various
    invariants related to the bitmaps have been collected in the invariant
    `valid_bitmaps`.
    
    This includes a major revision to Orphanage, which now uses the
    tcbQueued field of a TCB to indicate a thread's membership in a
    ready queue, rather than the previous formulation which used
    membership in the set of the Isabelle list.
    
    Co-authored-by: Rafal Kolanski <[email protected]>
    Co-authored-by: Gerwin Klein <[email protected]>
    Signed-off-by: Michael McInerney <[email protected]>
    3 people committed May 23, 2024
    Configuration menu
    Copy the full SHA
    d2b566a View commit details
    Browse the repository at this point in the history