kmem.h revision 26119
10Sstevel@tonic-gate/* 20Sstevel@tonic-gate * (C)opyright 1993-1997 by Darren Reed. 30Sstevel@tonic-gate * 49751Sjames.d.carlson@sun.com * Redistribution and use in source and binary forms are permitted 50Sstevel@tonic-gate * provided that this notice is preserved and due credit is given 60Sstevel@tonic-gate * to the original author and the contributors. 70Sstevel@tonic-gate * $Id: kmem.h,v 2.0.2.5 1997/04/30 13:49:35 darrenr Exp $ 80Sstevel@tonic-gate */ 90Sstevel@tonic-gate 100Sstevel@tonic-gate#ifndef __KMEM_H__ 110Sstevel@tonic-gate#define __KMEM_H__ 120Sstevel@tonic-gate 130Sstevel@tonic-gate#ifndef __P 140Sstevel@tonic-gate# ifdef __STDC__ 150Sstevel@tonic-gate# define __P(x) x 160Sstevel@tonic-gate# else 170Sstevel@tonic-gate# define __P(x) () 180Sstevel@tonic-gate# endif 190Sstevel@tonic-gate#endif 200Sstevel@tonic-gateextern int openkmem __P((void)); 210Sstevel@tonic-gateextern int kmemcpy __P((char *, long, int)); 220Sstevel@tonic-gate 230Sstevel@tonic-gate#define KMEM "/dev/kmem" 240Sstevel@tonic-gate 250Sstevel@tonic-gate#endif /* __KMEM_H__ */ 260Sstevel@tonic-gate