Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / mips / include / asm / mips-boards / launch.h
blobf93aa5ee2e2e36b864b7722f1be0bad022276382
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
4 */
6 #ifndef _ASSEMBLER_
8 struct cpulaunch {
9 unsigned long pc;
10 unsigned long gp;
11 unsigned long sp;
12 unsigned long a0;
13 unsigned long _pad[3]; /* pad to cache line size to avoid thrashing */
14 unsigned long flags;
17 #else
19 #define LOG2CPULAUNCH 5
20 #define LAUNCH_PC 0
21 #define LAUNCH_GP 4
22 #define LAUNCH_SP 8
23 #define LAUNCH_A0 12
24 #define LAUNCH_FLAGS 28
26 #endif
28 #define LAUNCH_FREADY 1
29 #define LAUNCH_FGO 2
30 #define LAUNCH_FGONE 4
32 #define CPULAUNCH 0x00000f00
33 #define NCPULAUNCH 8
35 /* Polling period in count cycles for secondary CPU's */
36 #define LAUNCHPERIOD 10000