Add `turbosparc_getfaultstatus()' to be used instead of the generic srmmu item.

This commit is contained in:
pk 1997-07-07 20:06:42 +00:00
parent 1490cbcf7b
commit 2d50be8cb3
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.c,v 1.47 1997/07/07 08:44:01 hannken Exp $ */
/* $NetBSD: cpu.c,v 1.48 1997/07/07 20:06:46 pk Exp $ */
/*
* Copyright (c) 1996
@ -323,6 +323,7 @@ void srmmu_get_fltstatus __P((void));
void ms1_get_fltstatus __P((void));
void viking_get_fltstatus __P((void));
void swift_get_fltstatus __P((void));
void turbosparc_get_fltstatus __P((void));
void hypersparc_get_fltstatus __P((void));
void cypress_get_fltstatus __P((void));
@ -866,7 +867,7 @@ struct module_info module_turbosparc = { /* UNTESTED */
0,
turbosparc_cache_enable,
256,
srmmu_get_fltstatus,
turbosparc_get_fltstatus,
srmmu_cache_flush,
srmmu_vcache_flush_page,
srmmu_vcache_flush_segment,

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.71 1997/06/28 19:59:05 pk Exp $ */
/* $NetBSD: locore.s,v 1.72 1997/07/07 20:06:42 pk Exp $ */
/*
* Copyright (c) 1996 Paul Kranenburg
@ -5532,6 +5532,7 @@ ALTENTRY(viking_get_fltstatus)
ALTENTRY(ms1_get_fltstatus)
ALTENTRY(swift_get_fltstatus)
ALTENTRY(turbosparc_get_fltstatus)
cmp %l3, T_TEXTFAULT
be,a 1f
mov %l1, %o2 ! use PC if type == T_TEXTFAULT