xref: /netbsd/sys/arch/pmax/include/locore.h (revision c4a72b64)
1 /* $NetBSD: locore.h,v 1.5 2002/06/05 06:19:29 simonb Exp $ */
2 
3 /*
4  * Copyright 1996 The Board of Trustees of The Leland Stanford
5  * Junior University. All Rights Reserved.
6  *
7  * Permission to use, copy, modify, and distribute this
8  * software and its documentation for any purpose and without
9  * fee is hereby granted, provided that the above copyright
10  * notice appear in all copies.  Stanford University
11  * makes no representations about the suitability of this
12  * software for any purpose.  It is provided "as is" without
13  * express or implied warranty.
14  *
15  * This file contributed by Jonathan Stone
16  */
17 
18 #ifndef _PMAX_LOCORE_H_
19 #define _PMAX_LOCORE_H_
20 
21 #include <mips/locore.h>
22 
23 void	CopyToBuffer(u_short *src, 	/* NB: must be short aligned */
24 	     volatile u_short *dst, int length);
25 void	CopyFromBuffer(volatile u_short *src, char *dst, int length);
26 
27 void	kn230_wbflush(void);
28 
29 #endif	/* !_PMAX_LOCORE_H_ */
30