Reorder clockframe.

This commit is contained in:
mycroft 1994-02-04 23:09:04 +00:00
parent 9bb7b8ff7e
commit 6169755d98
2 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@
*
* from: Utah Hdr: locore.s 1.58 91/04/22
* from: @(#)locore.s 7.11 (Berkeley) 5/9/91
* $Id: locore.s,v 1.14 1994/02/04 22:56:17 mycroft Exp $
* $Id: locore.s,v 1.15 1994/02/04 23:10:11 mycroft Exp $
*/
#include "assym.s"
@ -550,8 +550,8 @@ Lstackok:
#ifdef GPROF
.globl _profclock
movl d0,sp@- | save status so jsr will not clobber
movl a1@,sp@- | push padded PS
movl a1@(4),sp@- | push PC
movl a1@,sp@- | push padded PS
movl sp,sp@- | push pointer to clockframe
jbsr _profclock | profclock(pc, ps)
lea sp@(12),sp | pop params
@ -578,8 +578,8 @@ Ltimer1:
#endif
movb a0@(CLKMSB1),d1 | clear timer1 interrupt
lea sp@(16),a1 | get pointer to PS
movl a1@,sp@- | push padded PS
movl a1@(4),sp@- | push PC
movl a1@,sp@- | push padded PS
movl sp,sp@- | push pointer to clockframe
jbsr _hardclock | call generic clock int routine
lea sp@(12),sp | pop params

View File

@ -37,7 +37,7 @@
*
* from: Utah Hdr: cpu.h 1.16 91/03/25
* from: @(#)cpu.h 7.7 (Berkeley) 6/27/91
* $Id: cpu.h,v 1.3 1993/08/01 19:25:01 mycroft Exp $
* $Id: cpu.h,v 1.4 1994/02/04 23:09:04 mycroft Exp $
*/
/*
@ -70,8 +70,8 @@
* leaves on the stack.
*/
typedef struct intrframe {
int pc;
int ps;
int pc;
} clockframe;
#define CLKF_USERMODE(framep) (((framep)->ps & PSL_S) == 0)