Forgotten with last UVM check-in.
This commit is contained in:
parent
6172f5a0ac
commit
560995dea3
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: hdfd_intr.s,v 1.4 1997/01/01 21:12:57 leo Exp $
|
||||
/* $NetBSD: hdfd_intr.s,v 1.5 1998/05/12 21:09:23 leo Exp $
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Leo Weppelman.
|
||||
|
@ -37,7 +37,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "opt_uvm.h"
|
||||
#include "assym.h"
|
||||
#include <machine/asm.h>
|
||||
#define ASSEMBLER /* XXX */
|
||||
#include <atari/dev/hdfdreg.h>
|
||||
|
||||
|
@ -125,7 +127,11 @@ hdfdc1:
|
|||
* seems wrong....
|
||||
*/
|
||||
hdfdc_xit:
|
||||
addql #1,_cnt+V_INTR | chalk up another interrupt
|
||||
#if defined(UVM)
|
||||
addql #1,_C_LABEL(uvmexp)+UVMEXP_INTRS
|
||||
#else
|
||||
addql #1,_C_LABEL(cnt)+V_INTR
|
||||
#endif
|
||||
moveml sp@+,d0-d1/a0-a1
|
||||
rte
|
||||
|
||||
|
@ -139,7 +145,11 @@ hdfdc_norm:
|
|||
movl nintr,d0
|
||||
clrl nintr
|
||||
addl d0, _intrcnt_user+88 | add another interrupt
|
||||
addl d0, _cnt+V_INTR | chalk up another interrupt
|
||||
#if defined(UVM)
|
||||
addl d0,_C_LABEL(uvmexp)+UVMEXP_INTRS
|
||||
#else
|
||||
addl d0,_C_LABEL(cnt)+V_INTR
|
||||
#endif
|
||||
0: jbsr _fdc_ctrl_intr | handle interrupt
|
||||
moveml sp@+,d0-d1/a0-a1 | and saved registers
|
||||
jra rei
|
||||
|
|
Loading…
Reference in New Issue