2005-04-17 06:20:36 +08:00
|
|
|
/* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*
|
2007-01-25 05:36:32 +08:00
|
|
|
* Copyright (C) 1999-2007 by Helge Deller <deller@gmx.de>
|
2005-04-17 06:20:36 +08:00
|
|
|
* Copyright 1999 SuSE GmbH (Philipp Rumpf)
|
|
|
|
* Copyright 1999 Philipp Rumpf (prumpf@tux.org)
|
|
|
|
* Copyright 2000 Hewlett Packard (Paul Bame, bame@puffin.external.hp.com)
|
|
|
|
* Copyright (C) 2001 Grant Grundler (Hewlett Packard)
|
|
|
|
* Copyright (C) 2004 Kyle McMartin <kyle@debian.org>
|
|
|
|
*
|
|
|
|
* Initial Version 04-23-1999 by Helge Deller <deller@gmx.de>
|
|
|
|
*/
|
|
|
|
|
2005-09-10 02:57:26 +08:00
|
|
|
#include <asm/asm-offsets.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
#include <asm/psw.h>
|
|
|
|
#include <asm/pdc.h>
|
|
|
|
|
|
|
|
#include <asm/assembly.h>
|
|
|
|
#include <asm/pgtable.h>
|
|
|
|
|
2007-01-25 05:36:32 +08:00
|
|
|
#include <linux/linkage.h>
|
2007-12-27 01:07:01 +08:00
|
|
|
#include <linux/init.h>
|
2007-01-25 05:36:32 +08:00
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
.level LEVEL
|
|
|
|
|
2007-12-27 01:07:01 +08:00
|
|
|
__INITDATA
|
2007-01-25 05:36:32 +08:00
|
|
|
ENTRY(boot_args)
|
2005-04-17 06:20:36 +08:00
|
|
|
.word 0 /* arg0 */
|
|
|
|
.word 0 /* arg1 */
|
|
|
|
.word 0 /* arg2 */
|
|
|
|
.word 0 /* arg3 */
|
2007-01-25 05:36:32 +08:00
|
|
|
END(boot_args)
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2008-05-23 02:38:26 +08:00
|
|
|
__HEAD
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
.align 4
|
|
|
|
.import init_thread_union,data
|
|
|
|
.import fault_vector_20,code /* IVA parisc 2.0 32 bit */
|
2005-10-22 10:46:48 +08:00
|
|
|
#ifndef CONFIG_64BIT
|
2005-04-17 06:20:36 +08:00
|
|
|
.import fault_vector_11,code /* IVA parisc 1.1 32 bit */
|
|
|
|
.import $global$ /* forward declaration */
|
2005-10-22 10:46:48 +08:00
|
|
|
#endif /*!CONFIG_64BIT*/
|
2013-12-01 05:07:51 +08:00
|
|
|
ENTRY(parisc_kernel_start)
|
2005-04-17 06:20:36 +08:00
|
|
|
.proc
|
|
|
|
.callinfo
|
|
|
|
|
|
|
|
/* Make sure sr4-sr7 are set to zero for the kernel address space */
|
|
|
|
mtsp %r0,%sr4
|
|
|
|
mtsp %r0,%sr5
|
|
|
|
mtsp %r0,%sr6
|
|
|
|
mtsp %r0,%sr7
|
|
|
|
|
|
|
|
/* Clear BSS (shouldn't the boot loader do this?) */
|
|
|
|
|
|
|
|
.import __bss_start,data
|
|
|
|
.import __bss_stop,data
|
|
|
|
|
|
|
|
load32 PA(__bss_start),%r3
|
|
|
|
load32 PA(__bss_stop),%r4
|
|
|
|
$bss_loop:
|
|
|
|
cmpb,<<,n %r3,%r4,$bss_loop
|
|
|
|
stw,ma %r0,4(%r3)
|
|
|
|
|
|
|
|
/* Save away the arguments the boot loader passed in (32 bit args) */
|
|
|
|
load32 PA(boot_args),%r1
|
|
|
|
stw,ma %arg0,4(%r1)
|
|
|
|
stw,ma %arg1,4(%r1)
|
|
|
|
stw,ma %arg2,4(%r1)
|
|
|
|
stw,ma %arg3,4(%r1)
|
|
|
|
|
|
|
|
/* Initialize startup VM. Just map first 8/16 MB of memory */
|
|
|
|
load32 PA(swapper_pg_dir),%r4
|
|
|
|
mtctl %r4,%cr24 /* Initialize kernel root pointer */
|
|
|
|
mtctl %r4,%cr25 /* Initialize user root pointer */
|
|
|
|
|
2015-04-15 06:45:54 +08:00
|
|
|
#if CONFIG_PGTABLE_LEVELS == 3
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Set pmd in pgd */
|
|
|
|
load32 PA(pmd0),%r5
|
|
|
|
shrd %r5,PxD_VALUE_SHIFT,%r3
|
2006-04-21 04:40:23 +08:00
|
|
|
ldo (PxD_FLAG_PRESENT+PxD_FLAG_VALID)(%r3),%r3
|
2005-04-17 06:20:36 +08:00
|
|
|
stw %r3,ASM_PGD_ENTRY*ASM_PGD_ENTRY_SIZE(%r4)
|
|
|
|
ldo ASM_PMD_ENTRY*ASM_PMD_ENTRY_SIZE(%r5),%r4
|
|
|
|
#else
|
|
|
|
/* 2-level page table, so pmd == pgd */
|
2006-04-21 04:40:23 +08:00
|
|
|
ldo ASM_PGD_ENTRY*ASM_PGD_ENTRY_SIZE(%r4),%r4
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Fill in pmd with enough pte directories */
|
|
|
|
load32 PA(pg0),%r1
|
|
|
|
SHRREG %r1,PxD_VALUE_SHIFT,%r3
|
|
|
|
ldo (PxD_FLAG_PRESENT+PxD_FLAG_VALID)(%r3),%r3
|
|
|
|
|
|
|
|
ldi ASM_PT_INITIAL,%r1
|
|
|
|
|
|
|
|
1:
|
|
|
|
stw %r3,0(%r4)
|
2007-10-18 15:04:43 +08:00
|
|
|
ldo (PAGE_SIZE >> PxD_VALUE_SHIFT)(%r3),%r3
|
2005-04-17 06:20:36 +08:00
|
|
|
addib,> -1,%r1,1b
|
2015-04-15 06:45:54 +08:00
|
|
|
#if CONFIG_PGTABLE_LEVELS == 3
|
2005-04-17 06:20:36 +08:00
|
|
|
ldo ASM_PMD_ENTRY_SIZE(%r4),%r4
|
|
|
|
#else
|
|
|
|
ldo ASM_PGD_ENTRY_SIZE(%r4),%r4
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2011-04-15 07:25:21 +08:00
|
|
|
/* Now initialize the PTEs themselves. We use RWX for
|
|
|
|
* everything ... it will get remapped correctly later */
|
|
|
|
ldo 0+_PAGE_KERNEL_RWX(%r0),%r3 /* Hardwired 0 phys addr start */
|
2006-04-21 04:40:23 +08:00
|
|
|
ldi (1<<(KERNEL_INITIAL_ORDER-PAGE_SHIFT)),%r11 /* PFN count */
|
2005-04-17 06:20:36 +08:00
|
|
|
load32 PA(pg0),%r1
|
|
|
|
|
|
|
|
$pgt_fill_loop:
|
|
|
|
STREGM %r3,ASM_PTE_ENTRY_SIZE(%r1)
|
2006-04-21 04:40:23 +08:00
|
|
|
ldo (1<<PFN_PTE_SHIFT)(%r3),%r3 /* add one PFN */
|
|
|
|
addib,> -1,%r11,$pgt_fill_loop
|
2005-04-17 06:20:36 +08:00
|
|
|
nop
|
|
|
|
|
|
|
|
/* Load the return address...er...crash 'n burn */
|
|
|
|
copy %r0,%r2
|
|
|
|
|
|
|
|
/* And the RFI Target address too */
|
2008-07-29 12:11:13 +08:00
|
|
|
load32 start_parisc,%r11
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* And the initial task pointer */
|
|
|
|
load32 init_thread_union,%r6
|
|
|
|
mtctl %r6,%cr30
|
|
|
|
|
|
|
|
/* And the stack pointer too */
|
|
|
|
ldo THREAD_SZ_ALGN(%r6),%sp
|
|
|
|
|
|
|
|
#ifdef CONFIG_SMP
|
2011-03-31 09:57:33 +08:00
|
|
|
/* Set the smp rendezvous address into page zero.
|
2005-04-17 06:20:36 +08:00
|
|
|
** It would be safer to do this in init_smp_config() but
|
|
|
|
** it's just way easier to deal with here because
|
|
|
|
** of 64-bit function ptrs and the address is local to this file.
|
|
|
|
*/
|
|
|
|
load32 PA(smp_slave_stext),%r10
|
|
|
|
stw %r10,0x10(%r0) /* MEM_RENDEZ */
|
|
|
|
stw %r0,0x28(%r0) /* MEM_RENDEZ_HI - assume addr < 4GB */
|
|
|
|
|
|
|
|
/* FALLTHROUGH */
|
|
|
|
.procend
|
|
|
|
|
|
|
|
/*
|
|
|
|
** Code Common to both Monarch and Slave processors.
|
|
|
|
** Entry:
|
|
|
|
**
|
|
|
|
** 1.1:
|
|
|
|
** %r11 must contain RFI target address.
|
|
|
|
** %r25/%r26 args to pass to target function
|
|
|
|
** %r2 in case rfi target decides it didn't like something
|
|
|
|
**
|
|
|
|
** 2.0w:
|
|
|
|
** %r3 PDCE_PROC address
|
|
|
|
** %r11 RFI target address
|
|
|
|
**
|
|
|
|
** Caller must init: SR4-7, %sp, %r10, %cr24/25,
|
|
|
|
*/
|
|
|
|
common_stext:
|
|
|
|
.proc
|
|
|
|
.callinfo
|
|
|
|
#else
|
|
|
|
/* Clear PDC entry point - we won't use it */
|
|
|
|
stw %r0,0x10(%r0) /* MEM_RENDEZ */
|
|
|
|
stw %r0,0x28(%r0) /* MEM_RENDEZ_HI */
|
|
|
|
#endif /*CONFIG_SMP*/
|
|
|
|
|
2005-10-22 10:46:48 +08:00
|
|
|
#ifdef CONFIG_64BIT
|
2005-04-17 06:20:36 +08:00
|
|
|
tophys_r1 %sp
|
|
|
|
|
|
|
|
/* Save the rfi target address */
|
|
|
|
ldd TI_TASK-THREAD_SZ_ALGN(%sp), %r10
|
|
|
|
tophys_r1 %r10
|
|
|
|
std %r11, TASK_PT_GR11(%r10)
|
|
|
|
/* Switch to wide mode Superdome doesn't support narrow PDC
|
|
|
|
** calls.
|
|
|
|
*/
|
|
|
|
1: mfia %rp /* clear upper part of pcoq */
|
|
|
|
ldo 2f-1b(%rp),%rp
|
|
|
|
depdi 0,31,32,%rp
|
|
|
|
bv (%rp)
|
|
|
|
ssm PSW_SM_W,%r0
|
|
|
|
|
|
|
|
/* Set Wide mode as the "Default" (eg for traps)
|
|
|
|
** First trap occurs *right* after (or part of) rfi for slave CPUs.
|
|
|
|
** Someday, palo might not do this for the Monarch either.
|
|
|
|
*/
|
|
|
|
2:
|
|
|
|
#define MEM_PDC_LO 0x388
|
|
|
|
#define MEM_PDC_HI 0x35C
|
|
|
|
ldw MEM_PDC_LO(%r0),%r3
|
|
|
|
ldw MEM_PDC_HI(%r0),%r6
|
|
|
|
depd %r6, 31, 32, %r3 /* move to upper word */
|
|
|
|
|
parisc: Do not crash 64bit SMP kernels on machines with >= 4GB RAM
Since the beginning of the parisc-linux port, sometimes 64bit SMP kernels were
not able to bring up other CPUs than the monarch CPU and instead crashed the
kernel. The reason was unclear, esp. since it involved various machines (e.g.
J5600, J6750 and SuperDome). Testing showed, that those crashes didn't happened
when less than 4GB were installed, or if a 32bit Linux kernel was booted.
In the end, the fix for those SMP problems is trivial:
During the early phase of the initialization of the CPUs, including the monarch
CPU, the PDC_PSW firmware function to enable WIDE (=64bit) mode is called.
It's documented that this firmware function may clobber various registers, and
one one of those possibly clobbered registers is %cr30 which holds the task
thread info pointer.
Now, if %cr30 would always have been clobbered, then this bug would have been
detected much earlier. But lots of testing finally showed, that - at least for
%cr30 - on some machines only the upper 32bits of the 64bit register suddenly
turned zero after the firmware call.
So, after finding the root cause, the explanation for the various crashes
became clear:
- On 32bit SMP Linux kernels all upper 32bit were zero, so we didn't faced this
problem.
- Monarch CPUs in 64bit mode always booted sucessfully, because the inital task
thread info pointer was below 4GB.
- Secondary CPUs booted sucessfully on machines with less than 4GB RAM because
the upper 32bit were zero anyay.
- Secondary CPus failed to boot if we had more than 4GB RAM and the task thread
info pointer was located above the 4GB boundary.
Finally, the patch to fix this problem is trivial by saving the %cr30 register
before the firmware call and restoring it afterwards.
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: John David Anglin <dave.anglin@bell.net>
Cc: <stable@vger.kernel.org> # 2.6.12+
Signed-off-by: Helge Deller <deller@gmx.de>
2013-10-27 05:19:25 +08:00
|
|
|
mfctl %cr30,%r6 /* PCX-W2 firmware bug */
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
ldo PDC_PSW(%r0),%arg0 /* 21 */
|
|
|
|
ldo PDC_PSW_SET_DEFAULTS(%r0),%arg1 /* 2 */
|
|
|
|
ldo PDC_PSW_WIDE_BIT(%r0),%arg2 /* 2 */
|
|
|
|
load32 PA(stext_pdc_ret), %rp
|
|
|
|
bv (%r3)
|
|
|
|
copy %r0,%arg3
|
|
|
|
|
|
|
|
stext_pdc_ret:
|
parisc: Do not crash 64bit SMP kernels on machines with >= 4GB RAM
Since the beginning of the parisc-linux port, sometimes 64bit SMP kernels were
not able to bring up other CPUs than the monarch CPU and instead crashed the
kernel. The reason was unclear, esp. since it involved various machines (e.g.
J5600, J6750 and SuperDome). Testing showed, that those crashes didn't happened
when less than 4GB were installed, or if a 32bit Linux kernel was booted.
In the end, the fix for those SMP problems is trivial:
During the early phase of the initialization of the CPUs, including the monarch
CPU, the PDC_PSW firmware function to enable WIDE (=64bit) mode is called.
It's documented that this firmware function may clobber various registers, and
one one of those possibly clobbered registers is %cr30 which holds the task
thread info pointer.
Now, if %cr30 would always have been clobbered, then this bug would have been
detected much earlier. But lots of testing finally showed, that - at least for
%cr30 - on some machines only the upper 32bits of the 64bit register suddenly
turned zero after the firmware call.
So, after finding the root cause, the explanation for the various crashes
became clear:
- On 32bit SMP Linux kernels all upper 32bit were zero, so we didn't faced this
problem.
- Monarch CPUs in 64bit mode always booted sucessfully, because the inital task
thread info pointer was below 4GB.
- Secondary CPUs booted sucessfully on machines with less than 4GB RAM because
the upper 32bit were zero anyay.
- Secondary CPus failed to boot if we had more than 4GB RAM and the task thread
info pointer was located above the 4GB boundary.
Finally, the patch to fix this problem is trivial by saving the %cr30 register
before the firmware call and restoring it afterwards.
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: John David Anglin <dave.anglin@bell.net>
Cc: <stable@vger.kernel.org> # 2.6.12+
Signed-off-by: Helge Deller <deller@gmx.de>
2013-10-27 05:19:25 +08:00
|
|
|
mtctl %r6,%cr30 /* restore task thread info */
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* restore rfi target address*/
|
|
|
|
ldd TI_TASK-THREAD_SZ_ALGN(%sp), %r10
|
|
|
|
tophys_r1 %r10
|
|
|
|
ldd TASK_PT_GR11(%r10), %r11
|
|
|
|
tovirt_r1 %sp
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* PARANOID: clear user scratch/user space SR's */
|
|
|
|
mtsp %r0,%sr0
|
|
|
|
mtsp %r0,%sr1
|
|
|
|
mtsp %r0,%sr2
|
|
|
|
mtsp %r0,%sr3
|
|
|
|
|
|
|
|
/* Initialize Protection Registers */
|
|
|
|
mtctl %r0,%cr8
|
|
|
|
mtctl %r0,%cr9
|
|
|
|
mtctl %r0,%cr12
|
|
|
|
mtctl %r0,%cr13
|
|
|
|
|
|
|
|
/* Initialize the global data pointer */
|
|
|
|
loadgp
|
|
|
|
|
|
|
|
/* Set up our interrupt table. HPMCs might not work after this!
|
|
|
|
*
|
|
|
|
* We need to install the correct iva for PA1.1 or PA2.0. The
|
|
|
|
* following short sequence of instructions can determine this
|
|
|
|
* (without being illegal on a PA1.1 machine).
|
|
|
|
*/
|
2005-10-22 10:46:48 +08:00
|
|
|
#ifndef CONFIG_64BIT
|
2005-04-17 06:20:36 +08:00
|
|
|
ldi 32,%r10
|
|
|
|
mtctl %r10,%cr11
|
|
|
|
.level 2.0
|
|
|
|
mfctl,w %cr11,%r10
|
|
|
|
.level 1.1
|
|
|
|
comib,<>,n 0,%r10,$is_pa20
|
|
|
|
ldil L%PA(fault_vector_11),%r10
|
|
|
|
b $install_iva
|
|
|
|
ldo R%PA(fault_vector_11)(%r10),%r10
|
|
|
|
|
|
|
|
$is_pa20:
|
|
|
|
.level LEVEL /* restore 1.1 || 2.0w */
|
2005-10-22 10:46:48 +08:00
|
|
|
#endif /*!CONFIG_64BIT*/
|
2005-04-17 06:20:36 +08:00
|
|
|
load32 PA(fault_vector_20),%r10
|
|
|
|
|
|
|
|
$install_iva:
|
|
|
|
mtctl %r10,%cr14
|
|
|
|
|
2005-10-22 10:40:07 +08:00
|
|
|
b aligned_rfi /* Prepare to RFI! Man all the cannons! */
|
2005-04-17 06:20:36 +08:00
|
|
|
nop
|
|
|
|
|
2005-10-22 10:40:07 +08:00
|
|
|
.align 128
|
2005-04-17 06:20:36 +08:00
|
|
|
aligned_rfi:
|
2005-10-22 10:40:07 +08:00
|
|
|
pcxt_ssm_bug
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-10-22 10:40:07 +08:00
|
|
|
rsm PSW_SM_QUIET,%r0 /* off troublesome PSW bits */
|
|
|
|
/* Don't need NOPs, have 8 compliant insn before rfi */
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
mtctl %r0,%cr17 /* Clear IIASQ tail */
|
|
|
|
mtctl %r0,%cr17 /* Clear IIASQ head */
|
|
|
|
|
|
|
|
/* Load RFI target into PC queue */
|
|
|
|
mtctl %r11,%cr18 /* IIAOQ head */
|
|
|
|
ldo 4(%r11),%r11
|
|
|
|
mtctl %r11,%cr18 /* IIAOQ tail */
|
2005-10-22 10:40:07 +08:00
|
|
|
|
|
|
|
load32 KERNEL_PSW,%r10
|
|
|
|
mtctl %r10,%ipsw
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-10-22 10:40:07 +08:00
|
|
|
/* Jump through hyperspace to Virt Mode */
|
2005-04-17 06:20:36 +08:00
|
|
|
rfi
|
|
|
|
nop
|
|
|
|
|
|
|
|
.procend
|
|
|
|
|
|
|
|
#ifdef CONFIG_SMP
|
|
|
|
|
|
|
|
.import smp_init_current_idle_task,data
|
|
|
|
.import smp_callin,code
|
|
|
|
|
2005-10-22 10:46:48 +08:00
|
|
|
#ifndef CONFIG_64BIT
|
2005-04-17 06:20:36 +08:00
|
|
|
smp_callin_rtn:
|
|
|
|
.proc
|
|
|
|
.callinfo
|
|
|
|
break 1,1 /* Break if returned from start_secondary */
|
|
|
|
nop
|
|
|
|
nop
|
|
|
|
.procend
|
2005-10-22 10:46:48 +08:00
|
|
|
#endif /*!CONFIG_64BIT*/
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/***************************************************************************
|
|
|
|
* smp_slave_stext is executed by all non-monarch Processors when the Monarch
|
|
|
|
* pokes the slave CPUs in smp.c:smp_boot_cpus().
|
|
|
|
*
|
|
|
|
* Once here, registers values are initialized in order to branch to virtual
|
|
|
|
* mode. Once all available/eligible CPUs are in virtual mode, all are
|
|
|
|
* released and start out by executing their own idle task.
|
|
|
|
*****************************************************************************/
|
|
|
|
smp_slave_stext:
|
|
|
|
.proc
|
|
|
|
.callinfo
|
|
|
|
|
|
|
|
/*
|
|
|
|
** Initialize Space registers
|
|
|
|
*/
|
|
|
|
mtsp %r0,%sr4
|
|
|
|
mtsp %r0,%sr5
|
|
|
|
mtsp %r0,%sr6
|
|
|
|
mtsp %r0,%sr7
|
|
|
|
|
|
|
|
/* Initialize the SP - monarch sets up smp_init_current_idle_task */
|
|
|
|
load32 PA(smp_init_current_idle_task),%sp
|
|
|
|
LDREG 0(%sp),%sp /* load task address */
|
|
|
|
tophys_r1 %sp
|
|
|
|
LDREG TASK_THREAD_INFO(%sp),%sp
|
|
|
|
mtctl %sp,%cr30 /* store in cr30 */
|
|
|
|
ldo THREAD_SZ_ALGN(%sp),%sp
|
|
|
|
|
|
|
|
/* point CPU to kernel page tables */
|
|
|
|
load32 PA(swapper_pg_dir),%r4
|
|
|
|
mtctl %r4,%cr24 /* Initialize kernel root pointer */
|
|
|
|
mtctl %r4,%cr25 /* Initialize user root pointer */
|
|
|
|
|
2005-10-22 10:46:48 +08:00
|
|
|
#ifdef CONFIG_64BIT
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Setup PDCE_PROC entry */
|
|
|
|
copy %arg0,%r3
|
|
|
|
#else
|
|
|
|
/* Load RFI *return* address in case smp_callin bails */
|
|
|
|
load32 smp_callin_rtn,%r2
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Load RFI target address. */
|
|
|
|
load32 smp_callin,%r11
|
|
|
|
|
|
|
|
/* ok...common code can handle the rest */
|
|
|
|
b common_stext
|
|
|
|
nop
|
|
|
|
|
|
|
|
.procend
|
|
|
|
#endif /* CONFIG_SMP */
|
2007-01-25 05:36:32 +08:00
|
|
|
|
2013-12-01 05:07:51 +08:00
|
|
|
ENDPROC(parisc_kernel_start)
|
2007-01-25 05:36:32 +08:00
|
|
|
|
2005-10-22 10:46:48 +08:00
|
|
|
#ifndef CONFIG_64BIT
|
2010-02-20 08:03:44 +08:00
|
|
|
.section .data..read_mostly
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
.align 4
|
|
|
|
.export $global$,data
|
|
|
|
|
|
|
|
.type $global$,@object
|
|
|
|
.size $global$,4
|
|
|
|
$global$:
|
|
|
|
.word 0
|
2005-10-22 10:46:48 +08:00
|
|
|
#endif /*!CONFIG_64BIT*/
|