Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/newsmips/stand/common Use LEAF_NOPROFILE().



details:   https://anonhg.NetBSD.org/src/rev/f819bef8cee4
branches:  trunk
changeset: 545989:f819bef8cee4
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Apr 18 18:52:27 2003 +0000

description:
Use LEAF_NOPROFILE().

diffstat:

 sys/arch/newsmips/stand/common/romcalls.S |  30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diffs (96 lines):

diff -r cc96251e003c -r f819bef8cee4 sys/arch/newsmips/stand/common/romcalls.S
--- a/sys/arch/newsmips/stand/common/romcalls.S Fri Apr 18 18:46:26 2003 +0000
+++ b/sys/arch/newsmips/stand/common/romcalls.S Fri Apr 18 18:52:27 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: romcalls.S,v 1.4 2002/04/13 07:56:03 tsutsui Exp $     */
+/*     $NetBSD: romcalls.S,v 1.5 2003/04/18 18:52:27 tsutsui Exp $     */
 
 /*-
  * Copyright (C) 1999 Tsubai Masanari.  All rights reserved.
@@ -34,8 +34,7 @@
        .align  2
        .set    noreorder
 
-       .globl  rom_halt
-rom_halt:
+LEAF_NOPROFILE(rom_halt)
        addu    sp, sp, -16
        li      a0, 8           # RB_HALT
        sw      a0, 0(sp)
@@ -43,9 +42,9 @@
        move    a1, sp
        syscall
        nop
+END(rom_halt)
 
-       .globl  rom_open
-rom_open:
+LEAF_NOPROFILE(rom_open)
        addu    sp, sp, -32
        sw      ra, 28(sp)
 
@@ -61,9 +60,9 @@
        addu    sp, sp, 32
        j       ra
        nop
+END(rom_open)
 
-       .globl  rom_close
-rom_close:
+LEAF_NOPROFILE(rom_close)
        addu    sp, sp, -32
        sw      ra, 28(sp)
 
@@ -78,9 +77,9 @@
        addu    sp, sp, 32
        j       ra
        nop
+END(rom_close)
 
-       .globl  rom_read
-rom_read:
+LEAF_NOPROFILE(rom_read)
        addu    sp, sp, -32
        sw      ra, 28(sp)
 
@@ -97,9 +96,9 @@
        addu    sp, sp, 32
        j       ra
        nop
+END(rom_read)
 
-       .globl  rom_write
-rom_write:
+LEAF_NOPROFILE(rom_write)
        addu    sp, sp, -32
        sw      ra, 28(sp)
 
@@ -116,9 +115,9 @@
        addu    sp, sp, 32
        j       ra
        nop
+END(rom_write)
 
-       .globl  rom_lseek
-rom_lseek:
+LEAF_NOPROFILE(rom_lseek)
        addu    sp, sp, -32
        sw      ra, 28(sp)
 
@@ -135,9 +134,9 @@
        addu    sp, sp, 32
        j       ra
        nop
+END(rom_lseek)
 
-       .globl  rom_ioctl
-rom_ioctl:
+LEAF_NOPROFILE(rom_ioctl)
        addu    sp, sp, -32
        sw      ra, 28(sp)
 
@@ -154,3 +153,4 @@
        addu    sp, sp, 32
        j       ra
        nop
+END(rom_ioctl)



Home | Main Index | Thread Index | Old Index