Commit Graph

2142 Commits

Author SHA1 Message Date
Alejandro Gomez-Londono b76709967b arm refine: Updating theories for ainvs changes 2017-06-19 14:32:44 +10:00
Miki Tanaka c21127eb0f arm InfoFlow: fixes for the backports from arm-hyp 2017-06-19 14:32:44 +10:00
Miki Tanaka 93eed88af7 arm AInvs: add more valid_global_objs and valid_global_vspace_mappings lemmas (in BCorres2_AI) 2017-06-19 14:32:44 +10:00
Gerwin Klein 18a7a76715 wordlib: show type for ucast/scast/revcast
Idea and initial code by Simon Winwood.
2017-06-19 14:32:44 +10:00
Miki Tanaka b17a329365 arm access: ARM Access now builds on arm-hyp 2017-06-19 14:32:44 +10:00
Rafal Kolanski 3468f2d4d4 arm-hyp design: use translator for pageBase body
Type declaration remains harcoded due to lack of "word-like" type class.
2017-06-19 14:32:44 +10:00
Rafal Kolanski 82e1b08de4 haskell: make ARM_HYP match ARM when preprocessed for non-hyp platforms 2017-06-19 14:32:44 +10:00
Rafal Kolanski 190724496c haskell: add build-arm to default build targets
Invoking a bare "make" will build-arm and build-arm-hyp-nosmmu
2017-06-19 14:32:44 +10:00
Rafal Kolanski f891de2186 sep-abstract: make getActiveIRQ calls match Syscall_A
getActiveIRQ now takes a bool
2017-06-19 14:32:44 +10:00
Joel Beeren a6304f8ef7 arm ainvs: update arch stuff to match generic for top level ainvs files 2017-06-19 14:32:44 +10:00
Joel Beeren 702bfecd5a ainvs: reintroduce second_level_tables all over the place, update generic Arch_AI and various ArchArch_AI's to match 2017-06-19 14:32:44 +10:00
Alejandro Gomez-Londono 7ed3df02e6 arm ainvs: updated proofs in ArchBCorres2 + KernelInit + ArchInterrupt 2017-06-19 14:32:44 +10:00
Joel Beeren f492f85471 ainvs: added back in second_level_tables for Untyped, ported changes to ARM_HYP also 2017-06-19 14:32:43 +10:00
Joel Beeren 5e6740464d arm ainvs: added necessary locale assumptions in ArchIpc_AI 2017-06-19 14:32:43 +10:00
Miki Tanaka 993f6a0120 arm ainvs: Updated up to ArchFinalise_AI 2017-06-19 14:32:43 +10:00
Miki Tanaka 5e4df460e2 ainvs: adjust generic theories for ARM fix 2017-06-19 14:32:43 +10:00
Miki Tanaka 35f714addf arm-hyp refine: reintroduce valid_global_objs and valid_global_vspace_mappings 2017-06-19 14:32:43 +10:00
Miki Tanaka 3dd695601d arm-hyp AInvs: reintroduce valid_global_objs and valid_global_vspace_mappings 2017-06-19 14:32:43 +10:00
Miki Tanaka 7470dcb698 arm-hyp invariants: make valid_arch_obj depend on valid_vspace_obj 2017-06-19 14:32:43 +10:00
Alejandro Gomez-Londono 74500bd829 arm-hyp test: Adding exclusion test set for ARM_HYP + cleanup 2017-06-19 14:32:43 +10:00
Pang Luo a4e9ffa403 arm-hyp: refactor tpidrurwRegister and fix corresponding proofs
See VER-717
2017-06-19 14:32:43 +10:00
Joel Beeren 1f4b9e686a arm-hyp: rename archTCBSanitise, arch_tcb_sanitise_condition, Arch_hasVCPU to be more appropriate 2017-06-19 14:32:43 +10:00
Gerwin Klein 8076ba136a arm-hyp crefine: adjust Syscall_C for wpsimp getting further 2017-06-19 14:32:43 +10:00
Rafal Kolanski 1869bfd574 arm-hyp crefine: vgicMaintenance ccorres; CRefine sorry-free 2017-06-19 14:32:43 +10:00
Miki Tanaka a429f5e553 arm-hyp abstract: [fix] virqSetEOIIRQEN 2017-06-19 14:32:43 +10:00
Miki Tanaka a02593b86f arm-hyp haskell: [fix] virqSetEOIIRQEN 2017-06-19 14:32:43 +10:00
Matthew Brecknell 25ef365531 arm-hyp refine: fix proofs broken by spec updates 2017-06-19 14:32:43 +10:00
Matthew Brecknell 1f5a142096 arm-hyp refine: remove corresK_machine_op from the default corresK set 2017-06-19 14:32:43 +10:00
Matthew Brecknell ec0c106c49 arm-hyp ainvs: fix proofs broken by spec update 2017-06-19 14:32:43 +10:00
Gerwin Klein 3757e605d4 arm-hyp abstract: update vgic_maintenance to avoid C overflow 2017-06-19 14:32:43 +10:00
Gerwin Klein e76a15d71d arm-hyp haskell: check idx earlier in vgicMaintenance to avoid C overflow 2017-06-19 14:32:42 +10:00
Miki Tanaka cb35836c7b arm-hyp haskell: small fix 2017-06-19 14:32:42 +10:00
Miki Tanaka 6176e4ab60 arm-hyp crefine: Ipc_C sorry-free 2017-06-19 14:32:42 +10:00
Alejandro Gomez-Londono c78a630ea9 arm-hyp haskell: virqSetEOIIRQEN fix 2017-06-19 14:32:42 +10:00
Alejandro Gomez-Londono aa5ebc4bce arm-hyp aspec: virqSetEOIIRQEN fix 2017-06-19 14:32:42 +10:00
Rafal Kolanski af1b6d50e7 arm-hyp crefine: Fastpath_C sorry-free 2017-06-19 14:32:42 +10:00
Rafal Kolanski a559cca656 arm-hyp crefine: weaken preconditions on vcpu_switch
Requiring MDB validity (contained in valid_pspace') was too strong for
fastpath proofs.
2017-06-19 14:32:42 +10:00
Alejandro Gomez-Londono b9512bce98 arm-hyp haskell: Fixed irq_index initialization in vgicMaintenance 2017-06-19 14:32:42 +10:00
Alejandro Gomez-Londono 2d899a98a9 arm-hyp aspec: Fixing ird_idx initialization in vgic_maintenance 2017-06-19 14:32:42 +10:00
Rafal Kolanski 1adc307094 arm-hyp crefine: remove unused lemma with conflicting name 2017-06-19 14:32:42 +10:00
Rafal Kolanski 705b86f25b arm-hyp crefine: fix monadic rewrite proof in Ipc_C 2017-06-19 14:32:42 +10:00
Rafal Kolanski a0cb855dc9 arm-hyp crefine: VSpace_C sorry-free, vcpu_(save|restore)_ccorres done 2017-06-19 14:32:42 +10:00
Matthew Brecknell f29099d490 arm-hyp crefine: prove ccorres for vcpu_init during VCPU retype 2017-06-19 14:32:42 +10:00
Gerwin Klein 242296a350 arm-hyp crefine: Arch_C sorry-free 2017-06-19 14:32:42 +10:00
Miki Tanaka c2d598b665 arm-hyp abstract: correct loop range in vcpu_restore 2017-06-19 14:32:42 +10:00
Miki Tanaka 79d7e5e4f8 arm-hyp haskell: correct loop range in vcpuRestore 2017-06-19 14:32:42 +10:00
Miki Tanaka eb967add36 arm-hyp refine: remove remaining sorries for vcpuSave spec change 2017-06-19 14:32:42 +10:00
Alejandro Gomez-Londono 396039a730 arm-hyp crefine: fixes get_gic_vcpu_ctrl_lr machine op + others
* others: fix arg name in get_gic_vcpu_ctrl_eisr0
    get_gic_vcpu_ctrl_eisr1 and get_gic_vcpu_ctrl_misr
2017-06-19 14:32:42 +10:00
Rafal Kolanski f24fe6ac7d arm-hyp crefine: remove references to FIXME in Arch_C
Specs got updated, FIXME lemmas removed, but the references were not
updated until now.
2017-06-19 14:32:42 +10:00
Miki Tanaka 2e962ff0a3 arm-hyp refine: reduce sorries in VSpace_R for vcpu_save change 2017-06-19 14:32:41 +10:00