/Zephyr-latest/cmake/compiler/gcc/ |
D | compiler_flags.cmake | 177 check_set_compiler_property(APPEND PROPERTY security_canaries -mstack-protector-guard=tls) 178 check_set_compiler_property(APPEND PROPERTY security_canaries_strong -mstack-protector-guard=tls) 179 check_set_compiler_property(APPEND PROPERTY security_canaries_all -mstack-protector-guard=tls) 180 …check_set_compiler_property(APPEND PROPERTY security_canaries_explicit -mstack-protector-guard=tls) 182 check_set_compiler_property(APPEND PROPERTY security_canaries -mstack-protector-guard=global) 183 …check_set_compiler_property(APPEND PROPERTY security_canaries_global -mstack-protector-guard=globa… 184 check_set_compiler_property(APPEND PROPERTY security_canaries_all -mstack-protector-guard=global) 185 …check_set_compiler_property(APPEND PROPERTY security_canaries_explicit -mstack-protector-guard=glo…
|
/Zephyr-latest/dts/arm/microchip/mec5/ |
D | mec5_power_guards.dtsi | 7 /* Microchip MEC5 SoC's optional hardware power guard controllers
|
/Zephyr-latest/drivers/counter/ |
D | counter_rpi_pico_timer.c | 146 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 151 __ASSERT_NO_MSG(guard < counter_rpi_pico_timer_get_top_value(dev)); in counter_rpi_pico_timer_set_guard_period() 153 data->guard_period = guard; in counter_rpi_pico_timer_set_guard_period()
|
D | counter_nxp_s32_sys_timer.c | 300 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()
|
D | counter_smartbond_timer.c | 397 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()
|
D | counter_ifx_cat1.c | 475 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()
|
D | counter_nrfx_timer.c | 322 static int set_guard_period(const struct device *dev, uint32_t guard, in set_guard_period() argument 327 __ASSERT_NO_MSG(guard < get_top_value(dev)); in set_guard_period() 329 data->guard_period = guard; in set_guard_period()
|
D | counter_gd32_timer.c | 372 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()
|
D | counter_ll_stm32_timer.c | 521 static int counter_stm32_set_guard_period(const struct device *dev, uint32_t guard, in counter_stm32_set_guard_period() argument 527 __ASSERT_NO_MSG(guard < counter_stm32_get_top_value(dev)); in counter_stm32_set_guard_period() 529 data->guard_period = guard; in counter_stm32_set_guard_period()
|
D | counter_renesas_ra_agt.c | 350 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()
|
D | counter_nrfx_rtc.c | 592 static int set_guard_period(const struct device *dev, uint32_t guard, in set_guard_period() argument 597 data->guard_period = guard; in set_guard_period()
|
/Zephyr-latest/tests/drivers/counter/maxim_ds3231_api/src/ |
D | test_counter.c | 527 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/ |
D | Kconfig | 25 If your core supports that, it is preferred over MPU stack guard.
|
/Zephyr-latest/doc/kernel/usermode/ |
D | mpu_userspace.rst | 19 guard (if applicable).
|
D | mpu_stack_objects.rst | 30 occur, a fault ensues. The stack guard is defined at the bottom (the lowest
|
/Zephyr-latest/tests/drivers/counter/counter_basic_api/src/ |
D | test_counter.c | 791 uint32_t guard = counter_us_to_ticks(dev, 200); in test_late_alarm_instance() local 799 err = counter_set_guard_period(dev, guard, in test_late_alarm_instance() 843 uint32_t guard = counter_us_to_ticks(dev, 200); in test_late_alarm_error_instance() local 850 err = counter_set_guard_period(dev, guard, in test_late_alarm_error_instance() 877 uint32_t guard = counter_get_guard_period(dev, in late_detection_capable() local 879 int err = counter_set_guard_period(dev, guard, in late_detection_capable()
|
/Zephyr-latest/arch/arm/core/mpu/ |
D | Kconfig | 32 guard, user thread stack, and application memory domains), if the 76 Floating Point (FP) context. The width of the guard is set to
|
/Zephyr-latest/doc/hardware/porting/ |
D | arch.rst | 585 * 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/ |
D | Kconfig | 208 - 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/arm64/core/cortex_r/ |
D | Kconfig | 27 guard, user thread stack, and application memory domains), if the
|
/Zephyr-latest/arch/x86/core/ |
D | Kconfig.intel64 | 83 by preceding all stack areas with a 4K guard page.
|
/Zephyr-latest/lib/posix/options/ |
D | Kconfig.pthread | 130 int "Default size of stack guard area" 138 facilitate a more dynamic approach to guard areas (via software or
|
/Zephyr-latest/subsys/ipc/ipc_service/lib/ |
D | Kconfig.icmsg | 11 multiple contexts. Mutex is used to guard access to the memory.
|
/Zephyr-latest/arch/arc/ |
D | Kconfig | 240 - 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/arch/riscv/ |
D | Kconfig | 369 The Hardware Stack Protection implements a guard area at the bottom 371 guard area not accessible. 373 This is the size of the guard area. This should be large enough to
|