Commit dd43a9a7 authored by Shaoqin Huang's avatar Shaoqin Huang Committed by Tomasz Nowicki
Browse files

ANDROID: x86/tdx: Move virt exception handler code to virt_exception.c



The TDX using virt exception to handle mmio opeartion, since virt
exception is a cpu feature, it can also being used by other cc_platform.
So move the common virt exception handler code to virt_exception.c

Bug: 395299836
Test: Boot, verify cpus are de-privileged and run a minimal protected vm.

Change-Id: Ia1acbe9949e380f8a0b9b5a5a7073399ed39606e
Signed-off-by: default avatarShaoqin Huang <shaoqin.huang@intel.com>
Reviewed-by: default avatarJason Chen CJ <jason.cj.chen@intel.com>
Signed-off-by: default avatarVineeth Pillai <vineethrp@google.com>
parent 3168c378
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment