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.
This commit is contained in:
parent
2e4db7cfd7
commit
224407d6a8
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 ?
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user