Commit Graph

1358 Commits

Author SHA1 Message Date
Gerwin Klein 1a29b76e12 x64 crefine: close Arch_finaliseInterrupt sorry 2018-07-05 16:23:15 +10:00
Gerwin Klein 49545b0235 x64 crefine: remaining Invoke_C sorries are C bugs 2018-07-05 16:23:15 +10:00
Gerwin Klein bec409b99c x64 crefine: removed 5 sorries in Invoke_C 2018-07-05 16:23:15 +10:00
Gerwin Klein c8218a81d6 x64 crefine: Syscall_C sorry free 2018-07-05 16:23:15 +10:00
Gerwin Klein 25681afb98 x64 refine: IpcCancel_C sorry free
also moved up a couple of canonical_address lemmas to SR_lemmas_C
2018-07-05 16:23:15 +10:00
Gerwin Klein 2b6f472c19 x64 crefine: CSpace_All sorry free 2018-07-05 16:23:15 +10:00
Gerwin Klein 2a3639c6f6 x64 crefine: Schedule_C sorry free 2018-07-05 16:23:15 +10:00
Gerwin Klein 8e9c6acd0f x64 crefine: Delete_C sorry free 2018-07-05 16:23:15 +10:00
Gerwin Klein 5b45186152 x64 crefine: Recycle_C sorry free 2018-07-05 16:23:15 +10:00
Gerwin Klein 4bdcf91149 x64 crefine: remove some sorries in Retype_C; document rest 2018-07-05 16:23:15 +10:00
Michael Sproul f20ec59695 x64: crefine: performPageInvocationUnmap
Depends on one lemma that will remain sorried until VER-917 is complete.
2018-07-05 16:23:15 +10:00
Japheth Lim e38bcf6bd2 x64 CRefine: proof repairs after wp changes 2018-07-05 16:23:15 +10:00
Japheth Lim 42ad2cbad9 x64 CRefine: more update for C-parser change to avoid complex call lvals (JIRA VER-881)
Also completes some Ipc_C proofs that were blocked by the C-parser problem.
2018-07-05 16:23:15 +10:00
Michael Sproul 87f6ad3f6c x64: crefine: prove unmapPage_ccorres
This required the addition of a new assumption in Machine_C about
invalidateTranslationSingleASID
2018-07-05 16:23:15 +10:00
Gerwin Klein 0a6a028a80 crefine x64: Refine_C sorried 2018-07-05 16:23:15 +10:00
Gerwin Klein 99f2868803 x64 refine: RAB_FN (needed for x64 crefine) 2018-07-05 16:23:14 +10:00
Gerwin Klein 1e73cba198 x64 crefine: remove ADT_C sorries up to missing arch defs 2018-07-05 16:23:14 +10:00
Gerwin Klein 06d9ff7853 x64 crefine: ADT_C sorried, Init_C added 2018-07-05 16:23:14 +10:00
Gerwin Klein 82474647a3 x64 crefine: FPU updates 2018-07-05 16:23:14 +10:00
Japheth Lim 3fb9903ea1 x64: crefine: update for C-parser change to avoid complex call lvals (JIRA VER-881) 2018-07-05 16:23:14 +10:00
Michael Sproul 81fca9ab65 x64: crefine: clear some sorries from VSpace_C 2018-07-05 16:23:14 +10:00
Michael Sproul c2797809ec x64: crefine: fix confused deputy problem when setting priorities 2018-07-05 16:23:14 +10:00
Michael Sproul 88f5f072b1 x64: crefine: Genericise deletion actions that occur after empty_slot
Based on Joel's changes for ARM_HYP
2018-07-05 16:23:14 +10:00
Matthew Brecknell 511d2e3693 x64: update proofs for new ccorres_rewrite 2018-07-05 16:23:14 +10:00
Matthew Brecknell 10c6a46405 x64: update proofs for msgLabelBits 2018-07-05 16:23:14 +10:00
Joel Beeren 4666cf43ba x64: crefine: cleared some sorries in Ipc_C
Cleared all bitfield sorries as well as remnant sorries from previous
spec changes. Only sorries remaining require spec changes
(msgLabelBits, VER-910) or C/c-parser changes (VER-881).
2018-07-05 16:23:14 +10:00
Joel Beeren 9141e3c1c2 x64: crefine: move lemma from Tcb_C to SR_lemmas_C, and more canonical_address lemmas to SR_Lemmas 2018-07-05 16:23:14 +10:00
Joel Beeren c12aa74ca3 x64: refine: add valid_pspace' -> pspace_canonical' drule 2018-07-05 16:23:14 +10:00
Matthew Brecknell bcac2c8492 x64: clear some sorry proofs from CSpace_C
Also update some Haskell and abstract specs relating to IO ports.
2018-07-05 16:23:14 +10:00
Joel Beeren b072714ca1 x64: crefine: move pspace_canonical' lemmas to refine 2018-07-05 16:23:14 +10:00
Joel Beeren 5d425337d2 x64: crefine: cleared sorries in Tcb_C 2018-07-05 16:23:14 +10:00
Joel Beeren 74a4be7a74 x64: crefine: cleared non sign extend sorries in Tcb_C 2018-07-05 16:23:14 +10:00
Rafal Kolanski 022f6a5981 x64 crefine: update existing proofs for pspace_canonical'
The logic roughly follows what happens in Refine, but gets woven into
ccorres proofs making this non-obvious.
Similar breakage will become evident once more sorries are cleared
around retyping/deleting.
2018-07-05 16:23:14 +10:00
Rafal Kolanski 9159cf7c0d x64 refine: add pspace_canonical' invariant
All kernel objects in the kheap exist at canonical addresses. Additional
constraint needed on Untyped caps: they must refer to a canonical
address in memory, since the Untyped objects themselves do not live in
the kheap.

