diff options
Diffstat (limited to 'src/vendorcode/amd/agesa/f15tn/Proc/IDS')
-rw-r--r-- | src/vendorcode/amd/agesa/f15tn/Proc/IDS/Debug/IdsDebug.c | 34 | ||||
-rw-r--r-- | src/vendorcode/amd/agesa/f15tn/Proc/IDS/Library/IdsLib.c | 32 |
2 files changed, 0 insertions, 66 deletions
diff --git a/src/vendorcode/amd/agesa/f15tn/Proc/IDS/Debug/IdsDebug.c b/src/vendorcode/amd/agesa/f15tn/Proc/IDS/Debug/IdsDebug.c index 119cccf6d3..b5c26aefeb 100644 --- a/src/vendorcode/amd/agesa/f15tn/Proc/IDS/Debug/IdsDebug.c +++ b/src/vendorcode/amd/agesa/f15tn/Proc/IDS/Debug/IdsDebug.c @@ -78,27 +78,6 @@ IdsAgesaTestPoint ( } /** - * - * HDT out Function for Assert. - * - * fire a HDTOUT Command of assert to let hdtout script do corresponding things. - * - * @param[in,out] FileCode FileCode of the line - * - **/ -#if 0 -VOID -AmdIdsDebugPrintAssert ( - IN UINT32 FileCode - ) -{ - //TODO:if (AmdIdsHdtOutSupport ()) { - // IdsOutPort (HDTOUT_ASSERT, FileCode, 0); - //} -} -#endif - -/** * IDS Backend Function for ASSERT * * Halt execution with stop code display. Stop Code is displayed on port 80, with rotation so that @@ -123,7 +102,6 @@ IdsAssert ( IDS_HDT_CONSOLE (MAIN_FLOW, "ASSERT on File[%x] Line[%x]\n", (UINTN) file, (UINTN) line); IDS_HDT_CONSOLE_FLUSH_BUFFER (NULL); IDS_HDT_CONSOLE_ASSERT (FileCode); - //IdsErrorStop (FileCode); return TRUE; } @@ -140,18 +118,6 @@ IdsMemTimeOut ( IN OUT VOID *DataPtr ) { -//TODO: UINTN i; -// -// IDS_DEBUG_PRINT **DebugPrintList; -// -// GetDebugPrintList (&DebugPrintList); -// -// for (i = 0; DebugPrintList[i] != NULL; i++) { -// if (DebugPrintList[i]->support ()) { -// // Turn timeout off if any Debug service is on -// *((UINT8 *)DataPtr) = (UINT8)0; -// } -// } } /** diff --git a/src/vendorcode/amd/agesa/f15tn/Proc/IDS/Library/IdsLib.c b/src/vendorcode/amd/agesa/f15tn/Proc/IDS/Library/IdsLib.c index 046d1826aa..5cb0cef54d 100644 --- a/src/vendorcode/amd/agesa/f15tn/Proc/IDS/Library/IdsLib.c +++ b/src/vendorcode/amd/agesa/f15tn/Proc/IDS/Library/IdsLib.c @@ -107,38 +107,6 @@ AmdGetIdsNvTable ( /** * - * Get IDS Override Image Base Address - * - * @param[in,out] IdsImageBase The Base Address of IDS Override Image. - * @param[in,out] StdHeader The Pointer of Standard Header. - * - * @retval AGESA_SUCCESS Success to get the pointer of NV Table. - * @retval AGESA_ERROR Fail to get the pointer of NV Table. - * - **/ -#if 0 -AGESA_STATUS -AmdGetIdsImagebase ( - IN OUT UINT64 *IdsImageBase, - IN OUT AMD_CONFIG_PARAMS *StdHeader - ) -{ - AGESA_STATUS status; - LOCATE_HEAP_PTR LocateHeapStructPtr; - IDS_CONTROL_STRUCT *IdsCtrlPtr; - - LocateHeapStructPtr.BufferHandle = IDS_CONTROL_HANDLE; - LocateHeapStructPtr.BufferPtr = NULL; - status = HeapLocateBuffer (&LocateHeapStructPtr, StdHeader); - if (status == AGESA_SUCCESS) { - IdsCtrlPtr = (IDS_CONTROL_STRUCT *) LocateHeapStructPtr.BufferPtr; - *IdsImageBase = IdsCtrlPtr->IdsImageBase; - } - return status; -} -#endif -/** - * * Read IDS NV value in NV table. * * It searches the table until the Nv Id is found and return the NV value |