debug.c

来自「S3C24A0的完整BSP包,对开发此芯片的开发者很有用.」· C语言 代码 · 共 38 行

C
38
字号
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//

#include <windows.h>
#include "loader.h"

#define BOOT_LOADER
#include <..\\kernel\\hal\\debug.c>
#undef  BOOT_LOADER


/*
    @func   BOOL | OEMDebugInit | Function wrapper for OEMInitDebugSerial.
    @rdesc  TRUE = Success, FALSE = Failure.
    @comm    
    @xref   
*/
BOOL OEMDebugInit(void)
{

	// Assign callback functions to be usec by blcommon.
	//
    g_pOEMVerifyMemory   = OEMVerifyMemory;		// Verify memory to be used by downloaded image...
    g_pOEMMultiBINNotify = OEMMultiBINNotify;		// Notified of all the BIN files to be downloaded...

    OEMInitDebugSerial();

    return(TRUE);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?