Browse Source
This extends the smp_boot_delay test to test the newly introduced function k_smp_cpu_custom_start(). Signed-off-by: Daniel Leung <daniel.leung@intel.com>pull/68287/head
4 changed files with 89 additions and 5 deletions
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2023 Intel Corporation |
||||
# |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
CONFIG_MP_MAX_NUM_CPUS=4 |
@ -0,0 +1,23 @@
@@ -0,0 +1,23 @@
|
||||
/* |
||||
* Copyright (c) 2023 Intel Corporation |
||||
* |
||||
* SPDX-License-Identifier: Apache-2.0 |
||||
*/ |
||||
|
||||
/ { |
||||
cpus { |
||||
cpu@2 { |
||||
device_type = "cpu"; |
||||
compatible = "intel,x86"; |
||||
d-cache-line-size = <64>; |
||||
reg = <2>; |
||||
}; |
||||
|
||||
cpu@3 { |
||||
device_type = "cpu"; |
||||
compatible = "intel,x86"; |
||||
d-cache-line-size = <64>; |
||||
reg = <3>; |
||||
}; |
||||
}; |
||||
}; |
@ -1,3 +1,4 @@
@@ -1,3 +1,4 @@
|
||||
CONFIG_ZTEST=y |
||||
CONFIG_SMP=y |
||||
CONFIG_SMP_BOOT_DELAY=y |
||||
CONFIG_SCHED_CPU_MASK=y |
||||
|
Loading…
Reference in new issue