00001
00002
00003 #ifndef _CORE_ARCH_X86_SYSENTER_HPP
00004 #define _CORE_ARCH_X86_SYSENTER_HPP
00005
00006 namespace Arch { namespace x86 { namespace Interr {
00007 class except2_t;
00008 } } }
00009
00010 namespace Arch {
00011 namespace x86 {
00012 namespace Sysenter {
00013
00014 const uint32 APIMAGIC = 0xcafebabe;
00015
00016
00017 const int API_NONE = 0;
00018 const int API_v1 = 1;
00019
00020
00021 void init();
00022 extern "C" int SysEnter(class Arch::x86::Interr::except2_t *code);
00023
00024 };
00025 };
00026 };
00027
00028
00029 #endif