lh-l4v/sys-init
Japheth Lim 3c4b566484 regression: fix tests.xml dependencies to be consistent with ROOTs. 2016-01-07 18:39:50 +11:00
..
CreateIRQCaps_SI.thy Merge 'master' into 'isabelle-2014'. 2014-09-17 14:21:13 +10:00
CreateObjects_SI.thy sys-init: Update sys-init and separation logic tactics for Isabelle 2014. 2014-09-12 17:48:39 +10:00
DuplicateCaps_SI.thy Merge branch 'cdl_page_map_cancel' 2014-09-18 17:21:17 +10:00
ExampleSpecIRQ_SI.thy terminology in comments: async ep -> notifications 2015-11-24 16:58:22 +13:00
ExampleSpec_SI.thy add arch_tcb object to C, rename aep -> ntfn 2015-11-20 16:02:13 +11:00
InitCSpace_SI.thy sys-init: Isabelle2015 update 2015-05-14 18:43:29 +02:00
InitIRQ_SI.thy add arch_tcb object to C, rename aep -> ntfn 2015-11-20 16:02:13 +11:00
InitTCB_SI.thy add arch_tcb object to C, rename aep -> ntfn 2015-11-20 16:02:13 +11:00
InitVSpace_SI.thy add arch_tcb object to C, rename aep -> ntfn 2015-11-20 16:02:13 +11:00
Makefile Import release snapshot. 2014-07-14 21:32:44 +02:00
ObjectInitialised_SI.thy add arch_tcb object to C, rename aep -> ntfn 2015-11-20 16:02:13 +11:00
Proof_SI.thy add arch_tcb object to C, rename aep -> ntfn 2015-11-20 16:02:13 +11:00
README.md misc: Proofing and formatting of README.md files. 2014-07-28 13:15:48 +10:00
ROOT Import release snapshot. 2014-07-14 21:32:44 +02:00
RootTask_SI.thy add arch_tcb object to C, rename aep -> ntfn 2015-11-20 16:02:13 +11:00
StartThreads_SI.thy add arch_tcb object to C, rename aep -> ntfn 2015-11-20 16:02:13 +11:00
SysInit_SI.thy Merge branch 'cdl_page_map_cancel' 2014-09-18 17:21:17 +10:00
WellFormed_SI.thy terminology in comments: async ep -> notifications 2015-11-24 16:58:22 +13:00
tests.xml regression: fix tests.xml dependencies to be consistent with ROOTs. 2016-01-07 18:39:50 +11:00

README.md

CapDL User-level system initialiser

This contains a formalised algorithm and the proof of correctness of a user-level system initialiser that uses capDL to specify the state of the resultant system.

It builds on the CapDL API Proofs, and uses a separation logic defined for capDL.

The system initialiser and the proof are described in the ICFEM '13 paper and Andrew Boyton's PhD thesis.

Building

To build from the l4v/ directory, run:

make SysInit

To build the example capDL specifications, from the l4v/ directory, run:

make SysInitExamples

Important Theories

  • The specification for the algorithm of the system initialiser is in SysInit_SI.

  • The top-level statement of the correctness of the system-initialiser is found in Proof_SI.

  • The definition of what it means for an object to be initialised (object_initialised and (irq_initialised) is found in ObjectInitialised_SI.

  • Only "well-formed" capDL specifications can be initialised. The definition of well-formed is located in WellFormed_SI.

  • Two example capDL specifications that are "well-formed" are found in ExampleSpec_SI and ExampleSpecIRQ_SI. The former is a simple capDL spec, and the latter a more complicated specifications with IRQ support.