cloud-hypervisor/arch
Henry Wang e3d45be6f7 AArch64: Preparation for vCPU save/restore
This commit ports code from firecracker and refactors the existing
AArch64 code as the preparation for implementing save/restore
AArch64 vCPU, including:

1. Modification of `arm64_core_reg` macro to retrive the index of
arm64 core register and implemention of a helper to determine if
a register is a system register.

2. Move some macros and helpers in `arch` crate to the `hypervisor`
crate.

3. Added related unit tests for above functions and macros.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
2020-09-23 12:37:25 +01:00
..
src AArch64: Preparation for vCPU save/restore 2020-09-23 12:37:25 +01:00
Cargo.toml build(deps): bump libc from 0.2.76 to 0.2.77 2020-09-10 06:45:09 +00:00