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

📄 platform.reg

📁 该BSP是基于PXA270+WINCE的BSP
💻 REG
📖 第 1 页 / 共 2 页
字号:
;
; 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.
;

; Our variables
#define BUILTIN_ROOT HKEY_LOCAL_MACHINE\Drivers\BuiltIn
#define DRIVERS_DIR $(_PUBLICROOT)\common\oak\drivers

; @CESYSGEN IF WCESHELLFE_MODULES_CTLPNL
; This registry setting controls the checkboxes displayed in the Sounds CPL
; under "enable clicks & taps". Set bit0 if you have a keyboard, set bit1 if
; you have a touch screen. Set bit2 if you have HW buttons (NOTE: for now
; HW buttons are mutually exclusive with the keyboard)
[HKEY_LOCAL_MACHINE\ControlPanel]
    "InputConfig"=dword:3   ; 3 => keybd and touch screen
; @CESYSGEN ENDIF WCESHELLFE_MODULES_CTLPNL

; Resources available at time of device.exe initialization.
; Key names are descriptive; resource ids are definitive.
; System ids are defined in ddk\inc\resmgr.h.
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\Drivers\Resources\IRQ]
   "Identifier"=dword:1
   "Minimum"=dword:1
   "Space"=dword:4F
   "Ranges"="1-0x21,0x40-0x4F"

[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
   "Identifier"=dword:2
   "Minimum"=dword:0
   "Space"=dword:10000
   "Ranges"="0-0xFFFF"
; END HIVE BOOT SECTION

; Disable keyboard and touch clicks until the audio driver is fixed.  Without
; the fix, the gwes input thread stalls trying to play clicks.
; @CESYSGEN IF WCESHELLFE_MODULES_CPLMAIN
[HKEY_CURRENT_USER\ControlPanel\Volume]
    "Key"=dword:0       ; Keyclicks:  1=soft, 0x10002=loud
    "Screen"=dword:0    ; ScreenTaps: 1=soft, 0x10002=loud
; @CESYSGEN ENDIF WCESHELLFE_MODULES_CPLMAIN


; @CESYSGEN IF CE_MODULES_RAMDISK
; @CESYSGEN ENDIF CE_MODULES_RAMDISK


;------------------------------------------------------------
; StrataFlash block driver
;
; @CESYSGEN IF CE_MODULES_STRATAD
; @CESYSGEN ENDIF CE_MODULES_STRATAD

;------------------------------------------------------------


; *****************************************************************************
; Device.exe drivers
; *****************************************************************************
;

; @CESYSGEN IF CE_MODULES_DEVICE
; -----------------------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_WAVEAPI
; @XIPREGION IF PACKAGE_OEMDRIVERS

;=========================================
IF BSP_NOAUDIO !
;IF SBS0
;=========================================
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WaveDev\]
   "Prefix"="WAV"
   "Dll"="mainstoneii_wavedev.dll"
   "Index"=dword:1
   "Order"=dword:0
   "Priority256"=dword:95
   "Sysintr"=dword:19
   "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"  ; power managed device
   
   ;resample stereo output to mono output?
   ;set this if your platform has only mono speaker. if your platform supports
   ; both mono speaker and a stereo headset you'll have to dynamically change
   ; the flag in wavedev2 driver for proper output rendering (mono vs. stereo)
   ;MainstoneIII has both a mono speaker and a stereo headphone jack. But unfortunately
   ; headphone presence detection is not supported by the onboard philips codec.
   ; For this reason we only render mono output.
   "OutputRenderMonoOnly"=dword:1           

[HKEY_LOCAL_MACHINE\Audio\SoftwareMixer]
    "BufferSize"=dword:1000
    "Priority256"=dword:96

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WAPIMAN\]
    "Priority256"=dword:97
ENDIF BSP_NOAUDIO !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_WAVEAPI
; -----------------------------------------------------------------------------

; Backlight driver

;==========================================
IF BSP_NOBACKLIGHT !
;IF SBS0
;==========================================

; @XIPREGION IF PACKAGE_OEMDRIVERS
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Backlight]
    "DLL"="ms2_backlight.DLL"
    "Prefix"="BKL"
    "Order"=dword:1
    "Index"=dword:1
    "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
ENDIF BSP_NOBACKLIGHT !
; -----------------------------------------------------------------------------

