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:
@@ -0,0 +1,12 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2010, Ingo Weinhold, [email protected].
|
||||||
|
* 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 */
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2010, Ingo Weinhold, [email protected].
|
||||||
|
* 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 */
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2010, Ingo Weinhold, [email protected].
|
||||||
|
* 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 */
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2010, Ingo Weinhold, [email protected].
|
||||||
|
* 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 */
|
||||||
@@ -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 */
|
||||||
Reference in New Issue
Block a user