The invariant is needed to discharge pointer dereference guards in C for
pointers obtained from kernel objects. We managed to prove it without
adding abstract invariants.
2018-07-05 16:23:14 +10:00
Rafal Kolanski d15b4e5cb6 x64 ainvs: preservation of canonical_address under addition 2018-07-05 16:23:14 +10:00
Rafal Kolanski 334949125c x64 crefine: update or sorry broken proofs up to Syscall_C 2018-07-05 16:23:14 +10:00
Rafal Kolanski 569abcff5a x64 crefine: add Syscall_C to Refine_C for testing 2018-07-05 16:23:14 +10:00
Rafal Kolanski 53553ea260 x64 crefine: update scheduler bitmap lemmas
Applied the changes from invert-fastpath on ARM_HYP to available X64
files, updated relevant proofs to 64-bit, reduced IpcCancel sorries to
sign_extend only, reduced Schedule to one sorry.
2018-07-05 16:23:14 +10:00
Gerwin Klein e94d70f42c x64: crefine: remove 3 sorries in Retype_C
(added 3 more)
2018-07-05 16:23:14 +10:00
Gerwin Klein 5ef384cf07 x64 crefine: Detype_C sorry-free 2018-07-05 16:23:14 +10:00
Joel Beeren c858e6b75b x64: crefine: cleared sorry in checkCapAt_ccorres 2018-07-05 16:23:14 +10:00
Joel Beeren 812828fd35 x64: crefine: initial, broken commit of ADT_C 2018-07-05 16:23:14 +10:00
Joel Beeren dbf763ad01 x64: crefine: cleared sorries in SyscallArgs_C 2018-07-05 16:23:14 +10:00
Joel Beeren 710090f8e7 x64: crefine: cleared sorries in CSpace_RAB_C 2018-07-05 16:23:14 +10:00
Joel Beeren 25abf2b929 x64: crefine: onle Arch_decodeIRQControlInvocation_ccorres remains in Interrupt_C 2018-07-05 16:23:14 +10:00
Joel Beeren 88b2d4988d x64: crefine: added Syscall_C 2018-07-05 16:23:14 +10:00
Joel Beeren 94a1215405 x64: crefine: added Arch_C 2018-07-05 16:23:14 +10:00
Joel Beeren daaeed46aa x64: crefine: added Invoke_C 2018-07-05 16:23:14 +10:00
Joel Beeren abda36a8f7 x64: crefine: added Recycle_C 2018-07-05 16:23:14 +10:00
Joel Beeren d27f7c9f60 x64: crefine: added Retype_C 2018-07-05 16:23:14 +10:00
Joel Beeren ff95aec20f x64: crefine: added Interrupt_C 2018-07-05 16:23:14 +10:00
Joel Beeren 1fc3536aff x64: crefine: added Schedule_C 2018-07-05 16:23:14 +10:00
Joel Beeren 5ccbe6061d x64: crefine: added Tcb_C 2018-07-05 16:23:14 +10:00
Joel Beeren 1079673d34 x64: crefine: adjust value_abbreviation in Delete_C 2018-07-05 16:23:14 +10:00
Joel Beeren fa38926ac3 x64: crefine: update for isabelle-2017 2018-07-05 16:23:14 +10:00
Joel Beeren c9633be900 x64: crefine: added Delete_C 2018-07-05 16:23:14 +10:00
Joel Beeren 05ace54dd4 x64: crefine: update sorries for C changes
changes include:
    * zombie bit numbers changing
    * object sizes abstracted
