Added our first x86-only syscall for get_cpuid().

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10323 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-12-01 03:54:23 +00:00
parent f0e5f76de9
commit b385f97e3e
3 changed files with 30 additions and 0 deletions
+5
View File
@@ -252,6 +252,11 @@ extern status_t _kern_get_system_info(system_info *info, size_t size);
void _kern_debug_output(const char *message);
#ifdef __INTEL__
// our only x86 only syscall
status_t _kern_get_cpuid(cpuid_info *info, uint32 eax, uint32 cpu);
#endif
/* This is a real BSD'ism :) Basically it returns the size of the
* descriptor table for the current process as an integer.
*/