asm -> __asm (PR #463).
This commit is contained in:
parent
e43e9b828a
commit
23ece5babc
@ -38,7 +38,7 @@
|
||||
* from: Utah $Hdr: machparam.h 1.11 89/08/14$
|
||||
*
|
||||
* @(#)param.h 7.8 (Berkeley) 6/28/91
|
||||
* $Id: param.h,v 1.13 1994/08/24 20:50:35 chopps Exp $
|
||||
* $Id: param.h,v 1.14 1994/09/16 02:39:36 jtc Exp $
|
||||
*/
|
||||
#ifndef _MACHINE_PARAM_H_
|
||||
#define _MACHINE_PARAM_H_
|
||||
@ -158,7 +158,7 @@
|
||||
({ \
|
||||
register int _spl_r; \
|
||||
\
|
||||
asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
__asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
"&=d" (_spl_r) : "di" (s)); \
|
||||
if ((_spl_r&PSL_IPL) > (s&PSL_IPL)) \
|
||||
printf ("%s:%d:spl(%d) ==> spl(%d)!!\n",__FILE__,__LINE__, \
|
||||
@ -170,7 +170,7 @@
|
||||
({ \
|
||||
register int _spl_r; \
|
||||
\
|
||||
asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
__asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
"&=d" (_spl_r) : "di" (s)); \
|
||||
_spl_r; \
|
||||
})
|
||||
|
@ -38,7 +38,7 @@
|
||||
* from: Utah $Hdr: machparam.h 1.16 92/12/20$
|
||||
*
|
||||
* from: @(#)param.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: param.h,v 1.4 1994/08/25 06:14:29 paulus Exp $
|
||||
* $Id: param.h,v 1.5 1994/09/16 02:39:50 jtc Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -157,7 +157,7 @@
|
||||
({ \
|
||||
register int _spl_r; \
|
||||
\
|
||||
asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
__asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
"&=d" (_spl_r) : "di" (s)); \
|
||||
_spl_r; \
|
||||
})
|
||||
|
@ -38,7 +38,7 @@
|
||||
* from: Utah $Hdr: machparam.h 1.16 92/12/20$
|
||||
*
|
||||
* from: @(#)param.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: param.h,v 1.14 1994/09/09 23:56:14 mycroft Exp $
|
||||
* $Id: param.h,v 1.15 1994/09/16 02:39:58 jtc Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -157,7 +157,7 @@
|
||||
({ \
|
||||
register int _spl_r; \
|
||||
\
|
||||
asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
__asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
"&=d" (_spl_r) : "di" (s)); \
|
||||
_spl_r; \
|
||||
})
|
||||
|
@ -72,7 +72,7 @@
|
||||
* from: Utah $Hdr: machparam.h 1.11 89/08/14$
|
||||
*
|
||||
* from: @(#)param.h 7.8 (Berkeley) 6/28/91
|
||||
* $Id: param.h,v 1.11 1994/08/23 20:48:09 briggs Exp $
|
||||
* $Id: param.h,v 1.12 1994/09/16 02:40:24 jtc Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_PARAM_H_
|
||||
@ -201,7 +201,7 @@
|
||||
({ \
|
||||
register int _spl_r; \
|
||||
\
|
||||
asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
__asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
"&=d" (_spl_r) : "di" (s)); \
|
||||
_spl_r; \
|
||||
})
|
||||
|
@ -38,7 +38,7 @@
|
||||
*
|
||||
* from: Utah Hdr: machparam.h 1.16 92/12/20
|
||||
* from: @(#)param.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: param.h,v 1.16 1994/08/23 21:11:37 gwr Exp $
|
||||
* $Id: param.h,v 1.17 1994/09/16 02:41:16 jtc Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -160,7 +160,7 @@
|
||||
({ \
|
||||
register int _spl_r; \
|
||||
\
|
||||
asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
__asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
"&=d" (_spl_r) : "di" (s)); \
|
||||
_spl_r; \
|
||||
})
|
||||
|
@ -38,7 +38,7 @@
|
||||
*
|
||||
* from: Utah Hdr: machparam.h 1.16 92/12/20
|
||||
* from: @(#)param.h 8.1 (Berkeley) 6/10/93
|
||||
* $Id: param3.h,v 1.16 1994/08/23 21:11:37 gwr Exp $
|
||||
* $Id: param3.h,v 1.17 1994/09/16 02:41:16 jtc Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -160,7 +160,7 @@
|
||||
({ \
|
||||
register int _spl_r; \
|
||||
\
|
||||
asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
__asm __volatile ("clrl %0; movew sr,%0; movew %1,sr" : \
|
||||
"&=d" (_spl_r) : "di" (s)); \
|
||||
_spl_r; \
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user