2018-07-05 16:23:14 +10:00
Joel Beeren b5d5b973f6 x64: crefine: added Ipc_C 2018-07-05 16:23:14 +10:00
Joel Beeren 24bc43a65a x64: crefine: added IsolatedThreadAction.thy 2018-07-05 16:23:14 +10:00
Joel Beeren f4e33ad6c6 x64: crefine: minor tweaks in VSpace_C 2018-07-05 16:23:14 +10:00
Joel Beeren 4668abb6b7 x64: crefine: added Finalise_C 2018-07-05 16:23:14 +10:00
Joel Beeren bb4cdf564b x64: crefine: added Detype_C 2018-07-05 16:23:14 +10:00
Joel Beeren 0bad4a3918 x64: crefine: add CSpace_All.thy 2018-07-05 16:23:14 +10:00
Joel Beeren 767b2612be x64: crefine: added IpcCancel_C 2018-07-05 16:23:14 +10:00
Joel Beeren a07380a7fc x64: crefine: added SyscallArgs_C 2018-07-05 16:23:14 +10:00
Joel Beeren 3a9818b070 x64: crefine: added CSpace_RAB_C.thy 2018-07-05 16:23:14 +10:00
Joel Beeren 3c3ce87df0 x64: crefine: added DetWP.thy 2018-07-05 16:23:14 +10:00
Joel Beeren 5982952444 x64: crefine: added StoreWord_C 2018-07-05 16:23:14 +10:00
Joel Beeren c69b10e2d4 x64: crefine: VSpace_C sorried
There are probably lots of lemmas missing but this will allow people to
move forward beyond VSpace_C to other files.

