lh-l4v/spec/abstract/RISCV64
Gerwin Klein c969e4769c
riscv aspec: make example init state more flexible
- adjust the example init state such that it does not constrain the
  value of physBase and kernelELFBase too much. We assume 4M physical
  memory and 4k of kernel ELF memory. We need 4M for the infoflow
  example, because it requires a 2M RISCVLargePage plus additional
  kernel objects.

- make the PagePTE for kernelELFBase point to kernelELFPAddrBase so
  that the mapping stays consistent when physBase changes.

- introduce shorthand constants for the index in the page table that
  is responsible for kernelELFBase, and for the number of bits left
  to translate from the top-level page table (= size of the pages in
  that table).

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2023-03-29 11:05:26 +11:00
..
ArchCSpace_A.thy licenses: convert license tags to SPDX 2020-03-13 14:38:24 +08:00
ArchDecode_A.thy abstract x64+riscv: clean up some Word_Lib imports 2021-07-16 23:39:39 +10:00
ArchFault_A.thy all: remove theory import path references 2020-11-02 10:16:17 +10:00
ArchInterrupt_A.thy all: remove theory import path references 2020-11-02 10:16:17 +10:00
ArchInvocation_A.thy all: remove theory import path references 2020-11-02 10:16:17 +10:00
ArchIpcCancel_A.thy all: remove theory import path references 2020-11-02 10:16:17 +10:00
ArchRetype_A.thy licenses: convert license tags to SPDX 2020-03-13 14:38:24 +08:00
ArchTcb_A.thy all: remove theory import path references 2020-11-02 10:16:17 +10:00
ArchVSpaceAcc_A.thy all: remove theory import path references 2020-11-02 10:16:17 +10:00
ArchVSpace_A.thy all: remove theory import path references 2020-11-02 10:16:17 +10:00
Arch_A.thy aspec: generate proper kernel reply for PageGetAddr 2022-06-17 15:32:16 +10:00
Arch_Structs_A.thy machine+aspec: add Arch_Kernel_Config_Lemmas 2023-03-29 10:04:47 +11:00
Hypervisor_A.thy all: remove theory import path references 2020-11-02 10:16:17 +10:00
Init_A.thy riscv aspec: make example init state more flexible 2023-03-29 11:05:26 +11:00
Machine_A.thy isabelle-2021: arm-hyp/x64/riscv machine+aspec update 2021-09-30 16:53:17 +10:00