📄 platform.reg
字号:
"Irq"=dword:3E
"GpioTrans"=dword:91
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\UFN]
"Prefix"="UFN"
"Dll"="usbfn.dll"
"Index"=dword:1
"Order"=dword:20
"MemBase"=multi_sz:"FFFB4000","FFFED900","FFFED940"
"MemLen"=multi_sz:"00000400","00000040","00000040"
"Irq"=multi_sz:"3D","02","03"
"IClass"= multi_sz:"{E2BDC372-598F-4619-BC50-54B3F7848D35}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
"BusIoctl"=dword:2a0048
ENDIF BSP_NOUSBFN !
ENDIF BSP_NOUSB !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_USBFN
;-------------------------------------------------------------------------------
;-------------------------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_USBD
; @CESYSGEN IF CE_MODULES_USBFN
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOUSB !
IF BSP_USB_OHCI
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\OTG]
"SupportHCD"=dword:1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\HCD]
"Prefix"="HCD"
"Dll"="ohcd.dll"
"Index"=dword:1
"Order"=dword:20
"MemBase"=dword:FFFBA000
"MemLen"=dword:00000400
"Irq"=dword:3B
"IClass"=multi_sz:"{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
"BusIoctl"=dword:002a0048
ENDIF BSP_USB_OHCI
ENDIF BSP_NOUSB !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_USBFN
; @CESYSGEN ENDIF CE_MODULES_USBD
;-------------------------------------------------------------------------------
;-- SDIO host controller driver ------------------------------------------------
; @CESYSGEN IF CE_MODULES_SDBUS
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOSDHC !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDHC]
"Order"=dword:21
"Dll"="sdhc.dll"
"Prefix"="SHC"
"MemBase"=dword:FFFB7800
"MemLen"=dword:00000100
"SDIOPriority"=dword:d3
"CDPriority"=dword:d4
; "BaseClockFrequency"=dword: ; you can override the max clock rate (24 MHz) here
; "SDIOSysIntr"=dword:
"SDIOIrq"=dword:37 ; 54 decimal
;jiangyanjun add 2007-05-16@11:00, changing CardDetectGPIO value from 0x08 to 0x4d
"CardDetectGPIO"=dword:4d ; card insertion detection is done via GPIO 0x4d
;jiangyanjun add 2007-05-16@11:00, power supply GPIO
"CardPowerGPIO"=dword:27
"CardInsertedState"=dword:0 ; logical 0 means a card is inserted
;jiangyanjun add 2007-05-16@11:00, GPIO_67 use already for bluetooth, no use here
;"CardReadWriteGPIO"=dword:43 ; card R/W protection detection is done via GPIO 0x43
;jiangyanjun add 2007-05-16@11:00, no use
;"CardWriteProtectedState"=dword:1 ; logical 1 means the card is write protected
; "CardDetectSysIntr"=dword:
; "CardDetectIrq"=dword:
; "DmaSysIntr"=dword:
"DmaIrq"=dword:58 ; 88 decimal, IRQ_DMA_CH10
; uncomment the line below to enable the GPIO workaround to the SDIO interrupt problem
"EnableGPIOWorkaround"=dword:1
; uncomment the line below to enable the INAB workaround to the SDIO interrupt problem
; "EnableINABWorkaround"=dword:1
"WakeupSources"=dword:2 ; 0 - no wakeup, 1 - wakeup on SDIO, 2 - wakeup on card detect, 3 - wakeup on both
"IClass"=multi_sz:"{A32942B7-920C-486b-B0E6-92A702A99B35}"
ENDIF BSP_NOSDHC !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_SDBUS
;-------------------------------------------------------------------------------
;-- Serial driver --------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_SERIAL
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOSERIAL !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
"Prefix"="COM"
"Dll"="uart.dll"
"Index"=dword:1
"Order"=dword:9
"DeviceArrayIndex"=dword:0
"MemBase"=multi_sz:"FFFB0000","FFFE1000"
"MemLen"=multi_sz:"00000400","00000800"
"Irq"=dword:2F
ENDIF BSP_NOSERIAL !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_SERIAL
;-------------------------------------------------------------------------------
;-- Serial driver for GPS tanyu 2007-8-2 --------------------------------------
; @CESYSGEN IF CE_MODULES_SERIAL
; @XIPREGION IF PACKAGE_OEMDRIVERS
;IF BSP_NOSERIAL !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial4GPS]
"Prefix"="COM"
"Dll"="GPS_uart.dll"
"Index"=dword:3
"Order"=dword:10
"DeviceArrayIndex"=dword:3
"IrqGPIO"=dword:52 ;82
"Priority256"=dword:67
"RxBuffer"=dword:2000
;ENDIF BSP_NOSERIAL !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_SERIAL
;-------------------------------------------------------------------------------
;-- Bluetooth driver --------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_BTD
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOBLUETOOTH !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
"HWMode"=dword:1
; Modified by yangyuan@Longcheer for BlueTooth 2006-12-1 15:16
[-HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Transports\BuiltIn\1]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Transports\BuiltIn\1]
"Driver"="bthbcsp.dll"
"Baud"=dword:1BFCD8 ;3686400(0x384000--PSKey:15100(3afc));1834200(0x1BFCD8--PSKey: 7513(0x1d59)); 921600(e1000-PSkey:0ebf) ;115200 ;230400
"Priority256"=dword:84 ;132
"PacketSize"=dword:c0 ;192
"SerialTimeoutConstant"=dword:5
"SerialIntervalTimeout"=dword:ffffffff
"ReopenDelay"=dword:64 ;100
"FlashChip"=dword:0
; Add by yangyuan;2007-3-1 for the 3rd hardware version;
"BtPowerGpio"=dword:4e ;78
"BtResetGpio"=dword:85 ;133
; Option
"serialBufferSize"=dword:1000
"dumpKeys"=dword:0
"sniffMethod"=dword:0
; "powerManagementEnabled"=dword:0
; ++ Added by yangyuan@Longcheer 2007-1-4 15:34 for Bluetooth receive file
; [HKEY_LOCAL_MACHINE\Software\Microsoft\Obex]
; "IsEnabled"=-
; "IsEnabled"=dword:1
; -- Added by yangyuan@Longcheer 2007-1-4 15:34 for Bluetooth receive file
; "Driver"="brf6100.dll"
; Enable handsfree/headset profile support
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HandsfreeProfileOn]
ENDIF BSP_NOBLUETOOTH !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_BTD
;-------------------------------------------------------------------------------
;-- IrDA -----------------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_IRDASTK
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOIRDA !
; Remove irsir entries that come from the os package (common.reg)
[-HKEY_LOCAL_MACHINE\Comm\Irsir]
[-HKEY_LOCAL_MACHINE\Comm\Irsir1]
[HKEY_LOCAL_MACHINE\Comm\IrDA\Linkage]
"Bind"=multi_sz:"IrDA1"
[HKEY_LOCAL_MACHINE\Comm\IrDA]
"DisplayName"=LOC_DISPLAYNAME_IRSIR
"Group"="NDIS"
"ImagePath"="irda.dll"
[HKEY_LOCAL_MACHINE\Comm\IrDA\Linkage]
"Route"=multi_sz:"IrDA1"
[HKEY_LOCAL_MACHINE\Comm\IrDA1\Parms]
"BusNumber"=dword:0
"BusType"=dword:0
"MemBase"=dword:FFFB0800
"MemLen"=dword:0800
"Irq"=dword:2E
; add by jiangyanjun, control IR Tx GPIO_37, IR Rx GPIO_38
"IrTxGPIO"=dword:25
"IrRxGPIO"=dword:26
; add by jiangyanjun, control IR shutdown GPIO_67
; modified by jiangyanjun; 2007-3-1; for the 3rd hw version;
"IrShutDownGPIO"=dword:43
ENDIF BSP_NOIRDA !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_IRDASTK
;-------------------------------------------------------------------------------
;Added by caijianbing 2007-6-20
;------------------------------------------------------------------------------
; @CESYSGEN IF SHELLW_MODULES_CAMERADIAGNOSE
#include "$(_TARGETPLATROOT)\Files\Drivers\camera\ov9650.reg"
; @CESYSGEN ENDIF SHELLW_MODULES_CAMERADIAGNOSE
;===============================================================================
; @CESYSGEN ENDIF CE_MODULES_DEVICE
;===============================================================================
;===============================================================================
; @CESYSGEN IF CE_MODULES_DISPLAY
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NODISPLAY !
[HKEY_LOCAL_MACHINE\SYSTEM\GWE]
; "PORepaint"=dword:0 - the display driver handles everything
; "PORepaint"=dword:1 - gwe should save and restore the bits
; "PORepaint"=dword:2 - gwe should invalidate and repaint
; "PORepaint"=dword:3 - gwe and driver need to save video memory
;
"PORepaint"=dword:1
[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
"Display"="ddi.dll"
"MemBase"=multi_sz:"FFFEC000","FFFEE3C0","20002000","FFFED980","FFFE1000"
"MemLen"=multi_sz:"00000100","00000040","00030000","00000040","00000800"
"PowerDelay"=dword:ea60 ; 60s
; System enter idle mode after xxx s. Added by yangyuan@Longcheer 7/9/2007 11:04 AM
;[HKEY_CURRENT_USER\ControlPanel\Power]
; "Display"=dword:A ; 0x3c seconds == 1 min.
IF IMG131DPI
[HKEY_LOCAL_MACHINE\Drivers\Display\GPE]
"LogicalPixelsX"=dword:83
"LogicalPixelsY"=dword:83
ENDIF;IMG131DPI
ENDIF BSP_NODISPLAY !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_DISPLAY
;===============================================================================
;Added by yangzhihong,2007-4-21 11:23, disable touch panel detection when system start
;added by yangzhihong,for touch panel driver
; @XIPREGION IF PACKAGE_OEMDRIVERS
;[HKEY_LOCAL_MACHINE\Software\Microsoft\Welcome]
; "Disable"=dword:FFFFFFFF
[HKEY_LOCAL_MACHINE\ControlPanel]
"InputConfig"=dword:3 ; 3 => keybd and touch screen
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
IF _IMAGELANGIDLIST=0409
"DriverName"="touch.dll"
ENDIF
IF _IMAGELANGIDLIST=0804
"DriverName"="hwtouch.dll"
ENDIF
"MaxCalError"=dword:10
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;------------------------Vibrator-----------------------------------------------
; Added by yangzhihong, 2007-01-23, for vibrator
; @CESYSGEN IF CE_MODULES_NLEDDRVR
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NONLED !
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\System\Events]
"SYSTEM/NLedAPIsReady"="Notification LED APIs"
; END HIVE BOOT SECTION
; These registry entries load the NLed driver. The IClass value must match
; the NLED_DRIVER_CLASS definition in nled.h -- this is how the system
; knows which device is the battery driver. Note that we are using
; DEVFLAGS_NAKEDENTRIES with this driver. This tells the device manager
; to instantiate the device with the prefix named in the registry but to look
; for DLL entry points without the prefix. For example, it will look for Init
; instead of NLD_Init. This allows the prefix to be changed in the registry (if
; desired) without editing the driver code.
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NLed]
"Prefix"="NLD"
"Dll"="nleddrvr.dll"
"Flags"=dword:8 ; DEVFLAGS_NAKEDENTRIES
"Index"=dword:1
"Order"=dword:0
"IClass"="{CBB4F234-F35F-485b-A490-ADC7804A4EF3}"
; Modify by yangzhihong; 2007-3-1
"GpioVibrator"=dword:91
ENDIF BSP_NONLED !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_NLEDDRVR
;===============================================================================
;--------------------------------------------------------------------------------
;Added by yangzhihong,2007-06-26,14:57
; @XIPREGION IF PACKAGE_OEMDRIVERS
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\HDSHOOK]
"Prefix"="HHK"
"Dll"="hdshook.dll"
"Flags"=dword:00010000
"Index"=dword:1
"Order"=dword:18
"Gpio"=dword:4E
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;===============================================================================
;-------------------------Power Manager-----------------------------------------------
; Added by yangzhihong, 2007_03_03
; Modified by JIANGYANJUN, 2007.08.21
; @XIPREGION IF PACKAGE_OEMDRIVERS
;
; In this system power state, the user may be interacting with the
; system, but the backlight is off
;
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\BacklightOff]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\BacklightOff]
"Default"=dword:0 ; D0
"Flags"=dword:10010000 ; POWER_STATE_ON | POWER_STATE_PASSWORD
"bkl1:"=dword:1 ; D1
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;===============================================================================
;--------------------------------------------------------------------------------
; JIANGYANJUN add 2007.08.21
;
; @CESYSGEN IF PM_PM_PDA_PDD
; In this system power state, the system is suspended. Devices are turned
; off, interrupts are not being serviced, and the CPU is stopped.
;
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\Suspend]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\Suspend]
"Default"=dword:3 ; D3
"Flags"=dword:200000 ; POWER_STATE_SUSPEND
"bkl1:"=dword:4 ; backlight off
; @CESYSGEN ENDIF PM_PM_PDA_PDD
;===============================================================================
; @XIPREGION IF PACKAGE_OEMDRIVERS
[HKEY_LOCAL_MACHINE\System\ErrorReporting\DumpSettings]
"UploadClient"=""
"HideCPL"=dword:1
[HKEY_LOCAL_MACHINE\System\ErrorReporting\UploadSettings]
"DontUpload"=dword:1
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;--------------------------------------------------------------------------------
;Added by yangzhihong for unchecking "turn off device if no used for some minutes" in the power management page;2007-7-12
; @XIPREGION IF PACKAGE_OEMDRIVERS
[-HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro\Power\Timeouts]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
; @CESYSGEN IF PM_PM_DEFAULT_PDD
"ACUserIdle"=dword:3c ; in seconds
"ACSystemIdle"=dword:12c ; in seconds
"ACSuspend"=dword:0 ; in seconds
"BattUserIdle"=dword:3c ; in seconds
"BattSystemIdle"=dword:b4 ; in seconds
"BattSuspend"=dword:12c ; in seconds
; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD
; @CESYSGEN IF PM_PM_PDA_PDD
"ACSuspendTimeout"=dword:0 ; timeout disabled on AC power
"ACResumingSuspendTimeout"=dword:F ; 15 seconds
"BattSuspendTimeout"=dword:3C ; 1 minutes on battery
"BattResumingSuspendTimeout"=dword:F; 15 seconds
; @CESYSGEN ENDIF ; PM_PM_PDA_PDD
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;================================================================================
;----------------------3rd-----------------------------------------------------
;Added by caijianbing;2007-8-9
#include "$(_TARGETPLATROOT)\Files\3RD\3RD.reg"
;==============================================================================
;-------------------- dshow -----------------------------------------
;
; Add DShow Modules to target, yangyibin
IF LCT_DSHOW_ON
#include "$(_TARGETPLATROOT)\Files\3rd\DShow\DShow.reg"
ENDIF ; LCT_DSHOW_ON
;===============================================================================
;Added by yangzhihong,2007-8-14 16:33
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF _IMAGELANGIDLIST=0409
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40c1]
@="\"\\Windows\\Start Menu\\Programs\\Windows Media.lnk\""
"WndCls"=""
"BtnWnd"=dword:00000000
"Flags"=dword:00000000
"ResetFlags"=dword:00000001
"Icon"="ShellRes.dll, 4617"
"Name"="MP3 Button"
ENDIF
IF _IMAGELANGIDLIST=0804
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40c1]
@="\x005C\x0022\x005C\x005C\x0057\x0069\x006E\x0064\x006F\x0077\x0073\x005C\x005C\x201C\x5F00\x59CB\x201D\x83DC\x5355\x005C\x005C\x7A0B\x5E8F\x005C\x005C\x0057\x0069\x006E\x0064\x006F\x0077\x0073\x0020\x004D\x0065\x0064\x0069\x0061\x002E\x006C\x006E\x006B\x005C\x0022"
"WndCls"=""
"BtnWnd"=dword:00000000
"Flags"=dword:00000000
"ResetFlags"=dword:00000001
"Icon"="ShellRes.dll, -4617"
"Name"="MP3 Button"
ENDIF
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40c3]
@="\"\\Windows\\camera.lnk\""
"WndCls"=""
"BtnWnd"=dword:00000000
"Flags"=dword:00000000
"ResetFlags"=dword:00000001
"Icon"="ShellRes.dll, 4617"
"Name"="Camera Button"
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;===============================================================================
;-------------------- contrast -----------------------------------------
;Added by dingxiaohua,2007-8-30 17:33
; @XIPREGION IF PACKAGE_OEMDRIVERS
[HKEY_LOCAL_MACHINE\ControlPanel\Contrast]
"Redirect"=""
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;===============================================================================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -