summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2019-10-27 10:26:13 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2019-10-27 10:26:13 +0000
commit47938736fd800fbdd3da1d4322a7a01cf114e51c (patch)
treee9fe28ac83b16d57984733b48cec967873efd637 /sys/arch/arm/include
parentac93721b54e414827cbd273b25f3d7acc5e5272d (diff)
Add code to spin up secondary CPUs.
ok jsg@
Diffstat (limited to 'sys/arch/arm/include')
-rw-r--r--sys/arch/arm/include/cpu.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/arm/include/cpu.h b/sys/arch/arm/include/cpu.h
index 445dd08b241..9abc40f44fd 100644
--- a/sys/arch/arm/include/cpu.h
+++ b/sys/arch/arm/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.55 2019/09/30 21:48:32 kettenis Exp $ */
+/* $OpenBSD: cpu.h,v 1.56 2019/10/27 10:26:12 kettenis Exp $ */
/* $NetBSD: cpu.h,v 1.34 2003/06/23 11:01:08 martin Exp $ */
/*
@@ -185,6 +185,12 @@ struct cpu_info {
#ifdef MULTIPROCESSOR
struct srp_hazard ci_srp_hazards[SRP_HAZARD_NUM];
+ volatile int ci_flags;
+ uint32_t ci_ttbr0;
+ vaddr_t ci_pl1_stkend;
+ vaddr_t ci_irq_stkend;
+ vaddr_t ci_abt_stkend;
+ vaddr_t ci_und_stkend;
#endif
#ifdef GPROF
@@ -311,6 +317,8 @@ intr_restore(u_long cpsr)
__asm volatile ("msr cpsr_c, %0" :: "r"(cpsr));
}
+void cpu_startclock(void);
+
#endif /* _KERNEL */
#ifdef MULTIPROCESSOR