提交 a84a5ab7 编写于 作者: M Magnus Damm 提交者: Simon Horman

ARM: shmobile: Introduce shmobile_boot_size

Introduce shmobile_boot_size that can be used by
future SMP code to determine the size of the boot
code that needs to be copied to internal SRAM.
Signed-off-by: NMagnus Damm <damm@opensource.se>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 87a08ca0
...@@ -40,6 +40,9 @@ shmobile_boot_fn: ...@@ -40,6 +40,9 @@ shmobile_boot_fn:
.globl shmobile_boot_arg .globl shmobile_boot_arg
shmobile_boot_arg: shmobile_boot_arg:
2: .space 4 2: .space 4
.globl shmobile_boot_size
shmobile_boot_size:
.long . - shmobile_boot_vector
/* /*
* Per-CPU SMP boot function/argument selection code based on MPIDR * Per-CPU SMP boot function/argument selection code based on MPIDR
......
...@@ -9,6 +9,7 @@ extern void shmobile_setup_console(void); ...@@ -9,6 +9,7 @@ extern void shmobile_setup_console(void);
extern void shmobile_boot_vector(void); extern void shmobile_boot_vector(void);
extern unsigned long shmobile_boot_fn; extern unsigned long shmobile_boot_fn;
extern unsigned long shmobile_boot_arg; extern unsigned long shmobile_boot_arg;
extern unsigned long shmobile_boot_size;
extern void shmobile_smp_boot(void); extern void shmobile_smp_boot(void);
extern void shmobile_smp_sleep(void); extern void shmobile_smp_sleep(void);
extern void shmobile_smp_hook(unsigned int cpu, unsigned long fn, extern void shmobile_smp_hook(unsigned int cpu, unsigned long fn,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册