Many sorries are dependent on C changes still in the pipeline
2018-07-05 16:23:14 +10:00
Joel Beeren 3fb61f92a6 x64: crefine: interim commit of VSpace_C 2018-07-05 16:23:14 +10:00
Joel Beeren 55b5f165b7 x64: crefine: added getFaultAddr_ccorres to machine assumptions 2018-07-05 16:23:14 +10:00
Joel Beeren 72b1edaf96 x64: crefine: add CSpace_C to Refine_C for regression testing 2018-07-05 16:23:14 +10:00
Joel Beeren bf25de6b5b x64: crefine: added CSpace_C with sorries 2018-07-05 16:23:14 +10:00
Joel Beeren 5909835331 x64: crefine: adjust cl_valid_cap for irq_handler caps 2018-07-05 16:23:14 +10:00
Joel Beeren 0326c2a956 x64: crefine: add frame_cap condition to cl_valid_cap
On x64, there are only 3 possible page sizes, so it is no longer
possible to deduce that a page size is well-formed from just the
bitfield struct (previously there were 4 page sizes for a 2-bit field).
2018-07-05 16:23:14 +10:00
Joel Beeren 1069cb70f2 x64: crefine: fix default case in vmrights_to_H 2018-07-05 16:23:14 +10:00
Joel Beeren f24785cb8b x64: crefine: add neglected IOPortCap case to a few lemmas 2018-07-05 16:23:14 +10:00
Joel Beeren c80d51bf2a x64: crefine: added Machine_C 2018-07-05 16:23:14 +10:00
Joel Beeren a5aae07229 x64 crefine: added CSpaceAcc_C 2018-07-05 16:23:14 +10:00
Corey Lewis c71fa27e14 Whitespace and typos 2018-07-03 13:42:23 +10:00
Corey Lewis 571ef6d0ca crefine+drefine+access+infoflow: update proofs for SetTLSBase (VER-807) 2018-07-03 13:42:22 +10:00
Maksym Bortin 9d315cda20 ainvs+refine: update proofs for SetTLSBase (VER-807) 2018-07-03 13:42:19 +10:00
Gerwin Klein a93dafb21c proofs: record tests.xml dependencies for SepTacticsExamples 2018-06-27 10:06:48 +02:00
Corey Lewis 967a091cf6 ainvs: Remove unnecessary crunches and whitespace 2018-06-27 11:48:56 +10:00
Corey Lewis 97c24b95c9 ainvs: Add itcb_arch to the itcb projection
This allows us to more easily show that arch specific tcb fields are
preserved by many functions of the spec. For ARM_HYP we add a
projection for the tcb_vcpu field.
2018-06-27 11:48:56 +10:00
Corey Lewis d77d31a77c lib: Refactor crunch so that it can be used for both the nondet monad and the trace monad 2018-06-26 14:45:28 +10:00
Rafal Kolanski 15d6b62040 arm: address setCurrentPD mismatch between abstract/haskell/C
ARM setCurrentPD was recently refactored as part of multi-VM support for
ARM_HYP. The Haskell was updated correctly, and the C was not.
Unfortunately, setCurrentPD was manually redefined in MachineOps.thy for
ARM hiding the change, making the C look correct when it wasn't.

We scrap the second definition of setCurrentPD, load it from the Haskell,
and have an abstract set_current_pd that's a bit simpler to refine down
from.

The proofs are updated for the above change and the update to the C
setCurrentPD that was breaking on KZM.
2018-06-22 11:59:30 +10:00
Rafal Kolanski 4a3d7a958c arm-hyp: update proofs for SELFOUR-584: running multiple VMs on ARM
As requested by verification, hypervisor registers are now an
enumeration-indexed array rather than individual fields. This cleans up
some of the proof. Additionally, we sweep some non-complexity under the
machine op rug: vcpu_hw_write/read_reg_ccorres is as deep as we go,
rather than specifying every operation and proving that
vcpu_hw_write seL4_VCPUReg_REG calls set_REG for every REG

I took this opportunity to clean up some arm-hyp definitions and proofs,
so some whitespace cleanup got tangled in.
2018-06-15 18:48:47 +10:00
Corey Lewis c686d6e776 lib: Make Crunch more effective at applying supplied rules 2018-06-08 15:48:32 +10:00
Corey Lewis 70212ec799 dpolicy: add a comment summarising the result in proof/access-control/Dpolicy.thy 2018-05-08 10:19:02 +10:00
Joel Beeren 5cff1d47ac crefine: fix finaliseCap proof for 1ul shift change 2018-04-27 07:12:09 +10:00
Joel Beeren 25125763bd arm-hyp: ioportcontrol: fixes after adding IOPortControlCaps to x64 2018-04-19 05:27:06 +10:00
Joel Beeren 1634608453 arm: ioportcontrol: Fixes after adding IOPortControlCaps to x64 2018-04-19 05:27:06 +10:00
Joel Beeren f728dd25e8 x64: Add IOPortControlCaps to control IO port allocation
The previous implementation of IOPortCaps has problems with revocability
and determining parency etc. This commit adds IOPortControlCaps which
behave identically to IRQControlCaps -- invoking the IOPortControlCap
allows one to create IOPortCaps with the supplied range.

