mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-02 02:03:20 +00:00
hv: debug: add CR4 to vcpu_dumpreg output
CR4 valuse was missing in the output. Signed-off-by: Yan, Like <like.yan@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
8205c9a482
commit
f614fcfcf8
@ -716,9 +716,11 @@ int shell_vcpu_dumpreg(struct shell *p_shell,
|
||||
"RFLAGS=0x%016llx\r\n", cur_context->rip,
|
||||
cur_context->guest_cpu_regs.regs.rsp, cur_context->rflags);
|
||||
shell_puts(p_shell, temp_str);
|
||||
snprintf(temp_str, MAX_STR_SIZE, "= CR0=0x%016llx CR2=0x%016llx "
|
||||
" CR3=0x%016llx\r\n", cur_context->cr0,
|
||||
cur_context->cr2, cur_context->cr3);
|
||||
snprintf(temp_str, MAX_STR_SIZE, "= CR0=0x%016llx CR2=0x%016llx\r\n",
|
||||
cur_context->cr0, cur_context->cr2);
|
||||
shell_puts(p_shell, temp_str);
|
||||
snprintf(temp_str, MAX_STR_SIZE, "= CR3=0x%016llx CR4=0x%016llx\r\n",
|
||||
cur_context->cr3, cur_context->cr4);
|
||||
shell_puts(p_shell, temp_str);
|
||||
snprintf(temp_str, MAX_STR_SIZE, "= RAX=0x%016llx RBX=0x%016llx "
|
||||
"RCX=0x%016llx\r\n",
|
||||
|
Loading…
Reference in New Issue
Block a user