⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 x86boot.h

📁 威盛 wince5.0 bsp 包 for x86 系统, 支持 VT8601 等北桥
💻 H
字号:
//
// 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 _X86BOOTINFO_H_
#define _X86BOOTINFO_H_

#include <oal_kitl.h>

#ifdef __cplusplus
extern "C" {
#endif  // __cplusplus


typedef struct _x86BootInfo {
    DWORD   dwKitlBaseAddr;     // Base I/O address for debug Ether adapter
    DWORD   dwKitlIP;           // IP address
    DWORD   dwKitlDebugZone;    // Allow KITL debug zones to be turned on from loadcepc
    WORD    wMac[3];            // MAC address
    WORD    KitlTransport;      // Transport for Kitl communication    
    UCHAR   ucKitlAdapterType;  // Type of KITL adapter
    UCHAR   ucKitlIrq;          // IRQ line to use for debug Ether adapter
    UCHAR   ucComPort;
    UCHAR   ucBaudDivisor;
    UCHAR   szDeviceName[OAL_KITL_ID_SIZE];  // KITL device name.

    DWORD   dwRebootAddr;       // Reboot entry point set by eboot and used during warm reset
    WORD    cxDisplayScreen;    // displayable X size
    WORD    cyDisplayScreen;    // displayable Y size
    WORD    bppScreen;          // color depth
    BYTE    NANDBootFlags;      // Boot flags related to NAND support.
    BYTE    NANDBusNumber;      // NAND controller PCI bus number.
    DWORD   NANDSlotNumber;     // NAND controller PCI slot number.

    UCHAR   ucPCIConfigType;    // PCI config type
    UCHAR   fStaticIP;          // use static IP or not

} X86BootInfo, *PX86BootInfo;


extern void BSPInitDfltBootInfo (PX86BootInfo pBootInfo);
extern PX86BootInfo g_pX86Info;


#ifdef __cplusplus
}
#endif  // __cplusplus

#endif  // _X86BOOTINFO_H_

⌨️ 快捷键说明

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