(* Author: Andrew Boyton, 2012 Maintainers: Gerwin Klein <kleing at cse.unsw.edu.au> Rafal Kolanski <rafal.kolanski at nicta.com.au> *) section "A simplified version of the actual capDL specification." theory Types_D imports "HOL-Library.Word" begin (* * Objects are named by 32 bit words. * This name may correspond to the memory address of the object. *) type_synonym cdl_object_id = "32 word" type_synonym cdl_object_set = "cdl_object_id set" (* The type we use to represent object sizes. *) type_synonym cdl_size_bits = nat (* An index into a CNode, TCB, or other kernel object that contains caps. *) type_synonym cdl_cnode_index = nat (* A reference to a capability slot. *) type_synonym cdl_cap_ref = "cdl_object_id × cdl_cnode_index" (* The possible access-control rights that exist in the system. *)