You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
403 B
24 lines
403 B
/*
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2022-12-07 RT-Thread the first version
|
|
*/
|
|
|
|
#include <rthw.h>
|
|
#include <rtthread.h>
|
|
#include "board.h"
|
|
|
|
void init_bss(void)
|
|
{
|
|
unsigned int *dst;
|
|
|
|
dst = &__bss_start;
|
|
while (dst < &__bss_end)
|
|
{
|
|
*dst++ = 0;
|
|
}
|
|
}
|
|
|