H33493
s 00040/00000/00000
d D 1.1 02/03/13 20:31:05 patch 2 1
cC
cF1
cK01795
cO-rw-rw-r--
e
s 00000/00000/00000
d D 1.0 02/03/13 20:31:05 patch 1 0
c BitKeeper file /home/marcelo/bk/linux-2.4/include/asm-ia64/sn/fetchop.h
cBtorvalds@athlon.transmeta.com|ChangeSet|20020205173056|16047|c1d11a41ed024864
cHplucky.distro.conectiva
cK06333
cPinclude/asm-ia64/sn/fetchop.h
cRb9e2a37afcdca781
cV4
cX0x821
cZ-03:00
e
u
U
f e 0
f x 0x821
t
T
I 2
/*
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (c) 2001-2002 Silicon Graphics, Inc.  All rights reserved.
 */


#ifndef _ASM_IA64_SN_FETCHOP_H
#define _ASM_IA64_SN_FETCHOP_H

#define FETCHOP_BASENAME	"sgi_fetchop"
#define FETCHOP_FULLNAME	"/dev/sgi_fetchop"



#define FETCHOP_VAR_SIZE 64 /* 64 byte per fetchop variable */

#define FETCHOP_LOAD		0
#define FETCHOP_INCREMENT	8
#define FETCHOP_DECREMENT	16
#define FETCHOP_CLEAR		24

#define FETCHOP_STORE		0
#define FETCHOP_AND		24
#define FETCHOP_OR		32

#define FETCHOP_CLEAR_CACHE	56

#define FETCHOP_LOAD_OP(addr, op) ( \
         *(long *)((char*) (addr) + (op)))

#define FETCHOP_STORE_OP(addr, op, x) ( \
         *(long *)((char*) (addr) + (op)) = \
              (long) (x))

#endif /* _ASM_IA64_SN_FETCHOP_H */

E 2
I 1
E 1
