📄 platform.reg
字号:
;
; Copyright (c) Microsoft Corporation. All rights reserved.
; Copyright (c) 2004 Motorola Inc. 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.
;
;------------------------------------------------------------------------------
;
; Copyright (C) 2004-2006, Freescale Semiconductor, Inc. All Rights Reserved
; THIS SOURCE CODE IS CONFIDENTIAL AND PROPRIETARY AND MAY NOT
; BE USED OR DISTRIBUTED WITHOUT THE WRITTEN PERMISSION OF
; Freescale Semiconductor, Inc.
;
;------------------------------------------------------------------------------
; Platform type: 1=DK3, 2=ODO 3=Rose
[HKEY_LOCAL_MACHINE\Platform]
"Name"="MX31 Platform"
"Type"=dword:4
#if (defined BSP_SDHC1 || defined BSP_SDHC2)
#include "$(_TARGETPLATROOT)\SRC\DRIVERS\SDHC\sdhc_arm11.reg"
#endif
IF BSP_NOCSPDDK !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CSPDDK]
"Dll"="cspddk.dll"
"Order"=dword:1
ENDIF
IF BSP_PMIC_MC13783
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PMI]
"Prefix"="PMI"
"Dll"="pmicpdk_mc13783.dll"
"Index"=dword:1
"Order"=dword:2
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}" ; PMCLASS_GENERIC_DEVICE
ENDIF
IF BSP_CAMERA || BSP_PP || BSP_DISPLAY_NEC_NL6448BC20 || BSP_DISPLAY_SHARP_LQ035Q7DB02
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IPU_BASE]
"Dll"="ipu_base.dll"
"Order"=dword:1
ENDIF
IF BSP_CAMERA
[HKEY_LOCAL_MACHINE\Drivers\CSI]
"CameraId"=dword:0 ; See csi.h, CameraInUse: 0=iMagic8803, 1=iMagic8201
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CAMERA]
"Prefix"="CAM"
"Dll"="camera.dll"
"Order"=dword:20
"Index"=dword:1
[HKEY_LOCAL_MACHINE\Software\Microsoft\DirectX\DirectShow\Capture]
"Prefix"="PIN"
"Dll"="camera.dll"
"Order"=dword:20
"Index"=dword:1
ENDIF
IF BSP_PP
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PP]
"Prefix"="POP"
"Dll"="pp.dll"
"Order"=dword:20
"Index"=dword:1
ENDIF
IF BSP_PF
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PF]
"Prefix"="POF"
"Dll"="pf.dll"
"Order"=dword:20
"Index"=dword:1
ENDIF
IF BSP_GPT
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GPT]
"Prefix"="GPT"
"Dll"="gpt.dll"
"Index"=dword:1
ENDIF
IF BSP_OWIRE
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\OWIRE]
"Prefix"="WIR"
"Dll"="owire.dll"
"Index"=dword:1
ENDIF
IF BSP_PWM
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PWM]
"Prefix"="PWM"
"Dll"="pwm.dll"
"Index"=dword:1
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
ENDIF
; This registry setting only open I2C channel to CMOS Camera
IF BSP_I2CBUS
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\I2C1]
"Prefix"="I2C"
"Dll"="i2c.dll"
"Index"=dword:1
"Order"=dword:4
; If SSI channel is required, remove the comment below
;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\I2C2]
; "Prefix"="I2C"
; "Dll"="i2c.dll"
; "Index"=dword:2
ENDIF
IF PLAT_PMC
[HKEY_LOCAL_MACHINE\Drivers\Builtin\Keypad]
"Dll"="pmc_keybd.dll"
"Order"=dword:20 ; need before any settings update or UI
"Irq"=dword:18 ; IRQ_KPP
;"SysintrPower"=dword:12 ; SYSINTR_POWER
"InterfaceType"=dword:0 ; Internal
"BusNumber"=dword:0
"MemBase"=dword:43FA8000 ; CSP_BASE_REG_PA_KPP
"MemLen"=dword:8 ; sizeof(CSP_KPP_REGS)
;"PowerButtonMask"=dword:00001
"ActivityEvent"="PowerManager/ActivityTimer/UserActivity"
; d-pad rotation: VK_LEFT (25) VK_UP (26) VK_RIGHT (27) VK_DOWN (28)
; 0 90 180 270 0 90 180 270 0 90 180 270 0 90 180 270
"DEVICE"= hex: 25, 26, 27, 28, 26, 27, 28, 25, 27, 28, 25, 26, 28, 25, 26, 27
"NTSC"= hex: 25, 26, 27, 28, 26, 27, 28, 25, 27, 28, 25, 26, 28, 25, 26, 27
"PAL"= hex: 25, 26, 27, 28, 26, 27, 28, 25, 27, 28, 25, 26, 28, 25, 26, 27
"NONE"= hex: 25, 26, 27, 28, 26, 27, 28, 25, 27, 28, 25, 26, 28, 25, 26, 27
ELSE
; @CESYSGEN IF CE_MODULES_KEYBD
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD]
"CalVKey"=dword:0
"ContLessVKey"=dword:0
"ContMoreVKey"=dword:0
"TaskManVKey"=dword:2E
"Keyboard Type"=dword:4
"Keyboard SubType"=dword:0
"Keyboard Function Keys"=dword:0
"Keyboard Layout"="00000409"
"DriverName"="kbdmouse.dll"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Layouts\00000409]
"Layout File"="kbdmouse.dll"
"Layout Text"="US-Keypad"
"KPPLayout"="kbdmouse.dll"
[HKEY_CURRENT_USER\Keyboard Layout\Preload\4]
@="00000409"
ENDIF ; PLAT_PMC
IF BSP_POCKETPC
; This gets the keyboard working, mapping a request for e0010409 onto the keyboard driver's 00000409
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Layouts\e0010409]
"Keyboard Layout"="00000409"
ENDIF ; BSP_POCKETPC
; @CESYSGEN ENDIF CE_MODULES_KEYBD
; @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
IF BSP_CSPIBUS1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CSPI1]
"Prefix"="SPI"
"Dll"="cspi.dll"
"Index"=dword:1
ENDIF
IF BSP_CSPIBUS2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CSPI2]
"Prefix"="SPI"
"Dll"="cspi.dll"
"Index"=dword:2
ENDIF
IF BSP_CSPIBUS3
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CSPI3]
"Prefix"="SPI"
"Dll"="cspi.dll"
"Index"=dword:3
ENDIF
; @CESYSGEN IF CE_MODULES_DISPLAY
IF BSP_DISPLAY_NEC_NL6448BC20 || BSP_DISPLAY_SHARP_LQ035Q7DB02
; @CESYSGEN IF !DIRECTX_MODULES_DIRECTDRAW
[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
"Display"="ddi_ipu_sdc.dll"
"Order"=dword:10
[HKEY_LOCAL_MACHINE\Drivers\Display\IPU_SDC]
; MXC LCD is 240x320 16bpp
"CxScreen"=dword:F0
"CyScreen"=dword:140
"Bpp"=dword:10
; @CESYSGEN ENDIF !DIRECTX_MODULES_DIRECTDRAW
; @CESYSGEN IF DIRECTX_MODULES_DIRECTDRAW
[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
"Display"="ddraw_ipu_sdc.dll"
"Order"=dword:10
IF BSP_DISPLAY_NEC_NL6448BC20
[HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU_SDC]
"Bpp"=dword:10 ; 16bpp
"PanelType"=dword:2 ; NEC VGA Panel
"VideoMemSize"=dword:350000 ; 3.5MB
ENDIF
IF BSP_DISPLAY_SHARP_LQ035Q7DB02
[HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU_SDC]
"Bpp"=dword:10 ; 16bpp
"PanelType"=dword:1 ; Sharp QVGA Panel
"VideoMemSize"=dword:350000 ; 3.5MB ; TODO: This is probably too large. What does this truly need to be?
ENDIF
IF BSP_TVOUT_FOCUS_FS45X
[HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU_SDC]
"TVSupported"=dword:1 ; NTSC TV out mode supported
"VideoMemSize"=dword:400000 ; overwrite video memory to be larger
ELSE
[HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU_SDC]
"TVSupported"=dword:0 ; NTSC TV out mode supported
ENDIF
; @CESYSGEN ENDIF DIRECTX_MODULES_DIRECTDRAW
ENDIF
IF BSP_DISPLAY_IPU_ADC
; @CESYSGEN IF !DIRECTX_MODULES_DIRECTDRAW
[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
"Display"="ddi_ipu_adc.dll"
[HKEY_LOCAL_MACHINE\Drivers\Display\IPU_ADC]
; LCD is 176x220 16bpp
"CxScreen"=dword:B0
"CyScreen"=dword:DC
"OffsetX"=dword:3
"OffsetY"=dword:8
"Bpp"=dword:10
; @CESYSGEN ENDIF !DIRECTX_MODULES_DIRECTDRAW
ENDIF
; @CESYSGEN ENDIF CE_MODULES_DISPLAY
[HKEY_LOCAL_MACHINE\System\GDI\Rotation]
; Value Description
; 0 No rotation.
; 5A 90 degrees rotated clockwise.
; B4 180 degrees rotated clockwise.
; 10E 270 degrees rotated clockwise.
"Angle"=dword:0
[HKEY_CURRENT_USER\ControlPanel\Backlight]
"BattBacklightLevel"=dword:7 ; Backlight level settings. 0xF = Full On
"ACBacklightLevel"=dword:F ; Backlight level settings. 0xF = Full On
"BatteryTimeout"=dword:F
"ACTimeout"=dword:1E
"UseExt"=dword:0 ; Enable timeout when on external power
"UseBattery"=dword:0 ; Enable timeout when on battery
; "AdvancedCPL"="AdvBacklight" ; Enable Advanced Backlight control panel dialog
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\BackLight]
"Prefix"="BKL"
"Dll"="backLight.Dll"
"FriendlyName"="BackLight"
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}" ; PMCLASS_GENERIC_DEVICE
IF BSP_NOTOUCH !
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
"DriverName"="touch.dll"
"MaxCalError"=dword:10
; For double-tap default setting
[HKEY_CURRENT_USER\ControlPanel\Pen]
"DblTapDist"=dword:18
"DblTapTime"=dword:637
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
"MaxCalError"=dword:7
"CalibrationData"="539,520 280,259 280,778 793,781 794,259"
;For TouchPannel calibration
[HKEY_LOCAL_MACHINE\init]
; "Launch79"="tcal.exe"
; "Depend79"=hex:14,00
IF BSP_POCKETPC !
"Launch80"="touchc.exe"
"Depend80"=hex:14,00, 1e,00
ENDIF; BSP_POCKETPC !
ENDIF
; HIVE BOOT SECTION
IF BSP_NAND_FMD
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NAND_Flash]
"Dll"="nandfmd.dll"
"Order"=dword:0
"Prefix"="DSK"
"Ioctl"=dword:4
"Profile"="FlashDisk"
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"FriendlyName"="NAND FLASH Driver"
; Override names in default profile
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk]
"Name"="NAND FLASH"
"Folder"="NAND Flash"
ENDIF
; END HIVE BOOT SECTION
; @CESYSGEN IF CE_MODULES_SERIAL
IF BSP_SERIAL_UART1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM1]
"DeviceArrayIndex"=dword:0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -