NetBSD/sys/arch/pmax/include/locore.h

28 lines
888 B
C

/* $NetBSD: locore.h,v 1.6 2011/07/09 17:32:30 matt Exp $ */
/*
* Copyright 1996 The Board of Trustees of The Leland Stanford
* Junior University. All Rights Reserved.
*
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
* fee is hereby granted, provided that the above copyright
* notice appear in all copies. Stanford University
* makes no representations about the suitability of this
* software for any purpose. It is provided "as is" without
* express or implied warranty.
*
* This file contributed by Jonathan Stone
*/
#ifndef _PMAX_LOCORE_H_
#define _PMAX_LOCORE_H_
void CopyToBuffer(u_short *src, /* NB: must be short aligned */
volatile u_short *dst, int length);
void CopyFromBuffer(volatile u_short *src, char *dst, int length);
void kn230_wbflush(void);
#endif /* !_PMAX_LOCORE_H_ */