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