|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH 5/7] target-i386: xsave: Helper function to calculate xsave area size |
Date: | Fri, 23 Sep 2016 13:07:27 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 09/23/2016 12:45 PM, Eduardo Habkost wrote:
Move the xsave area size calculation from cpu_x86_cpuid() inside its own function. While doing it, change it to use the XSAVE area struct sizes for the initial size, instead of the magic 0x240 number. Signed-off-by: Eduardo Habkost <address@hidden> --- target-i386/cpu.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-)
Reviewed-by: Richard Henderson <address@hidden> r~
[Prev in Thread] | Current Thread | [Next in Thread] |