arch: AArch64: implement save/restore for GICv3

This commit implements the save/restore for GICv3.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
Henry Wang
2020-09-04 09:52:05 +08:00
committed by Rob Bradford
parent 7ddcad1d8b
commit 39c9583b48
3 changed files with 148 additions and 3 deletions

View File

@@ -14,6 +14,7 @@
clippy::cast_ptr_alignment
)]
extern crate anyhow;
extern crate byteorder;
extern crate hypervisor;
extern crate libc;
@@ -23,7 +24,13 @@ extern crate log;
extern crate acpi_tables;
extern crate arch_gen;
extern crate linux_loader;
extern crate serde;
extern crate vm_memory;
extern crate vm_migration;
#[cfg(target_arch = "aarch64")]
#[macro_use]
extern crate serde_derive;
extern crate serde_json;
use std::fmt;
use std::result;