mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(mspi): split dma and mspi alignment
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -47,15 +47,13 @@ size_t esp_psram_get_size(void);
|
||||
*
|
||||
* When @c CONFIG_SPIRAM_ENC_EXEMPT is enabled, esp_psram reserves a region of PSRAM
|
||||
* that is mapped without encryption and exposed through the @c MALLOC_CAP_SPIRAM_NO_ENC
|
||||
* heap capability. This function lets drivers verify whether a buffer returned by the
|
||||
* heap allocator actually lives in that unencrypted region — useful for example after
|
||||
* a @c heap_caps_malloc_prefer() call that may have fallen back to encrypted PSRAM.
|
||||
* heap capability.
|
||||
*
|
||||
* @param[in] p The pointer to check
|
||||
*
|
||||
* @return
|
||||
* - true: the pointer is within the unencrypted PSRAM carve-out
|
||||
* - false: the pointer is not in the carve-out, PSRAM is not initialized,
|
||||
* - true: The pointer is within the unencrypted PSRAM carve-out
|
||||
* - false: The pointer is not in the carve-out, PSRAM is not initialized,
|
||||
* or @c CONFIG_SPIRAM_ENC_EXEMPT is disabled
|
||||
*/
|
||||
bool esp_psram_ptr_is_no_enc(const void *p);
|
||||
|
||||
Reference in New Issue
Block a user