There now exist invariants to show that there is only one
IOPortControlCap and that all IOPortCaps in the system do not overlap.
Furthermore there is a global record of which IO ports have been
allocated to prevent reissuing the same ports.
2018-04-19 05:27:06 +10:00
Joel Beeren 02e5096534 x64: VER-917: correct VSpace invocations to update map_type, and add invariants to check that maptype and mapped addresses correspond for PageCaps 2018-04-19 05:27:05 +10:00
Thibaut Perami 4c7ca8c076 arm+arm_hyp crefine: Split TLB functions to local and local+remote functions 2018-04-19 11:12:27 +10:00
Gerwin Klein cf601cb3c6 refine+crefine: update proofs for range check change 2018-04-11 08:05:46 +10:00
Rafal Kolanski 9813f6a09f arm-hyp haskell+refine: reorder arch invocation labels to match C 2018-04-07 00:02:51 +10:00
Rafal Kolanski 31290e2d92 arm-hyp crefine: update proofs for ARMv7 refactor 2018-04-06 14:24:47 +10:00
Corey Lewis 2d0baab462 Proof update for crunch changes 2018-04-04 14:13:55 +10:00
Gerwin Klein e3774a8813 asmrefine: ctcb_offset AUXUPD 2018-03-26 14:37:22 +11:00
Gerwin Klein 9b0441e288 arm + arm_hyp: crefine for ctcb_offset C AUXUPD 2018-03-26 14:37:22 +11:00
Gerwin Klein 62bee91f12 cspec/crefine: make ctcb_offset available to AUXUPD 2018-03-26 14:37:22 +11:00
Thomas Sewell 0f38e20094 Many proof repairs. 2018-03-16 14:57:51 +11:00
Thomas Sewell 652cbb966e Initial proof updates for combinator changes. 2018-03-16 14:53:22 +11:00
Japheth Lim bea2e09c04 crefine: further update for C-parser change to avoid complex call lvals (JIRA VER-881) 2018-03-14 17:58:43 +11:00
Gerwin Klein 44bd2788cd arm-hyp crefine: proof update for user_context refactor 2018-03-08 18:41:28 +11:00
Gerwin Klein 53996e94d9 arm-hyp refine: proof update for user_context refactor 2018-03-08 18:41:28 +11:00
Gerwin Klein 830f407d7f arm-hyp ainvs: proof update for user_context refactor 2018-03-08 18:41:28 +11:00
Gerwin Klein 3f7d6e1ce9 ARM infoflow: proof update for user_context refactor 2018-03-08 18:41:28 +11:00
Gerwin Klein 84633ccb7f ARM access: proof update for user_context refactor 2018-03-08 18:41:28 +11:00
Gerwin Klein 51190d18d1 ARM bisim: proof update for user_context refactor 2018-03-08 18:41:28 +11:00
Gerwin Klein b0cac3ec77 ARM drefine: proof update for user_context refactor 2018-03-08 18:41:28 +11:00
Gerwin Klein 4eb4ddf53f ARM crefine: proof update for user_context refactor 2018-03-08 18:41:28 +11:00
Gerwin Klein 2d9de5b9a6 ARM refine: proof update for user_context refactor 2018-03-08 18:41:28 +11:00
Gerwin Klein 8601dce656 ARM ainvs: proof update for user_context refactor 2018-03-08 18:41:28 +11:00
Gerwin Klein 21bbc51d9b x64 crefine: proof update for user_context refactor 2018-03-08 18:41:28 +11:00
Gerwin Klein 72c4123d10 x64 refine: proof update for user_context refactor 2018-03-08 18:41:28 +11:00
Gerwin Klein b29e9c9fd3 x64 ainvs: proof update for user_context refactor 2018-03-08 18:41:28 +11:00
Gerwin Klein 79cea8452f retire out-of-date effort calculation 2018-03-08 08:32:42 +11:00
Japheth Lim d7ec3eb986 crefine: update for C-parser change to avoid complex call lvals (JIRA VER-881) 2018-02-28 11:22:53 +11:00
Michael Sproul f0795805d1 SELFOUR-1016: fix confused deputy problem when setting priorities 2018-02-26 11:19:43 +11:00
Joel Beeren 4601f2a1ab Genericise deletion actions that occur after empty_slot
This patch adds a generic "post_cap_deletion" step that is called by
finalise_slot. Previous to this, the only caps which had actions
required at this stage were IRQHandlerCaps -- it was required that the
IRQ bitmap be updated after the cap itself was removed (as the
invariants state that for any existing IRQHandlerCap, the corresponding
bit in the IRQ bitmap must be set).

