Home
last modified time | relevance | path

Searched refs:core (Results 1 – 25 of 43) sorted by relevance

12

/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dmemprot_ll.h143 static inline memprot_hal_err_t memprot_ll_iram0_get_intr_source_num(const int core, uint32_t* src_… in memprot_ll_iram0_get_intr_source_num() argument
145 switch (core) { in memprot_ll_iram0_get_intr_source_num()
383 static inline memprot_hal_err_t memprot_ll_iram0_set_monitor_lock(const int core) in memprot_ll_iram0_set_monitor_lock() argument
385 switch (core) { in memprot_ll_iram0_set_monitor_lock()
405 static inline memprot_hal_err_t memprot_ll_iram0_get_monitor_lock(const int core, bool* locked) in memprot_ll_iram0_get_monitor_lock() argument
407 switch (core) { in memprot_ll_iram0_get_monitor_lock()
422 static inline memprot_hal_err_t memprot_ll_iram0_set_monitor_en(const int core, const bool enable) in memprot_ll_iram0_set_monitor_en() argument
424 switch (core) { in memprot_ll_iram0_set_monitor_en()
458 static inline memprot_hal_err_t memprot_ll_iram0_get_monitor_en(const int core, bool* enabled) in memprot_ll_iram0_get_monitor_en() argument
460 switch (core) { in memprot_ll_iram0_get_monitor_en()
[all …]
/hal_espressif-latest/components/esp_hw_support/include/esp_private/
Desp_memprot_internal.h62 …rot_mem_t mem_type, const esp_mprot_split_addr_t line_type, const void *line_addr, const int core);
79 …sp_mprot_mem_t mem_type, const esp_mprot_split_addr_t line_type, void **line_addr, const int core);
103 esp_err_t esp_mprot_set_split_addr_lock(const esp_mprot_mem_t mem_type, const int core);
116 …_err_t esp_mprot_get_split_addr_lock(const esp_mprot_mem_t mem_type, bool *locked, const int core);
128 esp_err_t esp_mprot_set_pms_lock(const esp_mprot_mem_t mem_type, const int core);
141 esp_err_t esp_mprot_get_pms_lock(const esp_mprot_mem_t mem_type, bool *locked, const int core);
153 …esp_mprot_set_pms_area(const esp_mprot_pms_area_t area_type, const uint32_t flags, const int core);
166 …rr_t esp_mprot_get_pms_area(const esp_mprot_pms_area_t area_type, uint32_t *flags, const int core);
179 esp_err_t esp_mprot_set_monitor_lock(const esp_mprot_mem_t mem_type, const int core);
192 esp_err_t esp_mprot_get_monitor_lock(const esp_mprot_mem_t mem_type, bool *locked, const int core);
[all …]
/hal_espressif-latest/components/esp_hw_support/port/esp32s3/
Desp_memprot.c39 static esp_err_t esp_mprot_cpuid_valid(const int core) in esp_mprot_cpuid_valid() argument
42 if (core == s_memp_cfg.target_cpu[x]) { in esp_mprot_cpuid_valid()
67 static esp_err_t esp_mprot_set_intr_matrix(const esp_mprot_mem_t mem_type, const int core) in esp_mprot_set_intr_matrix() argument
76 …_CHECK(err, esp_mprot_ll_err_to_esp_err(memprot_ll_iram0_get_intr_source_num(core, &intr_src_num))) in esp_mprot_set_intr_matrix()
77 esp_rom_route_intr_matrix(core, intr_src_num, ETS_MEMACCESS_ERR_INUM); in esp_mprot_set_intr_matrix()
80 …_CHECK(err, esp_mprot_ll_err_to_esp_err(memprot_ll_dram0_get_intr_source_num(core, &intr_src_num))) in esp_mprot_set_intr_matrix()
81 esp_rom_route_intr_matrix(core, intr_src_num, ETS_MEMACCESS_ERR_INUM); in esp_mprot_set_intr_matrix()
84 …HECK(err, esp_mprot_ll_err_to_esp_err(memprot_ll_rtcfast_get_intr_source_num(core, &intr_src_num))) in esp_mprot_set_intr_matrix()
85 esp_rom_route_intr_matrix(core, intr_src_num, ETS_MEMACCESS_ERR_INUM); in esp_mprot_set_intr_matrix()
100 … const esp_mprot_split_addr_t line_type, const void *line_addr, const int core __attribute__((unus… in esp_mprot_set_split_addr() argument
[all …]
/hal_espressif-latest/components/esp_hw_support/include/hal/
Dsoc_hal.h29 #define soc_hal_stall_core(core) soc_ll_stall_core(core) argument
39 #define soc_hal_unstall_core(core) soc_ll_unstall_core(core) argument
47 #define soc_hal_reset_core(core) soc_ll_reset_core((core)) argument
Dsoc_ll.h20 FORCE_INLINE_ATTR __attribute__((deprecated)) void soc_ll_stall_core(int core) in soc_ll_stall_core() argument
22 esp_cpu_stall(core); in soc_ll_stall_core()
25 FORCE_INLINE_ATTR __attribute__((deprecated)) void soc_ll_unstall_core(int core) in soc_ll_unstall_core() argument
27 esp_cpu_unstall(core); in soc_ll_unstall_core()
30 FORCE_INLINE_ATTR __attribute__((deprecated)) void soc_ll_reset_core(int core) in soc_ll_reset_core() argument
32 esp_cpu_reset(core); in soc_ll_reset_core()
/hal_espressif-latest/components/esp_system/port/arch/riscv/
Dpanic_arch.c170 if (s_memp_intr.mem_type == MEMPROT_TYPE_INVALID && s_memp_intr.core == -1) { in print_memprot_err_details()
181 …esp_err_t res = esp_mprot_get_violate_addr(s_memp_intr.mem_type, &faulting_addr, s_memp_intr.core); in print_memprot_err_details()
191 res = esp_mprot_get_violate_world(s_memp_intr.mem_type, &world, s_memp_intr.core); in print_memprot_err_details()
200 res = esp_mprot_get_violate_operation(s_memp_intr.mem_type, &operation, s_memp_intr.core); in print_memprot_err_details()
210 … res = esp_mprot_get_violate_byte_enables(s_memp_intr.mem_type, &byte_enables, s_memp_intr.core); in print_memprot_err_details()
222 void panic_print_registers(const void *f, int core) in panic_print_registers() argument
285 info->core = esp_cache_err_get_cpuid(); in panic_soc_fill_info()
293 const int core = esp_cache_err_get_cpuid(); in panic_soc_fill_info() local
294 info->core = core; in panic_soc_fill_info()
301 info->reason = pseudo_reason[PANIC_RSN_INTWDT_CPU0 + core]; in panic_soc_fill_info()
[all …]
/hal_espressif-latest/components/esp_hw_support/include/
Desp_memprot.h36 int core; /*!< CPU/Core ID running the faulting instruction */ member
54 esp_err_t esp_mprot_monitor_clear_intr(const esp_mprot_mem_t mem_type, const int core);
107 …rr_t esp_mprot_get_violate_addr(const esp_mprot_mem_t mem_type, void **fault_addr, const int core);
123 …ot_get_violate_world(const esp_mprot_mem_t mem_type, esp_mprot_pms_world_t *world, const int core);
139 …_t esp_mprot_get_violate_operation(const esp_mprot_mem_t mem_type, uint32_t *oper, const int core);
165 …_mprot_get_violate_byte_enables(const esp_mprot_mem_t mem_type, uint32_t *byte_en, const int core);
/hal_espressif-latest/components/esp_system/port/arch/xtensa/
Dpanic_arch.c34 void panic_print_registers(const void *f, int core) in panic_print_registers() argument
50 panic_print_dec(core); in panic_print_registers()
68 && ((core == 0 && frame->exccause == PANIC_RSN_INTWDT_CPU0) || in panic_print_registers()
69 (core == 1 && frame->exccause == PANIC_RSN_INTWDT_CPU1)) in panic_print_registers()
77 panic_print_dec(core); in panic_print_registers()
141 int core = 0; in print_debug_exception_details() local
145 core = 1; in print_debug_exception_details()
149 const char *name = pcTaskGetName(xTaskGetCurrentTaskHandleForCPU(core)); in print_debug_exception_details()
401 info->core = 0; in panic_soc_fill_info()
404 info->core = 1; in panic_soc_fill_info()
[all …]
/hal_espressif-latest/components/esp_system/
Dfreertos_hooks.c34 int core = xPortGetCoreID(); in esp_vApplicationTickHook() local
36 if (tick_cb[core][n]!=NULL) { in esp_vApplicationTickHook()
37 tick_cb[core][n](); in esp_vApplicationTickHook()
45 int core = xPortGetCoreID(); in esp_vApplicationIdleHook() local
47 if (idle_cb[core][n] != NULL && !idle_cb[core][n]()) { in esp_vApplicationIdleHook()
DKconfig64 Only initialize and use the main core.
185 prompt "Main task core affinity"
188 Configure the "main task" core affinity. This is the used core of the task
585 …Configure the IPC tasks stack size. An IPC task runs on each core (in dual core mode), and allows …
586 …cross-core function calls. See IPC documentation for more details. The default IPC stack size shou…
/hal_espressif-latest/components/esp_hw_support/port/esp32c3/
Desp_memprot.c39 … const esp_mprot_split_addr_t line_type, const void *line_addr, const int core __attribute__((unus… in esp_mprot_set_split_addr() argument
75 …type, const esp_mprot_split_addr_t line_type, void **line_addr, const int core __attribute__((unus… in esp_mprot_get_split_addr() argument
145 esp_err_t esp_mprot_set_split_addr_lock(const esp_mprot_mem_t mem_type, const int core __attribute_… in esp_mprot_set_split_addr_lock() argument
163 …t_split_addr_lock(const esp_mprot_mem_t mem_type, bool *locked, const int core __attribute__((unus… in esp_mprot_get_split_addr_lock() argument
184 esp_err_t esp_mprot_set_pms_lock(const esp_mprot_mem_t mem_type, const int core __attribute__((unus… in esp_mprot_set_pms_lock() argument
204 esp_err_t esp_mprot_get_pms_lock(const esp_mprot_mem_t mem_type, bool *locked, const int core __att… in esp_mprot_get_pms_lock() argument
227 …rea(const esp_mprot_pms_area_t area_type, const uint32_t flags, const int core __attribute__((unus… in esp_mprot_set_pms_area() argument
271 …pms_area(const esp_mprot_pms_area_t area_type, uint32_t *flags, const int core __attribute__((unus… in esp_mprot_get_pms_area() argument
330 esp_err_t esp_mprot_set_monitor_lock(const esp_mprot_mem_t mem_type, const int core __attribute__((… in esp_mprot_set_monitor_lock() argument
349 esp_err_t esp_mprot_get_monitor_lock(const esp_mprot_mem_t mem_type, bool *locked, const int core _… in esp_mprot_get_monitor_lock() argument
[all …]
/hal_espressif-latest/components/esp_system/include/esp_private/
Dpanic_internal.h45 int core; // core which triggered panic member
78 void panic_print_registers(const void *frame, int core);
80 void panic_print_backtrace(const void *frame, int core);
/hal_espressif-latest/components/esp_system/port/
Dpanic_handler.c59 static void print_state_for_core(const void *f, int core) argument
71 panic_print_registers(f, core);
74 panic_print_backtrace(f, core);
103 info->core = esp_cpu_get_core_id();
Dcpu_start.c297 for (unsigned core = 1; core < SOC_CPU_CORES_NUM; core++) { in do_multicore_settings() local
299 cache_ll_l1_enable_bus(core, cache_bus_mask_core0); in do_multicore_settings()
/hal_espressif-latest/components/esp_hw_support/
DREADME.md9 … also be placed here as long as they don't pull dependencies other than the core system components.
17 * The **core** driver, which focuses on ETM channel allocation and offers APIs to connect the chann…
18 …y, the task and event extensions will simply inherit the interface that defined in the core driver.
/hal_espressif-latest/components/esp_timer/
DKconfig57 prompt "esp_timer task core affinity"
84 prompt "timer interrupt core affinity"
94 running on every core. It increases the CPU time usage for timer ISRs
95 by N on an N-core system.
/hal_espressif-latest/components/bt/common/osi/
Dthread.c206 …eate(const char *name, size_t stack_size, int priority, osi_thread_core_t core, uint8_t work_queue… in osi_thread_create() argument
212 core < OSI_THREAD_CORE_0 || core > OSI_THREAD_CORE_AFFINITY || in osi_thread_create()
253 …(osi_thread_run, name, stack_size, &start_arg, priority, &thread->thread_handle, core) != pdPASS) { in osi_thread_create()
/hal_espressif-latest/components/esp_wifi/
DCMakeLists.txt69 set(blobs core espnow net80211 pp smartconfig)
71 set(blobs core espnow mesh net80211 pp smartconfig wapi)
/hal_espressif-latest/components/bt/
DCMakeLists.txt64 list(APPEND srcs "common/btc/core/btc_alarm.c"
67 "common/btc/core/btc_manage.c"
68 "common/btc/core/btc_task.c"
215 "host/bluedroid/btc/core/btc_ble_storage.c"
216 "host/bluedroid/btc/core/btc_config.c"
217 "host/bluedroid/btc/core/btc_dev.c"
218 "host/bluedroid/btc/core/btc_dm.c"
219 "host/bluedroid/btc/core/btc_main.c"
220 "host/bluedroid/btc/core/btc_profile_queue.c"
221 "host/bluedroid/btc/core/btc_sec.c"
[all …]
/hal_espressif-latest/components/bt/common/osi/include/osi/
Dthread.h44 …eate(const char *name, size_t stack_size, int priority, osi_thread_core_t core, uint8_t work_queue…
/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/
Doutput_helpers.py34 from runners.core import BuildConfiguration # noqa: E402
/hal_espressif-latest/components/heap/
Dinternals.md3 …on of the IRAM section of memory without impacting the performance of its core functionalities. Fo…
/hal_espressif-latest/west/
Dtools.py30 from runners.core import BuildConfiguration # noqa: E402
/hal_espressif-latest/components/hal/
DREADME.md9 …g with/driving the hardware found in the SoC such as the peripherals and 'core' hardware such as t…
/hal_espressif-latest/components/esp_system/port/soc/esp32/
DKconfig.memory11 can be accessed only by PRO_CPU core.

12