Home
last modified time | relevance | path

Searched refs:guard (Results 1 – 25 of 48) sorted by relevance

12

/Zephyr-latest/cmake/compiler/gcc/
Dcompiler_flags.cmake178 check_set_compiler_property(APPEND PROPERTY security_canaries -mstack-protector-guard=tls)
179 check_set_compiler_property(APPEND PROPERTY security_canaries_strong -mstack-protector-guard=tls)
180 check_set_compiler_property(APPEND PROPERTY security_canaries_all -mstack-protector-guard=tls)
181 …check_set_compiler_property(APPEND PROPERTY security_canaries_explicit -mstack-protector-guard=tls)
183 check_set_compiler_property(APPEND PROPERTY security_canaries -mstack-protector-guard=global)
184 …check_set_compiler_property(APPEND PROPERTY security_canaries_global -mstack-protector-guard=globa…
185 check_set_compiler_property(APPEND PROPERTY security_canaries_all -mstack-protector-guard=global)
186 …check_set_compiler_property(APPEND PROPERTY security_canaries_explicit -mstack-protector-guard=glo…
/Zephyr-latest/dts/arm/microchip/mec5/
Dmec5_power_guards.dtsi7 /* Microchip MEC5 SoC's optional hardware power guard controllers
/Zephyr-latest/drivers/counter/
Dcounter_rpi_pico_timer.c148 static int counter_rpi_pico_timer_set_guard_period(const struct device *dev, uint32_t guard, in counter_rpi_pico_timer_set_guard_period() argument
153 __ASSERT_NO_MSG(guard < counter_rpi_pico_timer_get_top_value(dev)); in counter_rpi_pico_timer_set_guard_period()
155 data->guard_period = guard; in counter_rpi_pico_timer_set_guard_period()
Dcounter_nxp_s32_sys_timer.c300 static int nxp_s32_sys_timer_set_guard_period(const struct device *dev, uint32_t guard, in nxp_s32_sys_timer_set_guard_period() argument
307 __ASSERT_NO_MSG(guard < nxp_s32_sys_timer_get_top_value(dev)); in nxp_s32_sys_timer_set_guard_period()
308 data->guard_period = guard; in nxp_s32_sys_timer_set_guard_period()
Dcounter_smartbond_timer.c397 static int counter_smartbond_set_guard_period(const struct device *dev, uint32_t guard, in counter_smartbond_set_guard_period() argument
403 __ASSERT_NO_MSG(guard < counter_smartbond_get_top_value(dev)); in counter_smartbond_set_guard_period()
405 data->guard_period = guard; in counter_smartbond_set_guard_period()
Dcounter_ifx_cat1.c475 static int ifx_cat1_counter_set_guard_period(const struct device *dev, uint32_t guard, in ifx_cat1_counter_set_guard_period() argument
480 __ASSERT_NO_MSG(guard < ifx_cat1_counter_get_top_value(dev)); in ifx_cat1_counter_set_guard_period()
484 data->guard_period = guard; in ifx_cat1_counter_set_guard_period()
Dcounter_nrfx_timer.c374 static int set_guard_period(const struct device *dev, uint32_t guard, in set_guard_period() argument
379 __ASSERT_NO_MSG(guard < get_top_value(dev)); in set_guard_period()
381 data->guard_period = guard; in set_guard_period()
Dcounter_gd32_timer.c372 uint32_t guard, uint32_t flags) in counter_gd32_timer_set_guard_period() argument
376 __ASSERT_NO_MSG(guard < counter_gd32_timer_get_top_value(dev)); in counter_gd32_timer_set_guard_period()
378 data->guard_period = guard; in counter_gd32_timer_set_guard_period()
Dcounter_renesas_rz_gtm.c473 static int counter_rz_gtm_set_guard_period(const struct device *dev, uint32_t guard, uint32_t flags) in counter_rz_gtm_set_guard_period() argument
478 __ASSERT_NO_MSG(guard < counter_rz_gtm_get_top_value(dev)); in counter_rz_gtm_set_guard_period()
480 data->guard_period = guard; in counter_rz_gtm_set_guard_period()
Dcounter_ll_stm32_timer.c524 static int counter_stm32_set_guard_period(const struct device *dev, uint32_t guard, in counter_stm32_set_guard_period() argument
530 __ASSERT_NO_MSG(guard < counter_stm32_get_top_value(dev)); in counter_stm32_set_guard_period()
532 data->guard_period = guard; in counter_stm32_set_guard_period()
Dcounter_renesas_ra_agt.c350 static int counter_ra_agt_set_guard_period(const struct device *dev, uint32_t guard, uint32_t flags) in counter_ra_agt_set_guard_period() argument
354 if (counter_ra_agt_get_top_value(dev) < guard) { in counter_ra_agt_set_guard_period()
359 data->guard_period = guard; in counter_ra_agt_set_guard_period()
/Zephyr-latest/tests/drivers/counter/maxim_ds3231_api/src/
Dtest_counter.c527 uint32_t guard = counter_us_to_ticks(dev, 200); in test_late_alarm_instance() local
535 err = counter_set_guard_period(dev, guard, in test_late_alarm_instance()
577 uint32_t guard = counter_us_to_ticks(dev, 200); in test_late_alarm_error_instance() local
584 err = counter_set_guard_period(dev, guard, in test_late_alarm_error_instance()
611 uint32_t guard = counter_get_guard_period(dev, in late_detection_capable() local
613 int err = counter_set_guard_period(dev, guard, in late_detection_capable()
/Zephyr-latest/arch/arc/core/mpu/
DKconfig25 If your core supports that, it is preferred over MPU stack guard.
/Zephyr-latest/doc/kernel/usermode/
Dmpu_userspace.rst19 guard (if applicable).
Dmpu_stack_objects.rst30 occur, a fault ensues. The stack guard is defined at the bottom (the lowest
/Zephyr-latest/tests/drivers/counter/counter_basic_api/src/
Dtest_counter.c794 uint32_t guard = counter_us_to_ticks(dev, 200); in test_late_alarm_instance() local
802 err = counter_set_guard_period(dev, guard, in test_late_alarm_instance()
846 uint32_t guard = counter_us_to_ticks(dev, 200); in test_late_alarm_error_instance() local
853 err = counter_set_guard_period(dev, guard, in test_late_alarm_error_instance()
880 uint32_t guard = counter_get_guard_period(dev, in late_detection_capable() local
882 int err = counter_set_guard_period(dev, guard, in late_detection_capable()
/Zephyr-latest/doc/hardware/porting/
Darch.rst585 * For systems that implement stack protection using a guard memory region,
586 it's possible to overshoot the guard and corrupt adjacent data structures
594 CPU features for this purpose, or special read-only guard regions immediately
624 on write. Reserved memory will be used for the guard region.
631 MMU-based systems should not reserve RAM for the guard region and instead
650 the guard is unnecessary and shouldn't be unconditionally reserved.
654 * The required guard size is variable and depends on context. For example, some
657 completely overshooting a minimally-sized guard and corrupting adjacent
658 memory. Rather than unconditionally reserving a larger guard, the extra
669 system calls. If stack guards are implemented, a stack guard region must
[all …]
/Zephyr-latest/arch/arm/core/
DKconfig208 - the MPU-based stack guard
211 The two stack guard options are mutually exclusive. The
213 prioritized over the MPU-based stack guard. The developer
215 stack guard, if this is desired.
/Zephyr-latest/arch/arm/core/mpu/
DKconfig36 Floating Point (FP) context. The width of the guard is set to
/Zephyr-latest/arch/x86/core/
DKconfig.intel6483 by preceding all stack areas with a 4K guard page.
/Zephyr-latest/lib/posix/options/
DKconfig.pthread130 int "Default size of stack guard area"
138 facilitate a more dynamic approach to guard areas (via software or
/Zephyr-latest/tests/subsys/ipc/ipc_sessions/interoperability/
DKconfig.icmsg_v111 multiple contexts. Mutex is used to guard access to the memory.
/Zephyr-latest/arch/common/
DKconfig53 guard, user thread stack, and application memory domains), if the
/Zephyr-latest/arch/arc/
DKconfig240 - the MPU-based stack guard
243 The two stack guard options are mutually exclusive. The
245 prioritized over the MPU-based stack guard.
/Zephyr-latest/subsys/ipc/ipc_service/lib/
DKconfig.icmsg11 multiple contexts. Mutex is used to guard access to the memory.

12