mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-30 02:55:22 +00:00
this patch change type of global variable for saving registers on execption. global variable 'crash_ctx' should not be set to static. crash_ctx is for offline analysis when system crashed, not for runtime usage. as crash_ctx is only be set without being read, compiler will regard crash_ctx as an useless variable if it is set to static, and will not generate code for it. Tracked-On: #1295 Signed-off-by: zhouji3x <jianfengx.zhou@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
8.8 KiB
8.8 KiB