commit | ccd59d09a9d0c75b86185b89d8246e40b5f01168 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@amd.com> | Sat Sep 19 00:30:47 2009 +0200 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Sun Oct 04 14:04:40 2009 +0200 |
tree | 09abef1a743a89c5acdc88b89889ac39b4611aeb | |
parent | 5f0ce17ffc926f0d41cdbf90435ff7cb33a04942 [diff] |
target-i386: add lock mov cr0 = cr8 AMD CPUs featuring a shortcut to access CR8 even from 32-bit mode. If you use the LOCK prefix with "mov CR0", it accesses CR8 instead. This behavior is guarded by the CR8_LEGACY CPUID bit (Fn8000_0001:ECX[1]). Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>