kitl_cfg.h

来自「6410BSP3」· C头文件 代码 · 共 56 行

H
56
字号
//
// 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.
//
#ifndef __KITL_CFG_H
#define __KITL_CFG_H

//------------------------------------------------------------------------------
#include <bsp.h>
#include <oal_kitl.h>
#include <oal_ethdrv.h>
#include <s3c6410_base_regs.h>
#include <usbdbgser.h>
#include <usbdbgrndis.h>


//------------------------------------------------------------------------------
// KITL Devices
//------------------------------------------------------------------------------

OAL_KITL_ETH_DRIVER g_kitlEthCS8900A    = OAL_ETHDRV_CS8900A;
OAL_KITL_ETH_DRIVER g_kitlEthUsbRndis   = OAL_KITLDRV_USBRNDIS;
OAL_KITL_SERIAL_DRIVER g_kitlUsbSerial  = OAL_KITLDRV_USBSERIAL;


OAL_KITL_DEVICE g_kitlDevices[] = {
    { 
        L"6410Ethernet", Internal, BSP_BASE_REG_PA_CS8900A_IOBASE, 0, OAL_KITL_TYPE_ETH, 
        &g_kitlEthCS8900A
    },
    { 
        L"6410USBSerial", Internal, S3C6410_BASE_REG_PA_USBOTG_LINK, 0, OAL_KITL_TYPE_SERIAL, 
        &g_kitlUsbSerial
    },
    {
        L"6410USBRndis", InterfaceTypeUndefined, S3C6410_BASE_REG_PA_USBOTG_LINK, 0, OAL_KITL_TYPE_ETH,
        &g_kitlEthUsbRndis
    },
    {
        L"6410USBDNW", Internal, S3C6410_BASE_REG_PA_USBOTG_LINK, 0, OAL_KITL_TYPE_SERIAL,
        &g_kitlUsbSerial
    },
    {
        NULL, 0, 0, 0, 0, NULL
    }
};  

#endif

⌨️ 快捷键说明

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