Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm26/include Remove definitions of CLKF_*. They'r...



details:   https://anonhg.NetBSD.org/src/rev/2c5f138e054d
branches:  trunk
changeset: 509013:2c5f138e054d
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Tue Apr 24 18:15:44 2001 +0000

description:
Remove definitions of CLKF_*.  They're defined in <arm/cpu.h> now.

diffstat:

 sys/arch/arm26/include/frame.h |  17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diffs (31 lines):

diff -r 21b8fae7fddf -r 2c5f138e054d sys/arch/arm26/include/frame.h
--- a/sys/arch/arm26/include/frame.h    Tue Apr 24 17:09:54 2001 +0000
+++ b/sys/arch/arm26/include/frame.h    Tue Apr 24 18:15:44 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: frame.h,v 1.5 2001/01/22 22:10:46 bjh21 Exp $  */
+/*     $NetBSD: frame.h,v 1.6 2001/04/24 18:15:44 bjh21 Exp $  */
 
 /*
  * Copyright (c) 1999 Ben Harris.
@@ -80,21 +80,6 @@
 
 #define clockframe irqframe
 
-/* All the CLKF_* macros take a struct clockframe * as an argument. */
-
-/* True if we took the interrupt in user mode */
-#define CLKF_USERMODE(frame)   ((frame->if_r15 & R15_MODE) == R15_MODE_USR)
-
-/* True if we were at spl0 before the interrupt */
-#define CLKF_BASEPRI(frame)    0       /* FIXME */
-
-/* Extract the program counter from a clockframe */
-#define CLKF_PC(frame)         (frame->if_r15 & R15_PC)
-
-/* True if we took the interrupt from inside another interrupt handler. */
-/* Non-trivial to check because we handle interrupts in SVC mode. */
-#define CLKF_INTR(frame)       0       /* FIXME */
-
 /*
  * Switch frame
  */



Home | Main Index | Thread Index | Old Index