design: fix ExecSpec for other architectures

Include the new ArchPSpace_H file, which on the other (non-AArch64)
architectures will only contain an empty placeholder function.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
This commit is contained in:
Gerwin Klein 2023-05-25 09:20:28 +10:00
parent d24d2f8397
commit aa2eb9ad6d
No known key found for this signature in database
GPG Key ID: 20A847CE6AB7F5F3
4 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,20 @@
(*
* Copyright 2023, Proofcraft Pty Ltd
*
* SPDX-License-Identifier: GPL-2.0-only
*)
(* Arch-specific ghost update functions for physical memory *)
theory ArchPSpace_H
imports
ObjectInstances_H
begin
context Arch begin global_naming ARM_H
#INCLUDE_HASKELL SEL4/Model/PSpace/ARM.hs
end (* context Arch *)
end

View File

@ -0,0 +1,20 @@
(*
* Copyright 2023, Proofcraft Pty Ltd
*
* SPDX-License-Identifier: GPL-2.0-only
*)
(* Arch-specific ghost update functions for physical memory *)
theory ArchPSpace_H
imports
ObjectInstances_H
begin
context Arch begin global_naming ARM_HYP_H
#INCLUDE_HASKELL SEL4/Model/PSpace/ARM.hs
end (* context Arch *)
end

View File

@ -0,0 +1,20 @@
(*
* Copyright 2023, Proofcraft Pty Ltd
*
* SPDX-License-Identifier: GPL-2.0-only
*)
(* Arch-specific ghost update functions for physical memory *)
theory ArchPSpace_H
imports
ObjectInstances_H
begin
context Arch begin global_naming RISCV64_H
#INCLUDE_HASKELL SEL4/Model/PSpace/RISCV64.hs
end (* context Arch *)
end

View File

@ -0,0 +1,20 @@
(*
* Copyright 2023, Proofcraft Pty Ltd
*
* SPDX-License-Identifier: GPL-2.0-only
*)
(* Arch-specific ghost update functions for physical memory *)
theory ArchPSpace_H
imports
ObjectInstances_H
begin
context Arch begin global_naming X64_H
#INCLUDE_HASKELL SEL4/Model/PSpace/X64.hs
end (* context Arch *)
end