diff options
author | Richard Braun <rbraun@sceen.net> | 2014-10-02 22:58:36 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2014-10-02 22:58:36 +0200 |
commit | 9035600ebf6d06efcc21576e75766d82ab2b5e69 (patch) | |
tree | cd6d0bc31dc30ada55cf44e9f521a5f5faec8fa5 /kern/kernel.c | |
parent | 68ec6c7517e09ef0869d81847961667fc7024dc0 (diff) |
x86/cpu: fix CPUID usage on amd64
The cpu_cpuid wrapper used unsigned long integers to store register
content, although the CPUID instruction uses 32-bits integers in all
modes. This was leading to a corruption of the cpu structures. Fix
by using unsigned int integers instead.
Diffstat (limited to 'kern/kernel.c')
0 files changed, 0 insertions, 0 deletions