By genericising this, we add the capacity for new, arch-specific post
cap deletion actions to occur in the future.
2018-02-23 09:12:55 +11:00
Matthew Brecknell 6e74fa1ae3 arm/arm-hyp crefine: update proofs for new ccorres_rewrite 2018-02-18 13:05:41 +11:00
Joel Beeren 3d225cde69 VER-910: add msgLabelBits to haskell
message_info structs have 20 bit labels. On 32-bit systems, the label
does not need to be masked as there are no extra padding bits in the
struct, but this is not true for 64-bit systems. As a result, the
haskell needs to mask msgLabelBits (=20) when extracting the label in
messageInfoFromWord.
2018-02-07 10:36:59 +11:00
Miki Tanaka 9fb7c5cf4d arm_hyp ainvs: fix a typo 2018-01-30 12:00:25 +11:00
Miki Tanaka 4efe5392f7 arm ainvs: fix a typo 2018-01-30 12:00:21 +11:00
Matthew Fernandez d675e253ba fix broken README links 2018-01-29 13:24:35 +11:00
Matthew Brecknell eabbd86327 x64: remove references to x64KSCurrentCR3, following Meltdown mitigation
Changes to the C kernel to mitigate the Meltdown vulnerability have
removed x64KSCurrentCR3, and replaced it with other state. As a
temporary fix, this commit removes references to x64KSCurrentCR3 from
the C state relation to keep existing proofs working.

For x64 verification, this ultimately needs to be replaced with a
relation on the new state that has been added, and the specs updated
accordingly.
2018-01-22 16:28:33 +11:00
Michael Sproul 995b88cefa SELFOUR-707: schedule highest priority thread on setPriority 2018-01-19 16:08:11 +11:00
Gerwin Klein 7c0e7970d6 x64 refine: proof update for ASIDMap removal 2018-01-11 18:48:37 +11:00
Gerwin Klein 3bc1cb7f71 x64: update ainvs for asid_map removal 2018-01-11 18:48:37 +11:00
Matthew Brecknell 2f540e802c add constant definitions for bounds on untyped object sizes 2017-12-18 12:58:27 +11:00
Matthew Brecknell a1b60083e8 x64 ainvs: add some lemmas about canonical addresses 2017-12-18 12:57:55 +11:00
Miki Tanaka dcca6d496f x64 ainvs/refine: simple_ko setter/getter 2017-12-14 18:03:41 +11:00
Miki Tanaka 6eb2cb74ad arm-hyp: simple_ko setter/getter 2017-12-14 18:03:31 +11:00
Miki Tanaka 2a1beffac1 arm: update for simple_ko getter/setter 2017-12-14 18:02:48 +11:00
Miki Tanaka b37bc04463 arm ainvs: wp rules for simple_ko setter/getter 2017-12-14 18:02:44 +11:00
Miki Tanaka 3841b6e8ba arm : add AEndpoint and ANTFN a_type simplification
in addition to the a_type ATCB simplification, the following two are now in the simpset:
  "a_type (Endpoint x) = AEndpoint"
  "a_type (Notification v) = ANTFN"
