PROMRMW(2spp) RISC/os Reference Manual PROMRMW(2spp)
NAME
prom_rmw - perform VME bus read-modify-write cycles
SYNOPSIS
#include <prom/entrypt.h>
#define RVEC 0xbfc00000
orbrmw(address, bits)
orhrmw(address, bits)
orwrmw(address, bits)
andbrmw(address, bits)
andhrmw(address, bits)
andwrmw(address, bits)
unsigned char *address
unsigned mask
DESCRIPTION
These routines perform VME bus read-modify-write cycles.
The routines bitwise ands or bitwise ors of the contents of
the location address and bits. The 'b', 'h', and 'w' indi-
cate if address is referenced as a byte, halfword, or word,
respectively.
RETURNS
These routines return the original contents of the location
address.
Printed 1/6/92 Page 1