[L4alpha-cvscommit] CVS: L4Alpha/pal/21164/macros l4_macros.mar,1.7,1.8
Status: Beta
Brought to you by:
dpotts
|
From: Daniel P. <dp...@us...> - 2002-10-04 00:46:58
|
Update of /cvsroot/l4alpha/L4Alpha/pal/21164/macros
In directory usw-pr-cvs1:/tmp/cvs-serv26123/pal/21164/macros
Modified Files:
l4_macros.mar
Log Message:
Interrupt handling changed:
mask_int disables device interrupts (only)
unmask_int enables all interrupts.
In general this is all we care about doing wrt interrupts.
Index: l4_macros.mar
===================================================================
RCS file: /cvsroot/l4alpha/L4Alpha/pal/21164/macros/l4_macros.mar,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** l4_macros.mar 24 Feb 2002 23:38:06 -0000 1.7
--- l4_macros.mar 4 Oct 2002 00:46:43 -0000 1.8
***************
*** 78,94 ****
.endm
! ; mask_int - turn off interrupt
; FIXME - this breaks ruffian (broken timer interrupt)
.macro mask_int int tmp
! mfpr tmp, tr5
! bis tmp, int, tmp
mtpr tmp, tr5
.endm
; unmask_int - turn on interrupt
.macro unmask_int int tmp
! mfpr tmp, tr5
! bic tmp, int, tmp
! mtpr tmp, tr5
.endm
--- 78,93 ----
.endm
! ; mask_int - turn off device interrupt
; FIXME - this breaks ruffian (broken timer interrupt)
.macro mask_int int tmp
! bis zero, #^x15, tmp
mtpr tmp, tr5
+ NOP
.endm
; unmask_int - turn on interrupt
.macro unmask_int int tmp
! mtpr zero, tr5
! NOP
.endm
|