xref: /netbsd-src/sys/arch/pmax/include/locore.h (revision a0640b2b5856e0c9ff740e0a3fe46562414bed91)
1 /* $NetBSD: locore.h,v 1.6 2011/07/09 17:32:30 matt 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 void	CopyToBuffer(u_short *src, 	/* NB: must be short aligned */
22 	     volatile u_short *dst, int length);
23 void	CopyFromBuffer(volatile u_short *src, char *dst, int length);
24 
25 void	kn230_wbflush(void);
26 
27 #endif	/* !_PMAX_LOCORE_H_ */
28