diff --git a/unit-test-coverage/shared/adaptors/inc/ut-adaptor-exceptions.h b/unit-test-coverage/shared/adaptors/inc/ut-adaptor-exceptions.h index 0168bf32..ed990d6f 100644 --- a/unit-test-coverage/shared/adaptors/inc/ut-adaptor-exceptions.h +++ b/unit-test-coverage/shared/adaptors/inc/ut-adaptor-exceptions.h @@ -42,12 +42,7 @@ #include "cfe_psp_exceptionstorage_api.h" uint32 UT_Get_Exception_MaxEntries(void); -size_t UT_Get_Exception_Size(void); -size_t UT_Get_Exception_TotalStorageSize(void); uint32 UT_Get_Exception_Id(struct CFE_PSP_Exception_LogData *Buffer); void UT_Generate_Exception_Context(struct CFE_PSP_Exception_LogData *Buffer, size_t Size); -void UT_Set_Exception_StoragePtr(void *Ptr); -void UT_Set_Exception_StorageReadWrite(uint32 rd, uint32 wr); - #endif diff --git a/unit-test-coverage/shared/adaptors/src/ut-adaptor-exceptions.c b/unit-test-coverage/shared/adaptors/src/ut-adaptor-exceptions.c index 95240173..9b95b0f0 100644 --- a/unit-test-coverage/shared/adaptors/src/ut-adaptor-exceptions.c +++ b/unit-test-coverage/shared/adaptors/src/ut-adaptor-exceptions.c @@ -42,32 +42,11 @@ #define CFE_PSP_MAX_EXCEPTION_ENTRIES 4 #define CFE_PSP_MAX_EXCEPTION_BACKTRACE_SIZE 16 -void UT_Set_Exception_StoragePtr(void *Ptr) -{ - CFE_PSP_ReservedMemoryMap.ExceptionStoragePtr = Ptr; -} - -void UT_Set_Exception_StorageReadWrite(uint32 rd, uint32 wr) -{ - CFE_PSP_ReservedMemoryMap.ExceptionStoragePtr->NumRead = rd; - CFE_PSP_ReservedMemoryMap.ExceptionStoragePtr->NumWritten = wr; -} - uint32 UT_Get_Exception_MaxEntries(void) { return CFE_PSP_MAX_EXCEPTION_ENTRIES; } -size_t UT_Get_Exception_Size(void) -{ - return sizeof(CFE_PSP_Exception_ContextDataEntry_t); -} - -size_t UT_Get_Exception_TotalStorageSize(void) -{ - return sizeof(CFE_PSP_ExceptionStorage_t); -} - void UT_Generate_Exception_Context(struct CFE_PSP_Exception_LogData *Buffer, size_t Size) { size_t i;