Changeset c18e666 in mainline for kernel/arch/amd64/include/cpuid.h


Ignore:
Timestamp:
2009-03-30T20:30:32Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0dd1d444
Parents:
18251cc
Message:

detect SYSENTER/SYSEXIT support on boot
(this serves as a hint for people who try to boot HelenOS on Bochs emulating plain Pentium,
unfortunatelly it also kills VirtualBox, as it does not support SYSENTER/SYSEXIT officially,
see http://www.virtualbox.org/ticket/1248)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/include/cpuid.h

    r18251cc rc18e666  
    3636#define KERN_amd64_CPUID_H_
    3737
    38 #define AMD_CPUID_EXTENDED   0x80000001
    39 #define AMD_EXT_NOEXECUTE    20
    40 #define AMD_EXT_LONG_MODE    29
     38#define AMD_CPUID_EXTENDED  0x80000001
     39#define AMD_EXT_NOEXECUTE   20
     40#define AMD_EXT_LONG_MODE   29
    4141
    42 #define INTEL_CPUID_STANDARD 0x00000001
    43 #define INTEL_CPUID_EXTENDED 0x80000000
    44 #define INTEL_SSE2           26
    45 #define INTEL_FXSAVE         24
     42#define INTEL_CPUID_LEVEL     0x00000000
     43#define INTEL_CPUID_STANDARD  0x00000001
     44#define INTEL_CPUID_EXTENDED  0x80000000
     45#define INTEL_SSE2            26
     46#define INTEL_FXSAVE          24
    4647
    4748#ifndef __ASM__
Note: See TracChangeset for help on using the changeset viewer.