📄 platform.reg
字号:
;------------------------------------------------------------------------------
; @CESYSGEN IF WCESHELLFE_MODULES_EXPLORER
; @XIPREGION IF PACKAGE_OEMDRIVERS
; This registry setting controls display of the Explorer's suspend menu button
[HKEY_LOCAL_MACHINE\Explorer]
"Suspend"=dword:1
; Disable Suspend
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
"BattPowerOff"=dword:0
"ExtPowerOff"=dword:0
"WakeupPowerOff"=dword:0
"ScreenPowerOff"=dword:0
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF WCESHELLFE_MODULES_EXPLORER
;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
; @XIPREGION IF PACKAGE_OEMDRIVERS
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
"ACSuspendTimeout"=dword:0 ; timeout disabled on AC power
"ACResumingSuspendTimeout"=dword:0 ; timeout diasable on AC power
"BattSuspendTimeout"=dword:B4 ; 3 minutes (180 seconds) on battery
"BattResumingSuspendTimeout"=dword:F; 15 seconds
; Don't prompt when establishing a network connection. This is disabled for emulator
; as it would otherwise detract from the SDK emulator experience as everytime the ISV would
; launch the emulator they would be prompted. User can always go to the connections CPL
; and change the setting.
[HKEY_CURRENT_USER\ControlPanel\Notifications\{8ddf46e7-56ed-4750-9e58-afc6ce486d03}]
"Options"=dword:0
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;------------------------------------------------------------------------------
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
; @CESYSGEN IF CE_MODULES_DEVICE
; @XIPREGION IF PACKAGE_OEMDRIVERS
; 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:20
"Ranges"="1-0x20"
; "Shared"=""
[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
"Identifier"=dword:2
"Minimum"=dword:0
"Space"=dword:10000
"Ranges"="0-0xFFFF"
; END HIVE BOOT SECTION
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN IF CE_MODULES_POINTER
; @XIPREGION IF PACKAGE_OEMDRIVERS
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
"MaxCalError"=dword:7
; for S3C6410 SMRP 12bit
"CalibrationData"="2108,1981 1131,2643 1133,1343 3079,1339 3078,2616"
; for S3C6410 12bit
; "CalibrationData"="2098,1998 1013,2663 997,1339 3187,1312 3195,2665"
; for S3C6410 10bit
; "CalibrationData"="519,501 253,671 246,335 794,331 794,663"
; for S3C6400
; "CalibrationData"="508,490 200,735 204,246 820,240 823,731"
; portrait (orginal data)
; "CalibrationData"="511,509 230,238 231,776 786,780 783,238 "
; "CalibrationData"="644,480 125,98 125,869 1165,872 1156,96 "
; "CalibrationData"="500,512 762,268 758,760 244,758 241,266 "
; Landscape
; "CalibrationData"="515,503 763,748 258,749 269,255 764,255 "
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_POINTER
;------------ Display Driver -------------------------------------------------
; @CESYSGEN IF CE_MODULES_DISPLAY
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NODISPLAY !
[HKEY_LOCAL_MACHINE\Drivers\Display\s3c6410\Config]
"DisplayDll"="s3c6410_disp.dll"
[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
"Display"="s3c6410_disp.dll"
"DisplayPowerClass"="{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}"
; Settings to rotate the screen by 0 degrees clockwise upon download
[HKEY_LOCAL_MACHINE\System\GDI\Rotation]
"Angle"=dword:0
; GWES will pass this value to the Display driver; the driver will open the
; key to which it points to read its configuration.
[HKEY_LOCAL_MACHINE\System\GDI\DisplayCandidates]
"Candidate10"="Drivers\\Display\\s3c6410\\Config"
; Let GWES save/restore video memory during suspend/resume
[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:0
; Mediaplayer Video Rendering Method
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Preferences]
; "RenderMethod"=dword:0 - default (GAPI)
; "RenderMethod"=dword:1 - use Render GDI key (default GDI)
; "RenderMethod"=dword:2 - use Direct Draw
"RenderMethod"=dword:2
ENDIF BSP_NODISPLAY !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_DISPLAY
;-------------------------------------------------------------------------
;------------------------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_KEYBD
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOKEYBD !
#include "$(_TARGETPLATROOT)\Src\drivers\keybd\keybd.reg"
#include "$(_TARGETPLATROOT)\Src\drivers\keybd\LayMgr.reg"
ENDIF ; BSP_NOKEYBD !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_KEYBD
;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_PCCARD
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOPCCARD !
#include "$(_TARGETPLATROOT)\src\drivers\pccard\pcc_smdk6410.reg"
#include "$(DRIVERS_DIR)\pccard\mdd\pcc_serv.reg"
[HKEY_LOCAL_MACHINE\Drivers\PCCARD\PCMCIA\TEMPLATE\PCMCIA]
"Dll"="pcmcia.dll"
"NoConfig"=dword:1
"NoISR"=dword:1 ; Do not load any ISR.
"IClass"=multi_sz:"{6BEAB08A-8914-42fd-B33F-61968B9AAB32}=PCMCIA Card Services"
ENDIF BSP_NOPCCARD !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_PCCARD
;------------------------------------------------------------------------------
;------------ I2C Driver ------------------------------------------------------------------------------------
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOI2C !
;; I2C Bus Driver
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IIC]
"Prefix"="IIC"
"Dll"="s3c6410_iic.dll"
"Order"=dword:0
"Index"=dword:0
"Priority256"=dword:90
"Mode"=dword:1 ; Mode: 0 = POLLING, 1 = INTERRUPT
"SlaveAddress"=dword:0 ; Bus Driver's Slave Address
"FriendlyName"="IIC Bus Driver"
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}" ; Power-manageable generic
ENDIF BSP_NOI2C !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;-------------------------------------------------------------------------------------------------------------
;------------ High Speed SPI Driver ------------------------------------------
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOSPI !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\spi]
"Prefix"="SPI"
"Dll"="s3c6410_spi.dll"
"Index"=dword:1
"Order"=dword:0
ENDIF BSP_NOSPI !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;-------------------------------------------------------------------------------------------------------------
;------------- Camera Driver ------------------------------------------------------------------------------------
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOCAMERA !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CameraDriver]
"Prefix"="CAM"
"Dll"="camera.dll"
"Order"=dword:1
"Index"=dword:1
"IClass"=multi_sz:"{CB998A05-122C-4166-846A-933E4D7E3C86}","{A32942B7-920C-486b-B0E6-92A702A99B35}"
[HKEY_LOCAL_MACHINE\Software\Microsoft\DirectX\DirectShow\Capture]
"Prefix"="PIN"
"Dll"="camera.dll"
"IClass"="{C9D092D6-827A-45E2-8144-DE1982BFC3A8}"
[HKEY_LOCAL_MACHINE\Drivers\Capture\Camera]
"MemoryModel"=dword:2
"PinCount"=dword:3
ENDIF BSP_NOCAMERA!
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
;------------ Power Button Driver -------------------------------------------
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOPWRBTN !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PowerButton]
"Dll"="smdk6410_PwrBtn.dll"
"Prefix"="PWR"
"Order"=dword:0
"FriendlyName"="SMDK6410 Power Button Driver"
; "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}" ; Power-manageable generic
ENDIF BSP_NOPWRBTN !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;-------------------------------------------------------------------------
;------------ Power Control Driver -------------------------------------------
; @XIPREGION IF PACKAGE_OEMDRIVERS
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PowerControl]
"Dll"="s3c6410_PwrCon.dll"
"Prefix"="PWC"
"Order"=dword:0
"Index"=dword:0
"FriendlyName"="S3C6410 Power Control Driver"
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;-------------------------------------------------------------------------
;------------ Video Engine Driver -------------------------------------------
; @XIPREGION IF PACKAGE_OEMDRIVERS
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\VideoEngine]
"Dll"="s3c6410_Video.dll"
"Prefix"="VDE"
"Order"=dword:2
"Index"=dword:0
"FriendlyName"="S3C6410 Video Engine Driver"
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
;-------------------------------------------------------------------------
;------------------------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_WAVEAPI
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOAUDIO !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WaveDev]
"Prefix"="WAV"
"Dll"="s3c6410_wavedev.dll"
"Priority256"=dword:95
"Flags"=dword:00010000
"Index"=dword:1
"Order"=dword:3
; publish mixer & power manager interfaces
"IClass"=multi_sz:"{37168569-61C4-45fd-BD54-9442C7DBA46F}","{A32942B7-920C-486b-B0E6-92A702A99B35}"
; Uncomment this to make wave driver pageable: Flags==2 is DEVFLAGS_LOADLIBRARY
; "Flags"=dword:2
IF IMGTPC
"StreamAttenMax"=dword:2c ; -44 dB, for Smartphone
ENDIF IMGTPC
; Disable the software mixer by selecting a sample rate the driver
; doesn't support
[HKEY_LOCAL_MACHINE\Audio\SoftwareMixer]
"SampleRate"=dword:10000000
"Priority256"=dword:96
; power manager values
; "InactivityTimeout"=dword:ffffffff ; in ms, disabled if set to INFINITE
; "MaxActivityTimeout"=dword:ffffffff ; in ms, disabled if set to INFINITE
[HKEY_LOCAL_MACHINE\Drivers\BuildIn\WAPIMAN]
"Priority256"=dword:97
ENDIF BSP_NOAUDIO !
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF CE_MODULES_WAVEAPI
;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
;================= USB =================
; @CESYSGEN IF CE_MODULES_USBD
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_NOUSB !
IF BSP_NOUSBHCD !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\OHCI]
"InterfaceType"=dword:0; Internal
"Prefix"="HCD"
"Dll"="s3c6410_ohci2.dll"
"Index"=dword:1
"Order"=dword:2
"Irq"=dword:55 ; USB Host Virtual IRQ = 85 (0x55), Physical IRQ = 47 (0x2F)
"SysIntr"=dword:11 ; (SYSINTR_FIRMWARE+1)
"MemBase"=dword:74300000 ;Physical Address
"MemLen"=dword:1000
"UseExistingSettings"=dword:0
"HcdCapability"=dword:4 ; HCD_SUSPEND_ON_REQUEST
ENDIF BSP_NOUSBHCD !
IF BSP_NOUSBFN !
IF BSP_KITL != USBSERIAL
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\S3C6410_USBFN]
;; TBD, jylee
"Dll"="s3c6410_usbfn.dll"
"Prefix"="UFN"
"Order"=dword:40
"Priority256"=dword:78
;"IoBase"=dword:B1800000
;"IoLen"=dword:11000 ; chandolp 1000 --> 10000
"Irq"=dword:60 ; USB OTG Virtual IRQ = 96 (0x60), Physical IRQ = 58 (0x3A)
"BusIoctl"=dword:2a0048
"IClass"=multi_sz:"{E2BDC372-598F-4619-BC50-54B3F7848D35}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
[HKEY_LOCAL_MACHINE\init]
"Launch110"="bootcompleteapp.exe"
[HKEY_LOCAL_MACHINE\System\Events]
"OEM/BootCompleteEvent"="Notification for Boot Complete"
IF BSP_USBFN_RNDIS
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"=- ; erase previous default
"DefaultClientDriver"="RNDIS"
ENDIF
IF BSP_USBFN_SERIAL
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -