Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/luna68k/stand/boot Remove unused variable.



details:   https://anonhg.NetBSD.org/src/rev/232e7caf737f
branches:  trunk
changeset: 836123:232e7caf737f
user:      isaki <isaki%NetBSD.org@localhost>
date:      Fri Sep 28 04:13:24 2018 +0000

description:
Remove unused variable.
OK'ed by tsutsui@.

diffstat:

 sys/arch/luna68k/stand/boot/locore.S |  12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diffs (33 lines):

diff -r 2107e5724d74 -r 232e7caf737f sys/arch/luna68k/stand/boot/locore.S
--- a/sys/arch/luna68k/stand/boot/locore.S      Fri Sep 28 03:53:59 2018 +0000
+++ b/sys/arch/luna68k/stand/boot/locore.S      Fri Sep 28 04:13:24 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.12 2018/09/28 03:53:59 isaki Exp $        */
+/*     $NetBSD: locore.S,v 1.13 2018/09/28 04:13:24 isaki Exp $        */
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -202,11 +202,6 @@
        movw    #PSL_HIGHIPL,%sr        | no interrupts
        movl    #STACK,%sp              | set SP
 
-       movl    #_C_LABEL(prgcore), %a2 | save program address
-       movl    #_ASM_LABEL(Reset), %a2@+       | save start of core
-       movl    #_C_LABEL(end),  %a2@+  | save end of core
-       movl    #STACK, %a2@            | save initial stack addr
-
 /* clear BSS area */
        movl    #_C_LABEL(edata),%a2    | start of BSS
        movl    #_C_LABEL(end),%a3      | end
@@ -765,11 +760,6 @@
  * Memory Information Field for secondary booter memory allocator
  */
 
-GLOBAL(prgcore)
-       .long   0
-       .long   0
-       .long   0
-
 ASLOCAL(gotoROM)
        .long   0
 



Home | Main Index | Thread Index | Old Index