⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 platform.reg.txt

📁 增加串口,主要是wince方面的
💻 TXT
📖 第 1 页 / 共 3 页
字号:
;
; 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
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\init\BootVars]
   "SYSTEMHIVE"="Documents and Settings\\system.hv"
   "PROFILEDIR"="Documents and Settings"
   "Start DevMgr"=dword:0
; END HIVE BOOT SECTION
; @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
; 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
; @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: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

; @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
;IF BSP_NOPCMCIA !
; Make sure the driver gets loaded. The PCMCIA driver opens its own key
; in HKLM\Drivers\PCMCIA to extract useful info so this key only needs to
; provide enough info to get the dll loaded at the right time. The GUID
; the IClass value is immutable and matches the one in cardserv.h.
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCMCIA]
   "Dll"="PCMCIA.dll"
   "Order"=dword:0
   "IClass"=multi_sz:"{6BEAB08A-8914-42fd-B33F-61968B9AAB32}=PCMCIA Card Services"
   "FSD"="atadisk.dll"
;ENDIF BSP_NOPCMCIA !
; @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\UART0]
   "DeviceArrayIndex"=dword:0
   "Irq"=dword:03
   "IoBase"=dword:50000000
   "IoLen"=dword:2C
   "Prefix"="COM"
   "Dll"="SER2410.Dll"
   "Order"=dword:0
   "Index"=dword:1
   "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

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\UART1]
   "DeviceArrayIndex"=dword:1
   "Irq"=dword:13
   "IoBase"=dword:50004000
   "IoLen"=dword:2C
   "Prefix"="COM"
   "Dll"="SER2410.Dll"
   "Order"=dword:0
   "Index"=dword:2
   "Priority"=dword:0
   "Port"="COM2:"
   "DeviceType"=dword:0
   "FriendlyName"="Serial Cable on COM2:"
   "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

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\UART2]
   "DeviceArrayIndex"=dword:2
   "Irq"=dword:09
   "IoBase"=dword:50008000
   "IoLen"=dword:2C
   "Prefix"="COM"
   "Dll"="SER2410.Dll"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -