diff options
| author | Alexander Potapenko <glider@google.com> | 2024-11-18 11:23:01 +0100 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2024-11-26 11:12:47 +0000 |
| commit | 3bbc60604366c324295d54a7d93dd7d258a0e2aa (patch) | |
| tree | 7f2598945acc42bd3f2b3a901decc9260307fc5a /executor/kvm.h | |
| parent | 26cf63663eb59ad18dd3d635de7698a91ba24f2a (diff) | |
executor: arm64: allocate memory for ITS tables on the host side
Diffstat (limited to 'executor/kvm.h')
| -rw-r--r-- | executor/kvm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/executor/kvm.h b/executor/kvm.h index f69322bfd..b90da9362 100644 --- a/executor/kvm.h +++ b/executor/kvm.h @@ -76,12 +76,15 @@ #define NEXT_INSN $0xbadc0de #define PREFIX_SIZE 0xba1d +#define SZ_64K 0x00010000 + // GICv3 distributor address. #define ARM64_ADDR_GICD_BASE 0x08000000 // GICv3 ITS address. #define ARM64_ADDR_GICI_BASE 0x08080000 // GICv3 redistributor address. #define ARM64_ADDR_GICR_BASE 0x080a0000 +#define ARM64_ADDR_ITS_TABLES 0xc0000000 // Write to this page to trigger a page fault and stop KVM_RUN. #define ARM64_ADDR_EXIT 0xdddd0000 // Dedicated address within the exit page for the uexit command. |
