2004-12-01 06:54:23 +03:00
|
|
|
/*
|
2005-12-14 13:43:28 +03:00
|
|
|
* Copyright 2004-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
2004-12-01 06:54:23 +03:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _KERNEL_ARCH_x86_SYSTEM_INFO_H
|
|
|
|
#define _KERNEL_ARCH_x86_SYSTEM_INFO_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <OS.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2013-10-01 22:30:04 +04:00
|
|
|
status_t get_current_cpuid(cpuid_info* info, uint32 eax, uint32 ecx);
|
2005-12-14 13:43:28 +03:00
|
|
|
uint32 get_eflags(void);
|
|
|
|
void set_eflags(uint32 value);
|
|
|
|
|
2012-07-04 17:06:46 +04:00
|
|
|
status_t _user_get_cpuid(cpuid_info* info, uint32 eax, uint32 cpu);
|
2004-12-01 06:54:23 +03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _KRENEL_ARCH_x86_SYSTEM_INFO_H */
|