1 /* 2 * Copyright 2004-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _KERNEL_ARCH_x86_SYSTEM_INFO_H 6 #define _KERNEL_ARCH_x86_SYSTEM_INFO_H 7 8 9 #include <OS.h> 10 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 status_t get_current_cpuid(cpuid_info *info, uint32 eax); 17 uint32 get_eflags(void); 18 void set_eflags(uint32 value); 19 20 status_t _user_get_cpuid(cpuid_info *info, uint32 eax, uint32 cpu); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif /* _KRENEL_ARCH_x86_SYSTEM_INFO_H */ 27