mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 07:04:00 +08:00
27 lines
693 B
ArmAsm
27 lines
693 B
ArmAsm
|
/*
|
||
|
* Copyright (C) 2013 Ma Haijun <mahaijuns@gmail.com>
|
||
|
* Copyright (c) 2003 ARM Limited
|
||
|
* All Rights Reserved
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU General Public License version 2 as
|
||
|
* published by the Free Software Foundation.
|
||
|
*/
|
||
|
#include <linux/linkage.h>
|
||
|
#include <linux/init.h>
|
||
|
|
||
|
__INIT
|
||
|
|
||
|
/*
|
||
|
* OX820 specific entry point for secondary CPUs.
|
||
|
*/
|
||
|
ENTRY(ox820_secondary_startup)
|
||
|
mov r4, #0
|
||
|
/* invalidate both caches and branch target cache */
|
||
|
mcr p15, 0, r4, c7, c7, 0
|
||
|
/*
|
||
|
* we've been released from the holding pen: secondary_stack
|
||
|
* should now contain the SVC stack for this core
|
||
|
*/
|
||
|
b secondary_startup
|