Compile arch_real_time_clock.cpp and arch_system_info.cpp for x86_64.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright 2010, Ingo Weinhold, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _SYSTEM_ARCH_X86_DEFS_H
|
||||
#define _SYSTEM_ARCH_X86_DEFS_H
|
||||
|
||||
|
||||
#define SPINLOCK_PAUSE() asm volatile("pause;")
|
||||
|
||||
|
||||
#endif /* _SYSTEM_ARCH_X86_DEFS_H */
|
||||
@@ -534,7 +534,7 @@ extern void _kern_clear_caches(void *address, size_t length,
|
||||
extern bool _kern_cpu_enabled(int32 cpu);
|
||||
extern status_t _kern_set_cpu_enabled(int32 cpu, bool enabled);
|
||||
|
||||
#ifdef __INTEL__
|
||||
#if defined(__INTEL__) || defined(__x86_64__)
|
||||
// our only x86 only syscall
|
||||
extern status_t _kern_get_cpuid(cpuid_info *info, uint32 eax, uint32 cpu);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user