30 lines
843 B
Plaintext
30 lines
843 B
Plaintext
(*
|
|
* Copyright 2014, General Dynamics C4 Systems
|
|
* Copyright 2022, Proofcraft Pty Ltd
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-only
|
|
*)
|
|
|
|
chapter "VCPU"
|
|
|
|
theory VCPU_H
|
|
imports
|
|
Hardware_H
|
|
Structures_H
|
|
Invocations_H
|
|
TCB_H
|
|
begin
|
|
context Arch begin global_naming AARCH64_H
|
|
|
|
#INCLUDE_HASKELL_PREPARSE SEL4/Object/Structures.lhs CONTEXT AARCH64_H
|
|
#INCLUDE_HASKELL SEL4/Object/VCPU/AARCH64.hs CONTEXT AARCH64_H ArchInv=Arch \
|
|
NOT vcpuUpdate vgicUpdate vgicUpdateLR vcpuSaveReg vcpuRestoreReg \
|
|
vcpuSaveRegRange vcpuRestoreRegRange vcpuWriteReg vcpuReadReg saveVirtTimer \
|
|
restoreVirtTimer vcpuDisable vcpuEnable vcpuRestore vcpuSave vcpuSwitch \
|
|
vcpuInvalidateActive vcpuCleanInvalidateActive countTrailingZeros virqType \
|
|
virqSetEOIIRQEN vgicMaintenance vppiEvent irqVPPIEventIndex armvVCPUSave \
|
|
curVCPUActive
|
|
|
|
end
|
|
end
|