From: deraadt Date: Sat, 16 Dec 1995 13:05:20 +0000 (+0000) Subject: {in,out}*() macros are already in pio.h X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9920bf99a575d8572bb3c48109a6c4f3a4512f99;p=openbsd {in,out}*() macros are already in pio.h --- diff --git a/sys/arch/pica/pica/pica.h b/sys/arch/pica/pica/pica.h index 83439304d61..c8e2a880f6c 100644 --- a/sys/arch/pica/pica/pica.h +++ b/sys/arch/pica/pica/pica.h @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)pica.h 8.1 (Berkeley) 6/10/93 - * $Id: pica.h,v 1.1.1.1 1995/10/18 10:39:16 deraadt Exp $ + * $Id: pica.h,v 1.2 1995/12/16 13:05:20 deraadt Exp $ */ /* @@ -53,21 +53,6 @@ #ifndef MIPS_PICA_H #define MIPS_PICA_H 1 -/* - * I/O macros. - */ - -#define outb(a,v) (*(volatile unsigned char*)(a) = (v)) -#define outh(a,v) (*(volatile unsigned short*)(a) = (v)) -#define out16(a,v) outh(a,v) -#define outw(a,v) (*(volatile unsigned int*)(a) = (v)) -#define out32(a,v) outw(a,v) -#define inb(a) (*(volatile unsigned char*)(a)) -#define inh(a) (*(volatile unsigned short*)(a)) -#define in16(a) inh(a) -#define inw(a) (*(volatile unsigned int*)(a)) -#define in32(a) inw(a) - /* * PICA's Physical address space */