Changeset c18e666 in mainline for kernel/arch/ia32/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/ia32/include/cpuid.h

    r18251cc rc18e666  
    3535#ifndef KERN_ia32_CPUID_H_
    3636#define KERN_ia32_CPUID_H_
     37
     38#define INTEL_CPUID_LEVEL     0x00000000
     39#define INTEL_CPUID_STANDARD  0x00000001
     40#define INTEL_PSE             3
     41#define INTEL_SEP             11
     42
     43#ifndef __ASM__
    3744
    3845#include <arch/types.h>
     
    105112}
    106113
     114#endif /* !def __ASM__ */
    107115#endif
    108116
Note: See TracChangeset for help on using the changeset viewer.