;==========================================
; Power button driver
; @CESYSGEN IF CE_MODULES_PM
; @XIPREGION IF PACKAGE_OEMDRIVERS
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PWB]
   "Prefix"="PWB"
   "Dll"="mainstoneii_pwrbutton.dll"
   "Order"=dword:3
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_PM
;==========================================
; -----------------------------------------------------------------------------


;==============================================================================
; @CESYSGEN IF CE_MODULES_NLEDDRVR
; @XIPREGION IF PACKAGE_OEMDRIVERS
;;#include "$(DRIVERS_DIR)\nleddrvr\nleddrvr.reg"
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_NLEDDRVR
;==============================================================================

; -----------------------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_USBD
; @XIPREGION IF PACKAGE_OEMDRIVERS

;==========================================
IF BSP_NOUSB !
;IF SBS0
;==========================================

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\OHCI]
    "InterfaceType"=dword:0     ; Internal
    "Prefix"="HCD"
    "Dll"="ohci2.dll"
    "Index"=dword:1
    "Order"=dword:1
    "Irq"=dword:3
    "SysIntr"=dword:11          ; (SYSINTR_FIRMWARE+1)
    "MemBase"=dword:4C000000
    "MemLen"=dword:1000
    "UseExistingSettings"=dword:0
    "HcdCapability"=dword:2     ;HCD_ROOT_HUB_INTERRUPT 
ENDIF BSP_NOUSB !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_USBD
; -----------------------------------------------------------------------------

; -----------------------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_SERIAL
IF BSP_NOSERIAL !

IF SBS0		;output debug or not
;;=======================FFUART=======================
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
   "Irq"=dword:16               ; 22 IRQ_FFUART
   "SysIntr"=dword:1d           ; 29 SYSINTR_FFUART
   "MemBase"=dword:40100000     ; FFUART Register
   "MemLen"=dword:40
   "DeviceArrayIndex"=dword:80  ; FFUART object
   "Prefix"="COM"
   "IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
   "Dll"="ms2_serial.dll"
   "Order"=dword:0

;;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial\Unimodem]
;;   "Tsp"="Unimodem.dll"
;;   "DeviceType"=dword:0
;;   "FriendlyName"="Serial Cable on COM1:"
;;   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
;;====================================================
ENDIF


;;======================BTUART========================
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
   "Irq"=dword:15 				; 21 IRQ_BTUART
   "SysIntr"=dword:1c 			; 28 SYSINTR_BTUART
   "MemBase"=dword:40200000 	; BTUART Register
   "MemLen"=dword:40
   "DeviceArrayIndex"=dword:81 	; BTUART object
   "Prefix"="COM"
   "IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
   "Dll"="ms2_serial.dll"
   "Order"=dword:0
;;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2\Unimodem]
;;   "Tsp"="Unimodem.dll"
;;   "DeviceType"=dword:0
;;   "FriendlyName"="Serial Cable on COM2:"
;;   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00,00,00, 08, 00, 00, 00,00,00,00
;;====================================================

;;======================SFUART========================
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3]
   "Irq"=dword:14 				; 20 IRQ_SFUART
   "SysIntr"=dword:1b 			; 27 SYSINTR_SFUART
   "MemBase"=dword:40700000 	; BTUART Register
   "MemLen"=dword:40
   "DeviceArrayIndex"=dword:82 	; SFUART object
   "Prefix"="COM"
   "IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
   "Dll"="ms2_serial.dll"
   "Order"=dword:0
;;====================================================


IF EXT_SERIAL
;;======================EXUART========================
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial5]	;;3
   "Dll"="com16550.Dll"
   "IoBase"=dword:14000000  
   "Irq"=dword:A 
   "IoLen"=dword:08
   "DeviceArrayIndex"=dword:5	;;;3
   "Prefix"="COM"
   "Order"=dword:0
   "SysIntr" = dword:1B
   "RegStride" = dword:04
   "IsrDll" = "isr16550.dll"
   "isrHandler" = "ISRHandler"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial6]	;;4
   "Dll"="com16550.Dll"
   "IoBase"=dword:14000020
   "Irq"=dword:A 
   "IoLen"=dword:08
   "DeviceArrayIndex"=dword:6	;;;4
   "Prefix"="COM"
   "Order"=dword:0
   "SysIntr" = dword:25		;12
   "RegStride" = dword:04
   "IsrDll" = "isr16550.dll"
   "isrHandler" = "ISRHandler"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial7]	;;5
   "Dll"="com16550.Dll"
   "IoBase"=dword:14000040
   "Irq"=dword:A 
   "IoLen"=dword:08
   "DeviceArrayIndex"=dword:7	;;;5
   "Prefix"="COM"
   "Order"=dword:0
   "SysIntr" = dword:1F
   "RegStride" = dword:04
   "IsrDll" = "isr16550.dll"
   "isrHandler" = "ISRHandler"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial8]	;;6
   "Dll"="com16550.Dll"
   "IoBase"=dword:14000060
   "Irq"=dword:A 
   "IoLen"=dword:08
   "DeviceArrayIndex"=dword:8	;;;6
   "Prefix"="COM"
   "Order"=dword:0
   "SysIntr" = dword:27
   "RegStride" = dword:04
   "IsrDll" = "isr16550.dll"
   "isrHandler" = "ISRHandler"
