head.S (79e24da00b1137031245f3341828e4215b1b5b59) | head.S (366dd4ea9d5f0eb78fdf4982d76506f99480ec0a) |
---|---|
1/* This file is subject to the terms and conditions of the GNU General Public 2 * License. See the file "COPYING" in the main directory of this archive 3 * for more details. 4 * 5 * Copyright (C) 1999-2007 by Helge Deller <deller@gmx.de> 6 * Copyright 1999 SuSE GmbH (Philipp Rumpf) 7 * Copyright 1999 Philipp Rumpf (prumpf@tux.org) 8 * Copyright 2000 Hewlett Packard (Paul Bame, bame@puffin.external.hp.com) --- 115 unchanged lines hidden (view full) --- 124 125 /* And the initial task pointer */ 126 load32 init_thread_union,%r6 127 mtctl %r6,%cr30 128 129 /* And the stack pointer too */ 130 ldo THREAD_SZ_ALGN(%r6),%sp 131 | 1/* This file is subject to the terms and conditions of the GNU General Public 2 * License. See the file "COPYING" in the main directory of this archive 3 * for more details. 4 * 5 * Copyright (C) 1999-2007 by Helge Deller <deller@gmx.de> 6 * Copyright 1999 SuSE GmbH (Philipp Rumpf) 7 * Copyright 1999 Philipp Rumpf (prumpf@tux.org) 8 * Copyright 2000 Hewlett Packard (Paul Bame, bame@puffin.external.hp.com) --- 115 unchanged lines hidden (view full) --- 124 125 /* And the initial task pointer */ 126 load32 init_thread_union,%r6 127 mtctl %r6,%cr30 128 129 /* And the stack pointer too */ 130 ldo THREAD_SZ_ALGN(%r6),%sp 131 |
132#if defined(CONFIG_64BIT) && defined(CONFIG_FUNCTION_TRACER) 133 .import _mcount,data 134 /* initialize mcount FPTR */ 135 /* Get the global data pointer */ 136 loadgp 137 load32 PA(_mcount), %r10 138 std %dp,0x18(%r10) 139#endif 140 |
|
132#ifdef CONFIG_SMP 133 /* Set the smp rendezvous address into page zero. 134 ** It would be safer to do this in init_smp_config() but 135 ** it's just way easier to deal with here because 136 ** of 64-bit function ptrs and the address is local to this file. 137 */ 138 load32 PA(smp_slave_stext),%r10 139 stw %r10,0x10(%r0) /* MEM_RENDEZ */ --- 221 unchanged lines hidden --- | 141#ifdef CONFIG_SMP 142 /* Set the smp rendezvous address into page zero. 143 ** It would be safer to do this in init_smp_config() but 144 ** it's just way easier to deal with here because 145 ** of 64-bit function ptrs and the address is local to this file. 146 */ 147 load32 PA(smp_slave_stext),%r10 148 stw %r10,0x10(%r0) /* MEM_RENDEZ */ --- 221 unchanged lines hidden --- |