diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2014-09-29 19:33:39 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2014-09-29 19:33:39 -0700 |
commit | 372f2477131ba51c91be8b40a36b4e79297e5d01 (patch) | |
tree | 1e2e1935ce7bff7654ebfe0344f194bcb9b0040d /xorg | |
parent | bdc7ac211f0ec7722cec5435c22f90a2bebfef18 (diff) | |
download | xrdp-proprietary-372f2477131ba51c91be8b40a36b4e79297e5d01.tar.gz xrdp-proprietary-372f2477131ba51c91be8b40a36b4e79297e5d01.zip |
Xorg: fix for cpuid
Diffstat (limited to 'xorg')
-rw-r--r-- | xorg/server/module/x86/cpuid_x86.asm | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/xorg/server/module/x86/cpuid_x86.asm b/xorg/server/module/x86/cpuid_x86.asm index 45b81b09..6f9e8c2d 100644 --- a/xorg/server/module/x86/cpuid_x86.asm +++ b/xorg/server/module/x86/cpuid_x86.asm @@ -15,16 +15,22 @@ PROC cpuid_x86 push ebx push ecx push edx + push edi ; cpuid - mov eax, [esp + 16] - mov ecx, [esp + 20] + mov eax, [esp + 20] + mov ecx, [esp + 24] cpuid - mov [esp + 24], eax - mov [esp + 28], ebx - mov [esp + 32], ecx - mov [esp + 36], edx + mov edi, [esp + 28] + mov [edi], eax + mov edi, [esp + 32] + mov [edi], ebx + mov edi, [esp + 36] + mov [edi], ecx + mov edi, [esp + 40] + mov [edi], edx mov eax, 0 ; restore registers + pop edi pop edx pop ecx pop ebx |