;;====================================================
ENDIF


ENDIF BSP_NOSERIAL !
; @CESYSGEN ENDIF CE_MODULES_SERIAL
; -----------------------------------------------------------------------------

; -----------------------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_USBFN
; @XIPREGION IF PACKAGE_OEMDRIVERS

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Usbfn]
IF IMGNOKITL
    "Dll"="ms2_usbfn.dll"
ENDIF IMGNOKITL

IF IMGNOKITL !
IF BSP_RNDIS_USB_KITL !
; If the RNDIS KITL is used and KITL is enabled, we must exclude the USB 
; function driver to avoid the conflict.
    "Dll"="ms2_usbfn.dll"
ENDIF BSP_RNDIS_USB_KITL !
ENDIF IMGNOKITL	!

    "InterfaceType"=dword:0     ; Internal
    "Prefix"="UFN"
    "Order"=dword:0
    "Priority256"=dword:64
    "MemBase"=dword:40600000   ; UDC_BASE_U_VIRTUAL
    "MemLen"=dword:1000        ; Needs at least 0xE04. Round up to 1 page.
    "Sysintr"=dword:1a
    "BusIoctl"=dword:2a0048
    "IClass"=multi_sz:"{E2BDC372-598F-4619-BC50-54B3F7848D35}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"

; @CESYSGEN IF CE_MODULES_SERIALUSBFN
; @CESYSGEN ENDIF CE_MODULES_SERIALUSBFN

; @CESYSGEN IF CE_MODULES_RNDISFN
; @CESYSGEN ENDIF CE_MODULES_RNDISFN

; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_USBFN

;==============================================================================
; @CESYSGEN IF CE_MODULES_PCCARD
IF BSP_NOPCCARD !
#include "$(_TARGETPLATROOT)\src\drivers\pccard\pcc_mainstoneii.reg"
#include "$(DRIVERS_DIR)\pccard\mdd\pcc_serv.reg"
[HKEY_LOCAL_MACHINE\Drivers\PCCARD\PCMCIA\TEMPLATE\PCMCIA]
   "Dll"="pcmcia.dll"
   "NoConfig"=dword:1
   "IClass"=multi_sz:"{6BEAB08A-8914-42fd-B33F-61968B9AAB32}=PCMCIA Card Services"
ENDIF BSP_NOPCCARD !
; @CESYSGEN ENDIF CE_MODULES_PCCARD
;==============================================================================

; -----------------------------------------------------------------------------
; @CESYSGEN ENDIF CE_MODULES_DEVICE

; -----------------------------------------------------------------------------
; SDIO drivers
;
; @CESYSGEN IF CE_MODULES_SDBUS
; @CESYSGEN ENDIF CE_MODULES_SDBUS
; -----------------------------------------------------------------------------

; -----------------------------------------------------------------------------
; Null Battery Driver
;
; @CESYSGEN IF CE_MODULES_BATTDRVR
; @XIPREGION IF PACKAGE_OEMDRIVERS
;;#include "$(DRIVERS_DIR)\battdrvr\battdrvr.reg"
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_BATTDRVR
; -----------------------------------------------------------------------------

; *****************************************************************************
; GWES drivers
; *****************************************************************************
;

; -----------------------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_DISPLAY
IF BSP_NODISPLAY !
[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
    "Display"="pxa27x_lcd.dll"

; GWES will pass this value to the LCD driver; the driver will open the
; key to which it points to read its configuration.
;

⌨️ 快捷键说明

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