Function esp32_hal::xtensa_lx_rt::zero_bss
source · pub unsafe fn zero_bss<T>(sbss: *mut T, ebss: *mut T)where
T: Word,
Expand description
Zeroes the .bss
section.
§Arguments
sbss
: Pointer to the start of the.bss
section in RAM.ebss
: Pointer to the open/non-inclusive end of the.bss
section in RAM (the value behind this pointer will not be modified).- Use
T
to indicate the alignment of the.bss
section.
§Safety
- Must be called exactly once, before the application has started.
ebss >= sbss
.sbss
andebss
must beT
aligned.