📄 platform.reg
字号:
IF BSP_NOIRDA ! ;IMGNOIRDA !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrDA]
"Dll"="bvdmain_serial.Dll"
"IoBase"=dword:a4c00000 ;STUART_BASE_U_VIRTUAL
"Irq"=dword:0 ;20 - Dummy value. This subkey is not really used by the driver.
"Tsp"="Unimodem.dll"
"IoLen"=dword:30
"DeviceArrayIndex"=dword:4
"Prefix"="COM"
"Order"=dword:1
;"DeviceType"=dword:6 ; if its a IRCOMM_MODEM
"DeviceType"=dword:2 ; its an internal modem
"Index"=dword:4
"FriendlyName"="Native IR:"
"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
;IrCOMM settings in COMMON.REG
;NDIS protocol Tags Below
;Protocol binding for miniport drivers for build-in IR
;IRDA protocol stacks uses it to bind to the IrSIR miniport
[HKEY_LOCAL_MACHINE\Comm\IrDA\Linkage]
"Bind"=multi_sz:"XSC1_IrDA1"
[HKEY_LOCAL_MACHINE\Comm\IrDA]
"SlotTimeout"=dword:48
;Miniport driver
[HKEY_LOCAL_MACHINE\Comm\XSC1_IrDA]
"DisplayName"="XScale1 IrDA Driver"
"Group"="NDIS"
"ImagePath"="irsir.dll"
;Miniport driver instance
[HKEY_LOCAL_MACHINE\Comm\XSC1_IrDA\Linkage]
"Route"=multi_sz:"XSC1_IrDA1"
;Miniport driver instance's parameters
;Real COM port opened by the Serial IR driver
[HKEY_LOCAL_MACHINE\Comm\XSC1_IrDA1\Parms]
"BusNumber"=dword:0
"BusType"=dword:0
;Port same as the DeviceArrayIndex for IrDA?
"Port"=dword:4 ; RAW/Physical PORT
; 0 = Use external dongle, 1 = Use internal IR
"IntIR"=dword:1
; 0 = Internal transceiver, 1 = Extended Systems JetEye dongle
"TransceiverType"=dword:0
;Baud = 115200
"Baud"=dword:3F
"DisablePowerManagement"=dword:1
ENDIF ; ;!IF BSP_NOIRDA; !IF IMGNOIRDA
;
IF PLAT_BTUART_NOSERIAL !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"Dll"="bvdmain_serial.Dll"
"IoBase"=dword:a4700000 ;BTUART_BASE_U_VIRTUAL
"Irq"=dword:0 ;21 - Dummy value. This subkey is not really used by the driver.
"Tsp"="Unimodem.dll"
"IoLen"=dword:30
"DeviceArrayIndex"=dword:2
"Prefix"="COM"
"Order"=dword:1
"Index"=dword:5
;"Priority256"=dword:67 ; Using default priority value
"DeviceType"=dword:0
"FriendlyName"="Serial Cable on SP2:"
; Eliminate flow control bit
"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
ENDIF ; !IF BSP_NOSERIAL
;
IF BSP_NOUSBCLIENT !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\USB]
"Dll"="bvd_udc_ser.Dll"
"Irq"=dword:0 ; 11 - Dummy value. This subkey is not really used by the driver.
"IoLen"=dword:1000 ; UDC Register space 0x1000 (4K)
"Tsp"="Unimodem.dll"
"DeviceArrayIndex"=dword:0
"Prefix"="COM"
"Order"=dword:0
"DeviceType"=dword:0
"FriendlyName"="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:"xsc1USB1"
[HKEY_LOCAL_MACHINE\Comm\xsc1USB]
"DisplayName"="XScale USB Function Driver"
"Group"="Serial"
"ImagePath"="xsc1_usb_ser.dll"
[HKEY_LOCAL_MACHINE\Comm\xsc1USB\Linkage]
"Route"=multi_sz:"xsc1USB1"
[HKEY_LOCAL_MACHINE\Comm\xsc1USB1\Parms]
ENDIF
;Connectoids
[HKEY_LOCAL_MACHINE\Comm\DefaultConnections]
"`USB Default"=multi_sz:"USB Cable:","115200"
;IF BSP_NORIL ;Using BTUART for RIL.
;"`19200 Default"=multi_sz:"Serial Cable on COM1:","19200"
;"`BT 115200"=multi_sz:"Serial Cable on SP2:","115200"
;"`BT 57600"=multi_sz:"Serial Cable on SP2:","57600"
;"`BT 38400"=multi_sz:"Serial Cable on SP2:","38400"
;"`BT 19200"=multi_sz:"Serial Cable on SP2:","19200"
;ENDIF BSP_NORIL
;Default Connectoid
[HKEY_CURRENT_USER\ControlPanel\Comm]
"Cnct"="`USB Default"
;;RIL driver support
IF BSP_NORIL !
IF IMGNOOSSVCSRIL !
IF IMGTESTPCMCIARADIO !
IF IMGMULTIXIP
{BEGIN XIPREG PHONE}
ENDIF ; IMGMULTIXIP
; Registry key to load the RIL driver at boot time
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]
;IF SYSGEN_GSMSKU
"Dll"="rilgsm.dll"
;ENDIF ; SYSGEN_GSMSKU
IF SYSGEN_CDMASKU
"Dll"="rilcdma.dll"
ENDIF ; SYSGEN_CDMASKU
"Prefix"="RIL"
"Order"=dword:3
"Index"=dword:1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\VirtCOM]
;IF SYSGEN_GSMSKU
"Dll"="rilgsm.dll"
;ENDIF ; SYSGEN_GSMSKU
IF SYSGEN_CDMASKU
"Dll"="rilcdma.dll"
ENDIF ; SYSGEN_CDMASKU
"Prefix"="COM"
"Order"=dword:2
"Index"=dword:9
IF SYSGEN_CDMASKU
IF IMGSUNDANCE
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
;This defines where the Data port is assigned, defaults to COM2:
"PrimaryPort"="COM5:"
;This defines where the CNS port is assigned, defaults to COM1:
"SecondaryPort"="COM1:"
;This defines the base timeout period, defaults to 1000
"ApiTimeOut"=dword:3E8
;Wait time for the SMS Timeout (max wait for network ack)
"SMSTimeout"=dword:EA60
"ConnectResponseDelay"=dword:3E8
"CSCDialTimeout"=dword:15F90
ENDIF ; IMGSUNDANCE
ENDIF ; SYSGEN_CDMASKU
;IF SYSGEN_GSMSKU
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SimContacts]
"RadioEnableDelay"=dword:3E8 ; Decimal 1000 (units are milliseconds)
;ENDIF ; SYSGEN_GSMSKU
IF IMGMULTIXIP
{END XIPREG PHONE}
ENDIF ; IMGMULTIXIP
ENDIF IMGTESTPCMCIARADIO !
ENDIF IMGNOOSSVCSRIL !
[HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]
; Additional initialization commands for RIL to send to the underlying serial port
; +VGR=176 : Sets gain on received audio
"ComInitString"="+VGR=176"
"ComPort"="COM5:" ;Use BTUART for RIL.
;"ComPort"="COM1:" ;Use FFUART for RIL.
ENDIF BSP_NORIL !
; @CESYSGEN ENDIF CE_MODULES_DEVICE
; Copied from PGrine\public\common\oak\files\common.reg for the purpose of overriding
; (As found in Build # 12309)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
"ACSuspendTimeout"=dword:0 ; timeout disabled on AC power
; "ACResumingSuspendTimeout"=dword:F ; "15 seconds" (actually 15 ms: 15 seconds would be 3A98)
"ACResumingSuspendTimeout"=dword:0 ; No automatic re-suspend after resume
"BattSuspendTimeout"=dword:B4 ; "3 minutes" (180 seconds) on battery
; "BattResumingSuspendTimeout"=dword:F ; "15 seconds" (actually 15 ms: 15 seconds would be 3A98)
"BattResumingSuspendTimeout"=dword:0 ; No automatic re-suspend after resume
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Ethernet (for CS8900 chip)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;IF BSP_CS8900
[HKEY_LOCAL_MACHINE\Drivers\CS8900]
"Dll"="ndis.dll"
"Prefix"="NDS"
"Miniport"="CS8900"
[HKEY_LOCAL_MACHINE\Comm\CS8900]
"DisplayName"="CS8900"
"Group"="NDIS"
"ImagePath"="CS8900A.dll"
[HKEY_LOCAL_MACHINE\Comm\CS8900\Linkage]
"Route"=multi_sz:"CS89001"
[HKEY_LOCAL_MACHINE\Comm\CS89001]
"DisplayName"="CS8900"
"Group"="NDIS"
"ImagePath"="CS8900A.dll"
[HKEY_LOCAL_MACHINE\Comm\CS89001\Parms]
"BusNumber"=dword:0
"BusType"=dword:0
"SysIntr"=dword:1B
"InterruptNumber"=dword:1B
"IoBaseAddress"=dword:96800300
"Transceiver"=dword:3
"CardType"=dword:1
[HKEY_LOCAL_MACHINE\Comm\CS89001\Parms\TcpIp]
"EnableDHCP"=dword:0
"DefaultGateway"="192.168.0.1"
"LLInterface"=""
"UseZeroBroadcast"=dword:0
"IpAddress"="192.168.0.123"
"Subnetmask"="255.255.255.0"
"DNS"="192.168.0.1"
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
"Bind"="CS89001"
;ENDIF
;=======================ADD FOR LAN91C111
IF BSP_CS8900
[HKEY_LOCAL_MACHINE\Comm\LAN9000]
"DisplayName"="SMC LAN91C111 Ethernet"
"Group"="NDIS"
"ImagePath"="LAN91C111.DLL"
[HKEY_LOCAL_MACHINE\Comm\LAN9000\Linkage]
"Route"=multi_sz:"LAN90001"
[HKEY_LOCAL_MACHINE\Comm\LAN90001]
"DisplayName"="SMC LAN91C111 Ethernet"
"Group"="NDIS"
"ImagePath"="LAN91C111.DLL"
[HKEY_LOCAL_MACHINE\Comm\LAN90001\Parms]
"BusNumber"=dword:0
"BusType"=dword:1
"InterruptNumber"=dword:20 ;<= interrupt number, in hex
"IoBaseAddress"=dword:B6700300 ;<= IOBase address, in hex (SEE NOTE)
"Transceiver"=dword:1E;<= Enter the correct sysintr value here.
"sysintr"=dword:20
[HKEY_LOCAL_MACHINE\Comm\LAN90001\Parms\TcpIp]
"EnableDHCP"=dword:0 ;1 ;<== set to 1 if DHCP enabled.
"DefaultGateway"="192.168.0.1" ;(contd) If set to 0 then enter the values next entries
"UseZeroBroadcast"=dword:0
"IpAddress"="192.168.0.169"
"Subnetmask"="255.255.255.0"
"DNS"="202.96.134.133" ;add dns
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
"Bind"=multi_sz:"LAN90001"
ENDIF
;Connectoids
[HKEY_LOCAL_MACHINE\Comm\DefaultConnections]
"`USB Default"=multi_sz:"USB Cable:","19200"
;IF BSP_NORIL ;Using BTUART for RIL.
;"`19200 Default"=multi_sz:"Serial Cable on COM1:","19200"
;"`BT 115200"=multi_sz:"Serial Cable on SP2:","115200"
;"`BT 57600"=multi_sz:"Serial Cable on SP2:","57600"
;"`BT 38400"=multi_sz:"Serial Cable on SP2:","38400"
;"`BT 19200"=multi_sz:"Serial Cable on SP2:","19200"
;ENDIF BSP_NORIL
;Default Connectoid
IF LOCALE = 0804
[HKEY_CURRENT_USER\Comm\RasBook\PC连接]
ELSE
[HKEY_CURRENT_USER\Comm\RasBook\PC CONNECTION]
ENDIF
"Entry"=hex:\
08,02,40,00,00,00,00,00,00,00,00,00,00,00,00,00,0b,00,00,00,00,00,00,00,00,\
19,0e,00,12,00,00,00,72,00,00,00,c9,00,00,00,82,00,00,00,b4,43,04,03,e0,19,\
0e,00,e0,19,0e,00,8c,1c,04,03,00,00,00,00,4c,e9,03,0c,00,00,00,00,00,00,00,\
00,00,00,00,00,8c,1c,04,03,f0,aa,00,00,90,ea,03,0c,00,00,00,00,01,00,00,00,\
c8,e9,03,0c,8c,1c,04,03,2c,67,51,00,02,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,8c,1c,04,03,00,00,00,00,00,00,00,00,00,00,00,00,aa,aa,aa,aa,00,00,00,\
00,ff,ff,00,00,df,fd,ff,ff,14,f5,61,ba,00,00,00,00,00,00,00,00,e0,01,00,00,\
ff,ff,ff,ff,02,00,00,00,46,00,00,00,00,00,00,00,07,00,00,00,c0,fb,ff,ff,0b,\
00,00,00,f0,f0,00,00,ff,ff,00,00,00,00,ff,ff,f8,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,90,cb,04,03,98,00,00,00,f7,00,00,00,df,00,00,00,00,99,0b,\
00,7e,67,4f,5a,00,00,00,00,00,99,0b,00,7e,67,4f,5a,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,64,00,69,00,72,\
00,65,00,63,00,74,00,00,00,04,0c,b4,ea,03,0c,00,00,00,00,64,ea,03,0c,00,00,\
00,00,00,00,55,00,53,00,42,00,20,00,43,00,61,00,62,00,6c,00,65,00,3a,00,00,\
00,01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,a8,ac,10,00,\
00,00,00,00,00,19,0e,00,00,00,00,00,04,00,00,00,c2,d4,5e,7a,a0,fa,ff,01,00,\
c8,ff,ff,18,72,f8,03,5c,33,08,08,00,99,0b,00,7e,67,4f,5a,00,00,00,00,2c,eb,\
03,0c,0a,00,00,00,0a,00,00,00,dc,03,04,00,01,00,00,00,00,00,00,00,00,19,0e,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,c2,d4,5e,7a,5c,33,08,00,\
ac,ac,10,00,dd,00,00,00,0a,00,00,00,08,01,00,00,9a,27,04,0c,00,00,00,00,00,\
00,00,00,89,01,00,00,00,00,00,00,00,00,00,00,01,00,00,00,98,eb,03,0c,9a,27,\
04,0c,00,00,00,00,80,03,0f,08,0a,00,00,00,80,7f,01,00,9a,27,04,0c,00,00,00,\
00,00,c8,ff,ff,0a,00,00,00,70,76,51,00,9a,27,04,0c,89,01,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,51,00,00,00,00,00,00,00,00,00,00,\
c8,ff,ff,21,00,00,00,40,6d,51,00,f4,eb,03,0c,a8,0d,f8,03,40,6d,51,00,eb,ff,\
ff,ff,00,00,00,00,89,01,00,00,00,99,0b,00,7e,67,4f,5a,08,ec,03,0c,70,5b,01,\
00,00,99,0b,00,0a,00,00,00,d0,8b,01,00,00,00,00,00,00,00,00,00,08,01,00,00,\
44,00,00,00,40,04,00,00,00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,80,\
74,51,00,50,ec,03,0c,ac,e6,07,00,70,76,51,00,89,01,00,00,00,00,00,00,9a,27,\
04,0c,9a,27,04,0c,01,00,00,00,0d,00,00,00,0d,00,00,00,81,00,00,00,9a,27,04,\
0c,80,74,51,00,64,c7,07,00,df,00,00,00,09,ff,ff,ff,f7,fe,ff,ff,98,00,00,00,\
09,ff,ff,ff,df,00,00,00,22,ff,ff,ff,f8,00,00,00,69,ff,ff,ff,0a,01,00,00,f8,\
00,00,00,22,ff,ff,ff,0a,01,00,00,69,ff,ff,ff,22,ff,ff,ff,f7,fe,ff,ff,69,ff,\
ff,ff,09,ff,ff,ff,f7,fe,ff,ff,b6,26,4f,5a,a0,fa,ff,01,00,c8,ff,ff,3c,5f,f8,\
03,81,00,00,00,0d,00,00,00,50,72,51,00,04,05,04,00,a0,fa,ff,01,00,c8,ff,ff,\
68,c6,07,00,9a,27,04,0c,00,99,0b,00,7e,67,4f,5a,00,00,00,00,04,ed,03,0c,0a,\
00,00,00,0a,00,00,00,dc,03,04,00,14,ed,03,0c,18,ed,03,0c,0a,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,c2,d4,5e,7a,68,c6,07,00,9a,27,04,\
0c,00,c8,ff,ff,0a,00,00,00,00,00,00,00,9a,27,04,0c,00,00,00,00,81,00,00,00,\
0d,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,70,ed,03,0c,9a,27,04,0c,00,\
00,00,00,80,03,0f,08,0a,00,00,00,80,7f,01,00,9a,27,04,0c,00,00,00,00,00,ff,\
ff,ff,0a,00,00,00,50,72,51,00,c0,ed,03,0c,00,00,00,00,00,00,00,0c,00,fe,cb,\
96,0f,00,00,00,00,00,00,00,c4,b3,00,f0,00,00,00,00,a4,f0,03,0c,00,c8,ff,ff,\
00,00,00,00,00,00,00,00,00,20,04,00,40,6d,51,00,2c,d5,cb,96,f1,ec,ff,ff,00,\
00,00,00,1f,00,00,00,00,00,00,00
[HKEY_CURRENT_USER\ControlPanel\Comm]
IF LOCALE = 0804
AutoCnct=dword:1
"Cnct"="PC连接"
ELSE
AutoCnct=dword:1
"Cnct"="PC CONNECTION"
ENDIF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -