Added private system arch specific arch_cpu_defs.h header, currently defining
only a SPINLOCK_PAUSE() macro. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36351 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2f1e62186e
commit
45b01eb841
12
headers/private/system/arch/arm/arch_cpu_defs.h
Normal file
12
headers/private/system/arch/arm/arch_cpu_defs.h
Normal file
@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _SYSTEM_ARCH_ARM_DEFS_H
|
||||
#define _SYSTEM_ARCH_ARM_DEFS_H
|
||||
|
||||
|
||||
#define SPINLOCK_PAUSE() do {} while (false)
|
||||
|
||||
|
||||
#endif /* _SYSTEM_ARCH_ARM_DEFS_H */
|
12
headers/private/system/arch/m68k/arch_cpu_defs.h
Normal file
12
headers/private/system/arch/m68k/arch_cpu_defs.h
Normal file
@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _SYSTEM_ARCH_M68K_DEFS_H
|
||||
#define _SYSTEM_ARCH_M68K_DEFS_H
|
||||
|
||||
|
||||
#define SPINLOCK_PAUSE() do {} while (false)
|
||||
|
||||
|
||||
#endif /* _SYSTEM_ARCH_M68K_DEFS_H */
|
12
headers/private/system/arch/mipsel/arch_cpu_defs.h
Normal file
12
headers/private/system/arch/mipsel/arch_cpu_defs.h
Normal file
@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _SYSTEM_ARCH_MIPSEL_DEFS_H
|
||||
#define _SYSTEM_ARCH_MIPSEL_DEFS_H
|
||||
|
||||
|
||||
#define SPINLOCK_PAUSE() do {} while (false)
|
||||
|
||||
|
||||
#endif /* _SYSTEM_ARCH_MIPSEL_DEFS_H */
|
12
headers/private/system/arch/ppc/arch_cpu_defs.h
Normal file
12
headers/private/system/arch/ppc/arch_cpu_defs.h
Normal file
@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _SYSTEM_ARCH_PPC_DEFS_H
|
||||
#define _SYSTEM_ARCH_PPC_DEFS_H
|
||||
|
||||
|
||||
#define SPINLOCK_PAUSE() do {} while (false)
|
||||
|
||||
|
||||
#endif /* _SYSTEM_ARCH_PPC_DEFS_H */
|
12
headers/private/system/arch/x86/arch_cpu_defs.h
Normal file
12
headers/private/system/arch/x86/arch_cpu_defs.h
Normal file
@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* 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 */
|
Loading…
Reference in New Issue
Block a user