From 4a69030d009cc9945966f34a37be3ee6faa3ec11 Mon Sep 17 00:00:00 2001 From: marcel Date: Mon, 30 Aug 2004 01:32:28 +0000 Subject: s/ENTRY/ENTRY_NOPROFILE/g for particular functions that do not follow the C calling convention or are otherwise not regular functions. This allows us to boot a profiling kernel. --- sys/ia64/ia64/exception.S | 4 ++-- sys/ia64/ia64/locore.S | 4 ++-- sys/ia64/ia64/support.S | 2 +- sys/ia64/ia64/syscall.S | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'sys/ia64') diff --git a/sys/ia64/ia64/exception.S b/sys/ia64/ia64/exception.S index bc51603..94964de 100644 --- a/sys/ia64/ia64/exception.S +++ b/sys/ia64/ia64/exception.S @@ -58,7 +58,7 @@ * p11 interrupts were enabled * p10 interrupts were disabled */ -ENTRY(exception_save, 0) +ENTRY_NOPROFILE(exception_save, 0) { .mii mov r20=ar.unat extr.u r31=sp,61,3 @@ -358,7 +358,7 @@ END(exception_save) * Arguments: * sp+16 trapframe pointer */ -ENTRY(exception_restore, 0) +ENTRY_NOPROFILE(exception_restore, 0) { .mmi rsm psr.i add sp=16,sp diff --git a/sys/ia64/ia64/locore.S b/sys/ia64/ia64/locore.S index ef2ad9c..f44cf6b 100644 --- a/sys/ia64/ia64/locore.S +++ b/sys/ia64/ia64/locore.S @@ -50,7 +50,7 @@ kstack: .space KSTACK_PAGES * PAGE_SIZE * The EFI loader passes the physical address of the bootinfo block in * register r8. */ -ENTRY(__start, 1) +ENTRY_NOPROFILE(__start, 1) .prologue .save rp,r0 .body @@ -155,7 +155,7 @@ END(fork_trampoline) * and issuing the EOI to the local SAPIC. */ .align 32 -ENTRY(os_boot_rendez,0) +ENTRY_NOPROFILE(os_boot_rendez,0) mov r16=cr.ivr // clear IRR bit ;; srlz.d diff --git a/sys/ia64/ia64/support.S b/sys/ia64/ia64/support.S index cbec9e5..9c7a858 100644 --- a/sys/ia64/ia64/support.S +++ b/sys/ia64/ia64/support.S @@ -68,7 +68,7 @@ * r15-r19 scratch * ar.bsp tranlated to new mode */ -ENTRY(ia64_change_mode, 0) +ENTRY_NOPROFILE(ia64_change_mode, 0) rsm psr.i | psr.ic mov r19=ar.rsc // save rsc while we change mode tbit.nz p6,p7=r14,17 // physical or virtual ? diff --git a/sys/ia64/ia64/syscall.S b/sys/ia64/ia64/syscall.S index 0c0ef5e..a9b847b 100644 --- a/sys/ia64/ia64/syscall.S +++ b/sys/ia64/ia64/syscall.S @@ -116,7 +116,7 @@ gw_ret_ia32: } -ENTRY(break_sigtramp, 0) +ENTRY_NOPROFILE(break_sigtramp, 0) { .mib mov ar.rsc=0 cmp.ne p15,p0=0,gp @@ -180,7 +180,7 @@ ENTRY(break_sigtramp, 0) } END(break_sigtramp) -ENTRY(epc_sigtramp, 0) +ENTRY_NOPROFILE(epc_sigtramp, 0) { .mmi ld8 r16=[r10],8 // function address mov ar.rsc=0 @@ -220,7 +220,7 @@ END(epc_sigtramp) .text -ENTRY(epc_syscall, 8) +ENTRY_NOPROFILE(epc_syscall, 8) .prologue .unwabi @svr4, 'E' .save rp, r0 -- cgit v1.1