Fix for 64-bit event counters. Fixes PR17207.
This commit is contained in:
parent
6c672d0196
commit
a47cb57561
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: amd7930intr.s,v 1.17 2000/05/08 03:09:54 mycroft Exp $ */
|
||||
/* $NetBSD: amd7930intr.s,v 1.18 2002/06/13 21:04:37 gmcgarry Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995 Rolf Grossmann.
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -107,9 +107,10 @@ _ENTRY(_C_LABEL(amd7930_trap))
|
|||
sethi %hi(_C_LABEL(auiop)), %l7
|
||||
ld [%l7 + %lo(_C_LABEL(auiop))], %l7
|
||||
|
||||
ld [%l7 + AU_EVCNT], %l6
|
||||
inc %l6
|
||||
st %l6, [%l7 + AU_EVCNT]
|
||||
ldd [%l7 + AU_EVCNT], %l4
|
||||
inccc %l5
|
||||
addx %l4, 0, %l4
|
||||
std %l4, [%l7 + AU_EVCNT]
|
||||
|
||||
ld [%l7 + AU_BH], R_amd
|
||||
ldub [R_amd + AM7930_DREG_IR], %g0 ! clear interrupt
|
||||
|
|
Loading…
Reference in New Issue