Commit Graph

2 Commits

Author SHA1 Message Date
Gerwin Klein d79032a1a3 aarch64 aspec: factor out VCPU functions
We had put a lot of VCPU content into ArchVSpace and ArchVSpaceAcc even
though VCPUs aren't really very related to VSpace. These functions now
live in a separate files VCPUAcc in analogy to VSpaceAcc and TcbAcc.

Some of these functions could also move into VCPU_A instead.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2022-04-20 09:16:19 +10:00
Rafal Kolanski 4ea3c0c307 aarch64 aspec: add VCPU/HYP infrastucture
Largely adapted from ARM_HYP, modified and checked against Haskell code.

Signed-off-by: Rafal Kolanski <rafal.kolanski@proofcraft.systems>
2022-04-20 09:16:19 +10:00