Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k/x68k - Do not lower interrupt level at clock i...



details:   https://anonhg.NetBSD.org/src/rev/fb44b6289338
branches:  trunk
changeset: 480503:fb44b6289338
user:      itohy <itohy%NetBSD.org@localhost>
date:      Fri Jan 14 08:21:22 2000 +0000

description:
- Do not lower interrupt level at clock interrupt.
  The original code lowers level 6 to 4, and if a
  clock interrupt occurs in splzs (or similar) the
  system may be in unpredictable state.
  To do such a hack correctly, checking the original priority
  and duplicated clock interrupts would be required.
  For now, just disable the hack.

- Do not use clock interrupt for ms polling.

diffstat:

 sys/arch/x68k/x68k/locore.s |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (27 lines):

diff -r eebe16d5ceba -r fb44b6289338 sys/arch/x68k/x68k/locore.s
--- a/sys/arch/x68k/x68k/locore.s       Fri Jan 14 07:14:41 2000 +0000
+++ b/sys/arch/x68k/x68k/locore.s       Fri Jan 14 08:21:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.51 1999/10/26 00:20:40 itohy Exp $        */
+/*     $NetBSD: locore.s,v 1.52 2000/01/14 08:21:22 itohy Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -617,17 +617,12 @@
        jra     _ASM_LABEL(rei)
 
 ENTRY_NOPROFILE(timertrap)
-       movw    #SPL4,sr                | XXX?
        moveml  #0xC0C0,sp@-            | save scratch registers
        addql   #1,_C_LABEL(intrcnt)+36 | count hardclock interrupts
        lea     sp@(16),a1              | a1 = &clockframe
        movl    a1,sp@-
        jbsr    _C_LABEL(hardclock)     | hardclock(&frame)
        addql   #4,sp
-#include "ms.h"
-#if NMS > 0
-       jbsr    _C_LABEL(ms_modem)
-#endif
        addql   #1,_C_LABEL(uvmexp)+UVMEXP_INTRS | chalk up another interrupt
        moveml  sp@+,#0x0303            | restore scratch registers
        jra     _ASM_LABEL(rei)         | all done



Home | Main Index | Thread Index | Old Index