fix: 移除los_arch_interrupt.h文件中冗余声明的函数VOID OsExcInit(VOID)
VOID OsExcInit(VOID)函数的注释中参数描述错误,并且该函数并没有在C源文件中使用到,需要删除。 close #I4D9OO Signed-off-by: kenneth <zhushangyuan@huawei.com>
This commit is contained in:
parent
adaefc6133
commit
136952f193
|
@ -520,25 +520,6 @@ typedef struct TagExcContext {
|
||||||
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
||||||
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
||||||
|
|
||||||
/**
|
|
||||||
* @ingroup los_arch_interrupt
|
|
||||||
* @brief: Exception initialization.
|
|
||||||
*
|
|
||||||
* @par Description:
|
|
||||||
* This API is used to configure the exception function vector table.
|
|
||||||
*
|
|
||||||
* @attention:
|
|
||||||
* <ul><li>None.</li></ul>
|
|
||||||
*
|
|
||||||
* @param uwArraySize [IN] Memory size of exception.
|
|
||||||
*
|
|
||||||
* @retval: None
|
|
||||||
* @par Dependency:
|
|
||||||
* <ul><li>los_arch_interrupt.h: the header file that contains the API declaration.</li></ul>
|
|
||||||
* @see None.
|
|
||||||
*/
|
|
||||||
VOID OsExcInit(VOID);
|
|
||||||
|
|
||||||
VOID HalExcNMI(VOID);
|
VOID HalExcNMI(VOID);
|
||||||
VOID HalExcHardFault(VOID);
|
VOID HalExcHardFault(VOID);
|
||||||
VOID HalExcMemFault(VOID);
|
VOID HalExcMemFault(VOID);
|
||||||
|
|
|
@ -520,25 +520,6 @@ typedef struct TagExcContext {
|
||||||
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
||||||
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
||||||
|
|
||||||
/**
|
|
||||||
* @ingroup los_arch_interrupt
|
|
||||||
* @brief: Exception initialization.
|
|
||||||
*
|
|
||||||
* @par Description:
|
|
||||||
* This API is used to configure the exception function vector table.
|
|
||||||
*
|
|
||||||
* @attention:
|
|
||||||
* <ul><li>None.</li></ul>
|
|
||||||
*
|
|
||||||
* @param uwArraySize [IN] Memory size of exception.
|
|
||||||
*
|
|
||||||
* @retval: None
|
|
||||||
* @par Dependency:
|
|
||||||
* <ul><li>los_arch_interrupt.h: the header file that contains the API declaration.</li></ul>
|
|
||||||
* @see None.
|
|
||||||
*/
|
|
||||||
VOID OsExcInit(VOID);
|
|
||||||
|
|
||||||
VOID HalExcNMI(VOID);
|
VOID HalExcNMI(VOID);
|
||||||
VOID HalExcHardFault(VOID);
|
VOID HalExcHardFault(VOID);
|
||||||
VOID HalExcMemFault(VOID);
|
VOID HalExcMemFault(VOID);
|
||||||
|
|
|
@ -520,25 +520,6 @@ typedef struct TagExcContext {
|
||||||
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
||||||
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
||||||
|
|
||||||
/**
|
|
||||||
* @ingroup los_arch_interrupt
|
|
||||||
* @brief: Exception initialization.
|
|
||||||
*
|
|
||||||
* @par Description:
|
|
||||||
* This API is used to configure the exception function vector table.
|
|
||||||
*
|
|
||||||
* @attention:
|
|
||||||
* <ul><li>None.</li></ul>
|
|
||||||
*
|
|
||||||
* @param uwArraySize [IN] Memory size of exception.
|
|
||||||
*
|
|
||||||
* @retval: None
|
|
||||||
* @par Dependency:
|
|
||||||
* <ul><li>los_arch_interrupt.h: the header file that contains the API declaration.</li></ul>
|
|
||||||
* @see None.
|
|
||||||
*/
|
|
||||||
VOID OsExcInit(VOID);
|
|
||||||
|
|
||||||
VOID HalExcNMI(VOID);
|
VOID HalExcNMI(VOID);
|
||||||
VOID HalExcHardFault(VOID);
|
VOID HalExcHardFault(VOID);
|
||||||
VOID HalExcMemFault(VOID);
|
VOID HalExcMemFault(VOID);
|
||||||
|
|
|
@ -520,25 +520,6 @@ typedef struct TagExcContext {
|
||||||
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
||||||
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
||||||
|
|
||||||
/**
|
|
||||||
* @ingroup los_arch_interrupt
|
|
||||||
* @brief: Exception initialization.
|
|
||||||
*
|
|
||||||
* @par Description:
|
|
||||||
* This API is used to configure the exception function vector table.
|
|
||||||
*
|
|
||||||
* @attention:
|
|
||||||
* <ul><li>None.</li></ul>
|
|
||||||
*
|
|
||||||
* @param uwArraySize [IN] Memory size of exception.
|
|
||||||
*
|
|
||||||
* @retval: None
|
|
||||||
* @par Dependency:
|
|
||||||
* <ul><li>los_arch_interrupt.h: the header file that contains the API declaration.</li></ul>
|
|
||||||
* @see None.
|
|
||||||
*/
|
|
||||||
VOID OsExcInit(VOID);
|
|
||||||
|
|
||||||
VOID HalExcNMI(VOID);
|
VOID HalExcNMI(VOID);
|
||||||
VOID HalExcHardFault(VOID);
|
VOID HalExcHardFault(VOID);
|
||||||
VOID HalExcMemFault(VOID);
|
VOID HalExcMemFault(VOID);
|
||||||
|
|
|
@ -521,25 +521,6 @@ typedef struct TagExcContext {
|
||||||
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
||||||
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
||||||
|
|
||||||
/**
|
|
||||||
* @ingroup los_hwi
|
|
||||||
* @brief: Exception initialization.
|
|
||||||
*
|
|
||||||
* @par Description:
|
|
||||||
* This API is used to configure the exception function vector table.
|
|
||||||
*
|
|
||||||
* @attention:
|
|
||||||
* <ul><li>None.</li></ul>
|
|
||||||
*
|
|
||||||
* @param uwArraySize [IN] Memory size of exception.
|
|
||||||
*
|
|
||||||
* @retval: None
|
|
||||||
* @par Dependency:
|
|
||||||
* <ul><li>los_hwi.h: the header file that contains the API declaration.</li></ul>
|
|
||||||
* @see None.
|
|
||||||
*/
|
|
||||||
VOID OsExcInit(VOID);
|
|
||||||
|
|
||||||
VOID HalExcNMI(VOID);
|
VOID HalExcNMI(VOID);
|
||||||
VOID HalExcHardFault(VOID);
|
VOID HalExcHardFault(VOID);
|
||||||
VOID HalExcMemFault(VOID);
|
VOID HalExcMemFault(VOID);
|
||||||
|
|
|
@ -521,25 +521,6 @@ typedef struct TagExcContext {
|
||||||
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
||||||
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
||||||
|
|
||||||
/**
|
|
||||||
* @ingroup los_hwi
|
|
||||||
* @brief: Exception initialization.
|
|
||||||
*
|
|
||||||
* @par Description:
|
|
||||||
* This API is used to configure the exception function vector table.
|
|
||||||
*
|
|
||||||
* @attention:
|
|
||||||
* <ul><li>None.</li></ul>
|
|
||||||
*
|
|
||||||
* @param uwArraySize [IN] Memory size of exception.
|
|
||||||
*
|
|
||||||
* @retval: None
|
|
||||||
* @par Dependency:
|
|
||||||
* <ul><li>los_hwi.h: the header file that contains the API declaration.</li></ul>
|
|
||||||
* @see None.
|
|
||||||
*/
|
|
||||||
VOID OsExcInit(VOID);
|
|
||||||
|
|
||||||
VOID HalExcNMI(VOID);
|
VOID HalExcNMI(VOID);
|
||||||
VOID HalExcHardFault(VOID);
|
VOID HalExcHardFault(VOID);
|
||||||
VOID HalExcMemFault(VOID);
|
VOID HalExcMemFault(VOID);
|
||||||
|
|
|
@ -520,25 +520,6 @@ typedef struct TagExcContext {
|
||||||
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
||||||
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
||||||
|
|
||||||
/**
|
|
||||||
* @ingroup los_arch_interrupt
|
|
||||||
* @brief: Exception initialization.
|
|
||||||
*
|
|
||||||
* @par Description:
|
|
||||||
* This API is used to configure the exception function vector table.
|
|
||||||
*
|
|
||||||
* @attention:
|
|
||||||
* <ul><li>None.</li></ul>
|
|
||||||
*
|
|
||||||
* @param uwArraySize [IN] Memory size of exception.
|
|
||||||
*
|
|
||||||
* @retval: None
|
|
||||||
* @par Dependency:
|
|
||||||
* <ul><li>los_arch_interrupt.h: the header file that contains the API declaration.</li></ul>
|
|
||||||
* @see None.
|
|
||||||
*/
|
|
||||||
VOID OsExcInit(VOID);
|
|
||||||
|
|
||||||
VOID HalExcNMI(VOID);
|
VOID HalExcNMI(VOID);
|
||||||
VOID HalExcHardFault(VOID);
|
VOID HalExcHardFault(VOID);
|
||||||
VOID HalExcMemFault(VOID);
|
VOID HalExcMemFault(VOID);
|
||||||
|
|
|
@ -520,25 +520,6 @@ typedef struct TagExcContext {
|
||||||
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
||||||
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
||||||
|
|
||||||
/**
|
|
||||||
* @ingroup los_arch_interrupt
|
|
||||||
* @brief: Exception initialization.
|
|
||||||
*
|
|
||||||
* @par Description:
|
|
||||||
* This API is used to configure the exception function vector table.
|
|
||||||
*
|
|
||||||
* @attention:
|
|
||||||
* <ul><li>None.</li></ul>
|
|
||||||
*
|
|
||||||
* @param uwArraySize [IN] Memory size of exception.
|
|
||||||
*
|
|
||||||
* @retval: None
|
|
||||||
* @par Dependency:
|
|
||||||
* <ul><li>los_arch_interrupt.h: the header file that contains the API declaration.</li></ul>
|
|
||||||
* @see None.
|
|
||||||
*/
|
|
||||||
VOID OsExcInit(VOID);
|
|
||||||
|
|
||||||
VOID HalExcNMI(VOID);
|
VOID HalExcNMI(VOID);
|
||||||
VOID HalExcHardFault(VOID);
|
VOID HalExcHardFault(VOID);
|
||||||
VOID HalExcMemFault(VOID);
|
VOID HalExcMemFault(VOID);
|
||||||
|
|
|
@ -520,25 +520,6 @@ typedef struct TagExcContext {
|
||||||
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
||||||
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
||||||
|
|
||||||
/**
|
|
||||||
* @ingroup los_arch_interrupt
|
|
||||||
* @brief: Exception initialization.
|
|
||||||
*
|
|
||||||
* @par Description:
|
|
||||||
* This API is used to configure the exception function vector table.
|
|
||||||
*
|
|
||||||
* @attention:
|
|
||||||
* <ul><li>None.</li></ul>
|
|
||||||
*
|
|
||||||
* @param uwArraySize [IN] Memory size of exception.
|
|
||||||
*
|
|
||||||
* @retval: None
|
|
||||||
* @par Dependency:
|
|
||||||
* <ul><li>los_arch_interrupt.h: the header file that contains the API declaration.</li></ul>
|
|
||||||
* @see None.
|
|
||||||
*/
|
|
||||||
VOID OsExcInit(VOID);
|
|
||||||
|
|
||||||
VOID HalExcNMI(VOID);
|
VOID HalExcNMI(VOID);
|
||||||
VOID HalExcHardFault(VOID);
|
VOID HalExcHardFault(VOID);
|
||||||
VOID HalExcMemFault(VOID);
|
VOID HalExcMemFault(VOID);
|
||||||
|
|
|
@ -520,25 +520,6 @@ typedef struct TagExcContext {
|
||||||
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
typedef VOID (*EXC_PROC_FUNC)(UINT32, EXC_CONTEXT_S *);
|
||||||
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, UINT32 pid, EXC_CONTEXT_S *excBufAddr);
|
||||||
|
|
||||||
/**
|
|
||||||
* @ingroup los_arch_interrupt
|
|
||||||
* @brief: Exception initialization.
|
|
||||||
*
|
|
||||||
* @par Description:
|
|
||||||
* This API is used to configure the exception function vector table.
|
|
||||||
*
|
|
||||||
* @attention:
|
|
||||||
* <ul><li>None.</li></ul>
|
|
||||||
*
|
|
||||||
* @param uwArraySize [IN] Memory size of exception.
|
|
||||||
*
|
|
||||||
* @retval: None
|
|
||||||
* @par Dependency:
|
|
||||||
* <ul><li>los_arch_interrupt.h: the header file that contains the API declaration.</li></ul>
|
|
||||||
* @see None.
|
|
||||||
*/
|
|
||||||
VOID OsExcInit(VOID);
|
|
||||||
|
|
||||||
VOID HalExcNMI(VOID);
|
VOID HalExcNMI(VOID);
|
||||||
VOID HalExcHardFault(VOID);
|
VOID HalExcHardFault(VOID);
|
||||||
VOID HalExcMemFault(VOID);
|
VOID HalExcMemFault(VOID);
|
||||||
|
|
|
@ -491,7 +491,7 @@ LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(UINT32 excType, UINT32 faultAddr, U
|
||||||
Output : None
|
Output : None
|
||||||
Return : None
|
Return : None
|
||||||
**************************************************************************** */
|
**************************************************************************** */
|
||||||
LITE_OS_SEC_TEXT_INIT VOID HalHwiInit()
|
LITE_OS_SEC_TEXT_INIT VOID HalHwiInit(VOID)
|
||||||
{
|
{
|
||||||
#if (LOSCFG_USE_SYSTEM_DEFINED_INTERRUPT == 1)
|
#if (LOSCFG_USE_SYSTEM_DEFINED_INTERRUPT == 1)
|
||||||
UINT32 index;
|
UINT32 index;
|
||||||
|
|
Loading…
Reference in New Issue