1 /*
2  * Copyright (c) 2006-2022, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2022-12-07     RT-Thread    the first version
9  */
10 
11 #include <rthw.h>
12 #include <rtthread.h>
13 #include "board.h"
14 
init_bss(void)15 void init_bss(void)
16 {
17     unsigned int *dst;
18 
19     dst = &__bss_start;
20     while (dst < &__bss_end)
21     {
22         *dst++ = 0;
23     }
24 }
25