aarch64 machine: introduce irq_len
Make it possible to refer to the size of the irq type symbolically. So far, this is only necessary in an example state for kernel init, but it's still nicer to avoid magic numbers. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
This commit is contained in:
parent
d43aa2e296
commit
1e4b3d7573
|
@ -17,7 +17,8 @@ begin
|
|||
|
||||
context Arch begin global_naming AARCH64
|
||||
|
||||
type_synonym irq = "9 word" (* match IRQ_CNODE_SLOT_BITS in seL4 config *)
|
||||
type_synonym irq_len = 9 (* match IRQ_CNODE_SLOT_BITS in seL4 config *)
|
||||
type_synonym irq = "irq_len word"
|
||||
type_synonym paddr = machine_word
|
||||
|
||||
abbreviation (input) "toPAddr \<equiv> id"
|
||||
|
|
Loading…
Reference in New Issue