The Xtensa implementation of arch_irq_offload() required that the user select the correct interrupt manually, and would race with itself if invoked from separate CPUs (it was saved here by the main irq_offload() function which has a semaphore to serialize access). Use the new gen_zsr.py script to automatically detect the highest available software interrupt, and keep a per-CPU set of callback/parameter pointers. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
20 lines
348 B
Plaintext
20 lines
348 B
Plaintext
# XTENSA board configuration
|
|
|
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
# Copyright (c) 2016 Cadence Design Systems, Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SOC_XTENSA_SAMPLE_CONTROLLER
|
|
|
|
config SOC
|
|
default "sample_controller"
|
|
|
|
config SOC_TOOLCHAIN_NAME
|
|
string
|
|
default "sample_controller"
|
|
|
|
config LOG_BACKEND_XTENSA_SIM
|
|
default LOG
|
|
|
|
endif
|