XIZI_AIoT: Add modifications for all SDK files. Add libmalloc interfaces(not functional)

This commit is contained in:
TXuian
2024-02-02 11:10:55 +08:00
parent c7529f1702
commit 6942ad6d1d
51 changed files with 2010 additions and 1665 deletions
@@ -25,7 +25,7 @@
* @brief handle program abort
* @version 3.0
* @author AIIT XUOS Lab
* @date 2024.11.23
* @date 2023.11.23
*/
/*************************************************
@@ -33,10 +33,11 @@ File name: error_debug.c
Description: handle program abort
Others:
History:
1. Date: 2024-11-23
1. Date: 2023-11-23
Author: AIIT XUOS Lab
Modification:
1. first version
1. Take only armv7 abort reason part.
2. Modify iabort and dabort handler
*************************************************/
#include "core.h"
#include "memlayout.h"
@@ -27,6 +27,17 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
* Copyright (c) 2020 AIIT XUOS Lab
* XiUOS is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
* http://license.coscl.org.cn/MulanPSL2
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PSL v2 for more details.
*/
/**
* @file gicv2_common_opa.c
* @brief gicv2 operation
@@ -43,6 +54,7 @@ History:
1. Date: 2023-08-28
Author: AIIT XUOS Lab
Modification:
1. Rename file
*************************************************/
#pragma once
@@ -43,7 +43,7 @@ History:
1. Date: 2023-08-28
Author: AIIT XUOS Lab
Modification:
1. take only gicd part
1. take only gicd part of functions
*************************************************/
#include "gicv2_common_opa.h"
#include "gicv2_registers.h"
@@ -43,7 +43,7 @@ History:
1. Date: 2023-08-28
Author: AIIT XUOS Lab
Modification:
1. take only gicc part
1. take only gicc part of functions
*************************************************/
#include "gicv2_common_opa.h"
#include "gicv2_registers.h"
@@ -43,6 +43,7 @@ History:
1. Date: 2023-08-28
Author: AIIT XUOS Lab
Modification:
1. Rename the file
*************************************************/
#include <stdint.h>
@@ -11,22 +11,11 @@
*/
/**
* @file spinlock.c
* @brief spinlock c interfaces
* @brief spinlock interfaces
* @version 3.0
* @author AIIT XUOS Lab
* @date 2023.08.25
* @date 2023.11.23
*/
/*************************************************
File name: spinlock.c
Description: spinlock c interfaces
Others:
History:
1. Date: 2023-08-28
Author: AIIT XUOS Lab
Modification:
1. add return of _spinlock_lock
*************************************************/
#include <stdint.h>
#include <string.h>