Explain why sun3_context_equiv() can not just call set_segmap_allctx().

This commit is contained in:
gwr 1995-10-17 23:16:40 +00:00
parent 9182ffe624
commit 126ecc3dda
2 changed files with 18 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore2.c,v 1.47 1995/09/26 04:02:27 gwr Exp $ */
/* $NetBSD: locore2.c,v 1.48 1995/10/17 23:16:40 gwr Exp $ */
/*
* Copyright (c) 1994 Gordon W. Ross
@ -204,6 +204,14 @@ void Debugger()
}
#endif /* DDB */
/*
* Duplicate all mappings in the current context into
* every other context. We have to let the PROM do the
* actual segmap manipulation because we can only switch
* the MMU context after we are sure that the kernel text
* is identically mapped in all contexts. The PROM can
* do the job using hardware-dependent tricks...
*/
void sun3_context_equiv()
{
unsigned int i, sme;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sun3_startup.c,v 1.47 1995/09/26 04:02:27 gwr Exp $ */
/* $NetBSD: sun3_startup.c,v 1.48 1995/10/17 23:16:40 gwr Exp $ */
/*
* Copyright (c) 1994 Gordon W. Ross
@ -204,6 +204,14 @@ void Debugger()
}
#endif /* DDB */
/*
* Duplicate all mappings in the current context into
* every other context. We have to let the PROM do the
* actual segmap manipulation because we can only switch
* the MMU context after we are sure that the kernel text
* is identically mapped in all contexts. The PROM can
* do the job using hardware-dependent tricks...
*/
void sun3_context_equiv()
{
unsigned int i, sme;