prototype mappedcopy{in,out}(), {copy,zero}page().

This commit is contained in:
thorpej 1997-02-02 06:56:57 +00:00
parent 9568fcee35
commit de70c1051d
2 changed files with 22 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.2 1996/09/12 02:52:34 thorpej Exp $ */
/* $NetBSD: cpu.h,v 1.3 1997/02/02 06:56:57 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -187,4 +187,14 @@ extern int mmutype; /* MMU on this host */
#define CACHE60_ON (CACHE40_ON|IC60_CABC|IC60_EBC|DC60_ESB)
#define CACHE60_OFF (CACHE40_OFF|IC60_CABC)
#ifdef _KERNEL
void copypage __P((void *fromaddr, void *toaddr));
void zeropage __P((void *addr));
#ifdef MAPPEDCOPY
int mappedcopyin __P((void *fromp, void *top, size_t count));
int mappedcopyout __P((void *fromp, void *top, size_t count));
extern u_int mappedcopysize;
#endif /* MAPPEDCOPY */
#endif /* _KERNEL */
#endif /* _M68K_CPU_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: m68k.h,v 1.2 1996/09/12 02:52:34 thorpej Exp $ */
/* $NetBSD: m68k.h,v 1.3 1997/02/02 06:56:57 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -187,4 +187,14 @@ extern int mmutype; /* MMU on this host */
#define CACHE60_ON (CACHE40_ON|IC60_CABC|IC60_EBC|DC60_ESB)
#define CACHE60_OFF (CACHE40_OFF|IC60_CABC)
#ifdef _KERNEL
void copypage __P((void *fromaddr, void *toaddr));
void zeropage __P((void *addr));
#ifdef MAPPEDCOPY
int mappedcopyin __P((void *fromp, void *top, size_t count));
int mappedcopyout __P((void *fromp, void *top, size_t count));
extern u_int mappedcopysize;
#endif /* MAPPEDCOPY */
#endif /* _KERNEL */
#endif /* _M68K_CPU_H_ */