2017-12-14 07:17:27 +11:00
Joel Beeren af2b7c7792 VER-825: Change representation of SchedulerAction_ChooseNewThread from ~0 to 1
This change was a result of the constant "(tcb_t*)~0" being defined as
0x00000000FFFFFFFF on x86-64 (0 is implicitly a 32-bit integer) rather
than 0xFFFFFFFFFFFFFFFF as expected.
2017-12-13 12:13:36 +11:00
Joel Beeren ffc0640869 VER-853: put arch_check_irq into the Arch locale, and update x64 to match C 2017-12-13 12:13:36 +11:00
Joel Beeren 0c9d7269d4 x64: miscellaneous constant updates (VER-845, VER-852)
Updated syscallMessage register list, maxIRQ to match C code
2017-12-13 12:13:36 +11:00
Joel Beeren b01b341b3c x64: adjust definition of Arch.switchToIdleThread (VER-848) 2017-12-13 12:13:36 +11:00
Joel Beeren a5a5edc832 VER-849: abstractly declare a threads registers have changed
This removes an ifdef present in invokeTCB_(Copy|Write)Registers, and
adds the function Arch_postModifyRegisters which does nothing on any
arch except x86-64.
2017-12-13 12:13:36 +11:00
Rafal Kolanski 2f28bfeaec x64: revise scheduler / fastpath / scheduler bitmaps (SELFOUR-242)
Apply "invert-fastpath" changes to x64 (ainvs, refine, partial crefine).
See main commit for arm for more context.
2017-11-27 22:05:46 +11:00
Rafal Kolanski 7b36283c70 arm-hyp: revise scheduler / fastpath / scheduler bitmaps (SELFOUR-242)
Apply "invert-fastpath" changes to arm-hyp (ainvs, refine, crefine).
See main commit for arm for more context.
2017-11-27 22:05:46 +11:00
Rafal Kolanski 3a22487cf3 arm: revise scheduler / fastpath / scheduler bitmaps (SELFOUR-242)
Colloquially known as "invert-fastpath".

Update verification efforts on ARM for the following seL4 changes:
- scheduling decisions done in possibleSwitchTo are moved to the
  scheduler
  - possibleSwitchTo only checks whether the candidate is valid for a
    fast switch, not its priority, accepting possible candidates
    immmediately as a switch-to scheduler action
  - the scheduler checks the candidate against the current thread and
    against the bitmaps before making a decision
  - attemptSwitchTo and switchIfRequiredTo are gone
  - scheduler is now more complicated, and numerous proofs related to it
    are rewritten from scratch
- fast path now checks ready queues via the scheduler bitmaps
- L2 scheduler bitmap order reversed for better cache locality

Many iterations between the kernel and verification teams were needed
to get this right.
2017-11-27 22:05:34 +11:00
Rafal Kolanski f641d70b6d infoflow: add InfoFlow_Image_Toplevel
It's really tiring figuring out whether we loaded all of the right
InfoFlow theory files in jEdit. This file lists what "the theories for
InfoFlow" are and should be loaded instead.

ROOT file adjusted to target it instead of a bunch of files, some of
which already include some of the others.
2017-11-27 21:00:14 +11:00
Matthew Brecknell a2dd6d1777 autocorres-crefine: update CRefine proofs for AutoCorres 2017-11-22 15:37:36 +11:00
Matthew Brecknell 70de40bcdd autocorres-crefine: add AutoCorresCRefine image 2017-11-22 12:18:16 +11:00