Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/include G/C GET_IDLE_PCB -- it hasn't been us...



details:   https://anonhg.NetBSD.org/src/rev/a90b5ee9ed2c
branches:  trunk
changeset: 943294:a90b5ee9ed2c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Aug 29 22:50:27 2020 +0000

description:
G/C GET_IDLE_PCB -- it hasn't been used for some time.

diffstat:

 sys/arch/alpha/include/asm.h |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (31 lines):

diff -r 504022066dd2 -r a90b5ee9ed2c sys/arch/alpha/include/asm.h
--- a/sys/arch/alpha/include/asm.h      Sat Aug 29 22:42:53 2020 +0000
+++ b/sys/arch/alpha/include/asm.h      Sat Aug 29 22:50:27 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.38 2020/04/18 10:30:49 martin Exp $ */
+/* $NetBSD: asm.h,v 1.39 2020/08/29 22:50:27 thorpej Exp $ */
 
 /*
  * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University
@@ -679,10 +679,6 @@
        call_pal PAL_OSF1_rdval                                 ;       \
        addq    v0, CPU_INFO_CURPCB, v0
 
-#define        GET_IDLE_PCB(reg)                                               \
-       call_pal PAL_OSF1_rdval                                 ;       \
-       ldq     reg, CPU_INFO_IDLE_PCB_PADDR(v0)
-
 #else  /* if not MULTIPROCESSOR... */
 
 IMPORT(cpu_info_primary, CPU_INFO_SIZEOF)
@@ -694,10 +690,6 @@
 #define        GET_FPCURLWP            lda v0, cpu_info_primary + CPU_INFO_FPCURLWP
 
 #define        GET_CURPCB              lda v0, cpu_info_primary + CPU_INFO_CURPCB
-
-#define        GET_IDLE_PCB(reg)                                               \
-       lda     reg, cpu_info_primary                           ;       \
-       ldq     reg, CPU_INFO_IDLE_PCB_PADDR(reg)
 #endif /* MULTIPROCESSOR */
 #else
 #define        RCSID(_s)               __SECTIONSTRING(.ident, _s)



Home | Main Index | Thread Index | Old Index