xref: /netbsd-src/sys/arch/pmax/include/locore.h (revision a0640b2b5856e0c9ff740e0a3fe46562414bed91)
1*a0640b2bSmatt /* $NetBSD: locore.h,v 1.6 2011/07/09 17:32:30 matt Exp $ */
25a890607Sjonathan 
35a890607Sjonathan /*
45a890607Sjonathan  * Copyright 1996 The Board of Trustees of The Leland Stanford
55a890607Sjonathan  * Junior University. All Rights Reserved.
65a890607Sjonathan  *
75a890607Sjonathan  * Permission to use, copy, modify, and distribute this
85a890607Sjonathan  * software and its documentation for any purpose and without
95a890607Sjonathan  * fee is hereby granted, provided that the above copyright
105a890607Sjonathan  * notice appear in all copies.  Stanford University
115a890607Sjonathan  * makes no representations about the suitability of this
125a890607Sjonathan  * software for any purpose.  It is provided "as is" without
135a890607Sjonathan  * express or implied warranty.
14b15951c1Sjonathan  *
15b15951c1Sjonathan  * This file contributed by Jonathan Stone
165a890607Sjonathan  */
175a890607Sjonathan 
18838b5e08Sad #ifndef _PMAX_LOCORE_H_
19838b5e08Sad #define _PMAX_LOCORE_H_
20838b5e08Sad 
21d7a3af78Ssimonb void	CopyToBuffer(u_short *src, 	/* NB: must be short aligned */
22d7a3af78Ssimonb 	     volatile u_short *dst, int length);
23d7a3af78Ssimonb void	CopyFromBuffer(volatile u_short *src, char *dst, int length);
24636b65beSsimonb 
25d7a3af78Ssimonb void	kn230_wbflush(void);
26838b5e08Sad 
27838b5e08Sad #endif	/* !_PMAX_LOCORE_H_ */
28