📄 platform.reg
字号:
;
; 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 PCI_BUS_ROOT $(BUILTIN_ROOT)\PCI
#define DRIVERS_DIR $(_PUBLICROOT)\common\oak\drivers
; Copyright ?1999 Intel Corp.
; Platform type: 1=DK3, 2=ODO 3=Rose
[HKEY_LOCAL_MACHINE\Platform]
"Name"=LOC_PLATFORMNAME
"Type"=dword:2
; @CESYSGEN IF FILESYS_FSREGHIVE
; @CESYSGEN ENDIF FILESYS_FSREGHIVE
; @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
; @CESYSGEN IF WCESHELLFE_MODULES_EXPLORER
; @CESYSGEN ENDIF WCESHELLFE_MODULES_EXPLORER
; @CESYSGEN IF CE_MODULES_DEVICE
; 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:21
"Ranges"="1-0x21"
; "Shared"=""
[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
"Identifier"=dword:2
"Minimum"=dword:0
"Space"=dword:10000
"Ranges"="0-0xFFFF"
; END HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CANBus]
"Prefix"="CAN"
"Dll"="CANBus.dll"
"Order"=dword:1
"Index"=dword:1
; @CESYSGEN IF CE_MODULES_POINTER
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
"MaxCalError"=dword:7
; portrait
; "CalibrationData"="500,512 762,268 758,760 244,758 241,266 "
; Landscape
; "CalibrationData"="515,503 763,748 258,749 269,255 764,255 "
; @CESYSGEN ENDIF CE_MODULES_POINTER
; @CESYSGEN IF CE_MODULES_DISPLAY
IF BSP_NODISPLAY !
[HKEY_LOCAL_MACHINE\Drivers\Display\S3C2410\CONFIG]
"DisplayDll"="s3c2410disp.dll"
"LCDVirtualFrameBase"=dword:ac100000
"LCDPhysicalFrameBase"=dword:30100000
[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
"Display"="s3c2410disp.dll"
; GWES will pass this value to the LCD driver; the driver will open the
; key to which it points to read its configuration.
[HKEY_LOCAL_MACHINE\System\GDI\DisplayCandidates]
"Candidate10"="Drivers\\Display\\S3C2410\\CONFIG"
ENDIF BSP_NODISPLAY !
; @CESYSGEN ENDIF CE_MODULES_DISPLAY
; @CESYSGEN IF CE_MODULES_KEYBD
; Keybd driver is the same.
IF BSP_NOKEYBD !
#include "$(DRIVERS_DIR)\keybd\keybd.reg"
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD]
"DriverName"="kbdmouse.dll"
"SysIntr"=dword:10 ; SYSINTR_FIRMWARE + 0
"IOBase"=dword:B1600000
"SSPBase"=dword:B1900000
#include "$(DRIVERS_DIR)\keybd\LayMgr.reg"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Layouts\$(input_locale)]
"Matrix"="kbdmouse.dll"
ENDIF BSP_NOKEYBD !
; @CESYSGEN ENDIF CE_MODULES_KEYBD
; @CESYSGEN IF CE_MODULES_PCMCIA
; @CESYSGEN ENDIF CE_MODULES_PCMCIA
IF BSP_NOPWRBTN !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PBUT2410]
"Dll"="pwrbtn2410.dll"
"Prefix"="DSK"
"Index"=dword:2
"Order"=dword:2
"Ioctl"=dword:4
"FSD"= "fatfs.dll"
ENDIF BSP_NOPWRBTN !
IF BSP_NOAUDIO !
; @CESYSGEN IF CE_MODULES_WAVEAPI
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio]
"Prefix"="WAV"
"Dll"="wavedev.dll"
"Index"=dword:1
"Order"=dword:0
; @CESYSGEN ENDIF CE_MODULES_WAVEAPI
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WAPIMAN\Clicks]
"ClickDLL"="WavClick.dll"
"KeyLoud"=dword:64
"KeySoft"=dword:65
"TouchLoud"=dword:66
"TouchSoft"=dword:67
ENDIF BSP_NOAUDIO !
; usb host/device
;----------------------------------------------------------------------start
; USB Host
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\OHCI]
"Prefix"="HCD"
"Dll"="ohci.dll"
"Index"=dword:1
"Order"=dword:1
"UseExistingSettings"=dword:0
"Irq"=dword:01E
"memBase"=dword:B0900000
"Priority"=dword:255
;IF BSP_NOUSBSER !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\USB]
"Dll"="sc2410_usb_ser.Dll"
"IoBase"=dword:B1200000
"Irq"=dword:B
"IoLen"=dword:130
"Tsp"="Unimodem.dll"
"DeviceArrayIndex"=dword:0
"Prefix"="COM"
"Order"=dword:2
"DeviceType"=dword:0
"FriendlyName"="SC2410 USB Cable:"
; Eliminate flow control bit
"DevConfig"=hex: 10,00,00,00,05,00,00,00,00,01,00,00,00,4B,00,00,00,00,08,00,00,00,00,00,00
[HKEY_LOCAL_MACHINE\Comm\USB\Linkage]
"Bind"=multi_sz:"SC2400USB1"
[HKEY_LOCAL_MACHINE\Comm\SC2400USB]
"DisplayName"="SC2400 USB Driver"
"Group"="Serial"
"ImagePath"="sc2410_usb_ser.dll"
[HKEY_LOCAL_MACHINE\Comm\SC2400USB\Linkage]
"Route"=multi_sz:"SC2400USB1"
[HKEY_LOCAL_MACHINE\Comm\SC2400USB1\Parms]
;ENDIF BSP_NOUSBSER !
;============= End of USB =================
; @CESYSGEN ENDIF CE_MODULES_USBD
;=============== UART0 (physical COM1 connector P1) (Serial) ===============
IF BSP_NOSERIAL !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SER2410]
"DeviceArrayIndex"=dword:0
"Irq"=dword:03
"IoBase"=dword:50000000
"IoLen"=dword:2C
"Prefix"="COM"
"Dll"="SER2410.Dll"
"Order"=dword:0
"Priority"=dword:0
"Port"="COM1:"
"DeviceType"=dword:0
"FriendlyName"="Serial Cable on COM1:"
"Tsp"="Unimodem.dll"
"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 BSP_NOSERIAL !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SER2410\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"="SER2410 UNIMODEM"
"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
; S2410 IrDA(UART2)
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IRDA2410]
"DeviceArrayIndex"=dword:1
"Irq"=dword:09
"IoBase"=dword:50008000
"IoLen"=dword:2C
"Prefix"="COM3"
"Dll"="IRDA2410.Dll"
"Order"=dword:0
"Priority"=dword:0
"Port"="COM3:"
"DeviceType"=dword:0 ; IRDA modem, 0 -> null modem
"FriendlyName"="S2410 IRDA2410"
"Index"=dword:2
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
; Force IrCOMM & NDIS, which depend on serial, to loads load later.
; This is because serial depends on utldrv.
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrCOMM]
"Order"=dword:2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NDIS]
"Order"=dword:2
[HKEY_LOCAL_MACHINE\Comm\IrDA\Linkage]
"Bind"=multi_sz:"Irsir1"
[HKEY_LOCAL_MACHINE\Comm\Irsir]
"DisplayName"=LOC_FRIENDLYINFRARED
"Group"="NDIS"
"ImagePath"="irsir.dll"
[HKEY_LOCAL_MACHINE\Comm\Irsir\Linkage]
"Route"=multi_sz:"Irsir1"
[HKEY_LOCAL_MACHINE\Comm\Irsir1\Parms]
"BusNumber"=dword:0
"BusType"=dword:0
"Port"=dword:2
; 0 = Use external dongle, 1 = Use internal IR
"IntIR"=dword:1
; 0 = Internal transceiver, 1 = Extended Systems JetEye dongle
"TransceiverType"=dword:0
;Connectoids
[HKEY_LOCAL_MACHINE\Comm\DefaultConnections]
"USB CONNECT"=multi_sz:"USB CONNECT","19200"
;LOC_19200=multi_sz:"SER2440 UNIMODEM","19200"
;LOC_38400=multi_sz:"SER2440 UNIMODEM","38400"
;LOC_115200=multi_sz:"SER2440 UNIMODEM","115200"
;LOC_IR=multi_sz:LOC_FRIENDLYINFRARED,"115200"
;LOC_57600=multi_sz:"SER2440 UNIMODEM","57600"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Default Connection Setting
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Default Connectoid
[HKEY_CURRENT_USER\ControlPanel\Comm]
"Cnct"="USB CONNECT"
"AutoCnct"=dword:00000001
[HKEY_CURRENT_USER\Comm\RasBook\USB CONNECT]
"DevCfg"=hex:\
30,00,00,00,05,00,00,00,00,01,00,00,00,4b,00,00,00,00,08,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -