mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
b2c074bb70
When porting an RTOS to the Xtensa architecture, there are a few files that are common to all Xtensa RTOS ports. These files form the Xtensa RTOS porting layer (e.g., "xtensa_vectors.S", "xtensa_context.S"). An Xtensa RTOS port is expected to provide an RTOS specific "xtensa_rtos.h" header to interface with the Xtensa RTOS porting layer. Previously, the Xtensa RTOS porting layer files were placed in the FreeRTOS component. This commit does the following: 1. Moves the Xtensa RTOS porting layer files from the `freertos` component to the `xtensa` component. The following files were moved: - xtensa_asm_utils.h - xtensa_context.S - xtensa_loadstore_handler.S - xtensa_vectors.S 2. Refactored xtensa component include paths to separate Xtensa RTOS porting layer headers. - Xtensa HAL headers included via `#include <xtensa/...h>` - Xtensa RTOS porting layer headers included via `#include <...h>` Note: The xtensa files in the Amazon SMP FreeRTOS port are not moved/deleted in this commit to ensure the moved files retain a clean diff history.
12 lines
335 B
C
12 lines
335 B
C
/*
|
|
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/* This header file has been moved, thus `#include <freertos/xtensa_context.h>` is deprecated. Please use `#include <xtensa_context.h>` instead */
|
|
/* Todo: IDF-7230 */
|
|
#include <xtensa/xtensa_context.h>
|