oemboot.c

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

C
51
字号
/******************************************************************************
 *
 * System On Chip(SOC)
 *
 * Copyright (c) 2002 Software Center, Samsung Electronics, Inc.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of Samsung 
 * Electronics, Inc("Confidential Information"). You Shall not disclose such 
 * Confidential Information and shall use it only in accordance with the terms 
 * of the license agreement you entered into Samsung.
 *
 *-----------------------------------------------------------------------------
 *
 *  S3C2410 BSP (WinCE3.0 & PocketPC2002)
 *
 * oemboot.c : OEM specific bootloader routines
 *
 * @author  zartoven@samsung.com (SOC, SWC, SAMSUNG Electronics)
 *
 * @date    2002/04/09
 * 
 * Log:
 *  2002/04/09  Start(From ODO's BSP)
 *      
 ******************************************************************************
 */
#include "warning.h"
 
#include <..\\..\\kernel\\oal\\debug.c>


unsigned int 
PowerOnSelfTest(void) 
{
    return 1;
}


//------------------------------------------------------------------------------
//
//  Function:  OEMWriteDebugString
//
//  Output unicode string to debug serial port
//
VOID OEMWriteDebugString(LPWSTR string)
{
    while (*string != L'\0') OEMWriteDebugByte((UINT8)*string++);
}

⌨️ 快捷键说明

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