platform.reg
来自「CIRRUS 公司EP93XX系列CPU的WINCE下的BSP」· REG 代码 · 共 783 行 · 第 1/2 页
REG
783 行
"Bind"=multi_sz:"Irsir1"
[HKEY_LOCAL_MACHINE\Comm\Irsir]
"DisplayName"="Serial (COM) IrDA Driver"
"Group"="NDIS"
"ImagePath"="irsir.dll"
[HKEY_LOCAL_MACHINE\Comm\Irsir\Linkage]
"Route"=multi_sz:"Irsir1"
[HKEY_LOCAL_MACHINE\Comm\Irsir1\Parms]
; BusNumber and BusType required for NDIS.
"BusNumber"=dword:0
"BusType"=dword:0
; Serial port.
"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
"DisablePowerManagement"=dword:1
;
; Optional IrSir registry settings.
;
[HKEY_LOCAL_MACHINE\Comm\Irsir1\Parms]
; Baud - can override default supported baud rates for TranceiverTypes.
; Default internal = 2400 | 9600 | 19200 | 38400 | 57600 | 115200. (3F)
; Default ESI = 9600 | 19200 | 115200. (26)
;
; 2400 = (1 << 0), 9600 = (1 << 1), 19200 = (1 << 2),
; 38400 = (1 << 3), 57600 = (1 << 4), 115200 = (1 << 5)
;
; Note:
; ESI dongle will not allow unsupported baud rates 2400, 38400, 57600.
;
; The following example would re-apply the defaults for ESI.
"Baud"=dword:3F
ENDIF
; Keybd driver is the same.
;;;*******************************************************************
;;;
;;; Load the keyboard files.
;;;
;;;*******************************************************************
; @CESYSGEN IF CE_MODULES_POINTER
IF BSP_NOMOUSE !
#include "$(DRIVERS_DIR)\keybd\ps2_8042\8042mouse.reg"
ENDIF BSP_NOMOUSE !
; @CESYSGEN ENDIF CE_MODULES_POINTER
; @CESYSGEN IF CE_MODULES_KEYBD
IF BSP_NOKEYBD !
#include "$(DRIVERS_DIR)\keybd\keybd.reg"
#include "$(DRIVERS_DIR)\keybd\ps2_8042\8042keybd.reg"
#include "$(DRIVERS_DIR)\keybd\LayMgr.reg"
ENDIF BSP_NOKEYBD !
; @CESYSGEN ENDIF CE_MODULES_KEYBD
IF BSP_EP931X_PCMCIA
;[HKEY_LOCAL_MACHINE\Drivers\PCMCIA\ATADisk]
; Use this to override the default name of the Storage Card. Windows CE will use "Storage Card",
; "Storage Card2", "Storage Card3", etc. for the name(s).
; "Folder"="PC Card Storage Card"
;HACK:
;HACK: Title: TrueFFS not working
;HACK:
;HACK: This takes the TrueFFS driver out of the registry (so we don't have to edit
;HACK: common.reg or cesysgen.bat). It is taken out because it doesn't work on
;HACK: the platform. Not sure what the problem is yet. If this turns into a permanent
;HACK: workaround, probably want to modify cesysgen.bat.
;HACK:
[HKEY_LOCAL_MACHINE\Drivers\PCMCIA\Detect\90]
"Dll"=""
"Entry"=""
ENDIF
IF BSP_EP931X_SERIAL
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial_1]
"DeviceArrayIndex"=dword:1
"Prefix"="COM"
"Dll"="pl010serial.Dll"
"Order"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial_2]
"DeviceArrayIndex"=dword:2
"Prefix"="COM"
"Dll"="pl010serial.Dll"
"Order"=dword:0
;
; To enable Serial port 3 uncomment the following lines
; and disable support in the kernel for serial port 3.
; (kernel\hal\debug.c)
;
;
; [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial_3]
; "DeviceArrayIndex"=dword:3
; "Prefix"="COM"
; "Dll"="pl010serial.Dll"
; "Order"=dword:2
ENDIF
IF BSP_EP931X_SERMOUSE
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SerMouse]
"Index"=dword:1
"Dll"="SerMouse.dll"
"Prefix"="SRM"
"Order"=dword:1
"Port"=dword:1
ENDIF
; 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)
; For ODO setting it to 3=keybd, and touch screen
[HKEY_LOCAL_MACHINE\ControlPanel]
"InputConfig"=dword:0
; @CESYSGEN IF CE_MODULES_POINTER
;
; 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
IF BSP_EP931X_TOUCH
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
"DriverName"="touch.dll"
"MaxCalError"=dword:300
"CalibrationData"="2118,2074 1294,2822 1290,1298 2901,1282 2893,2816 "
;
; MinInvPressure is the minimum touch resistance that is needed to register a touch
;
; MaxInvPressure is the maximum touch resistance that is needed to before going out
; of polled mode
;
; MaxChange is the maximum change between touches before the sample is descarded.
;
; Default Values:
; "MinInvPressure"=dword:1500
; "MaxInvPressure"=dword:4400
; "MaxChange"=dword:120
[HKEY_CURRENT_USER\ControlPanel\Pen]
"DblTapDist"=dword:14
ENDIF
; @CESYSGEN ENDIF CE_MODULES_POINTER
; @CESYSGEN IF CE_MODULES_PCMCIA
IF BSP_EP931X_PCMCIA
;
; 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"
ENDIF
; @CESYSGEN ENDIF CE_MODULES_PCMCIA
IF BSP_EP931X_USB
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\OHCI]
"Prefix"="HCD"
"Dll"="ohci.dll"
"Index"=dword:1
"Order"=dword:1
; Resource config information. We don't have routines to modify PCI IRQ
; and mem base, so we specify two different config modes - if
; UseExistingSettings is non zero, accept whatever resources were assigned
; by the BIOS, and fill in the Irq and MemBase fields dynamically.
; Otherwise, check settings and fail driver load if IRQ doesn't match the
; registry value.
"Irq"=dword:0F
"MemBase"=dword:FFBFE000
;
; The 9301 needs EGPIO 2 cleared so that the USB device can be powered.
;
"Egpio9Clear"=dword:1
ENDIF
; USB - Mouse Driver
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\3_1_2\Generic_Sample_Mouse_Driver]
"DLL"="USBMOUSE.dll"
; USB - Mouse Driver
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Generic_Sample_Mouse_Driver]
IF BSP_EP931X_STRATA_FLASH
; This file is to be included in platform.reg if required.
;
; It use the top 4MB space of flash (EDB931x):
; uncached base address = A9C00000
; memory size = 400000
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
"Dll"="ep931xstratad.dll"
"Order"=dword:2
"Prefix"="DSK"
"Ioctl"=dword:4
"Profile"="MSFlash"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"MemBase"=dword:A9C00000
"MemLen"=dword:400000
; Override names in default profile
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"Name"="MSFLASH for STRATAFLASH"
"Folder"="NOR Flash"
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
"DriverPath"="Drivers\\BuiltIn\\StrataFMD"
; LoadFlags 0x01 == load synchronously
"LoadFlags"=dword:1
"Order"=dword:0
;;;*******************************************************************
;;;
;;; HIVE REGISTRY BOOT SECTION
;;;
;;;*******************************************************************
;;
;;[HKEY_LOCAL_MACHINE\init\BootVars]
;; "SystemHive"="\\Registry\\system.hv"
;; "Start DevMgr"=dword:1
;; "DefaultUser"="john"
;; "Flags"=dword:1
;;
;;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
;; "Dll"="stratad.dll"
;; "Order"=dword:0
;; "Prefix"="DSK"
;; "Ioctl"=dword:4
;; "Profile"="MSFlash"
;; "Flags"=dword:1000
;; "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
;; "MemBase"=dword:A9C00000
;; "MemLen"=dword:400000
;;
;;; Override names in default profile
;;[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
;; "Name"="MSFLASH for STRATAFLASH"
;; "Folder"="Registry"
;; "DefaultFileSystem"="FATFS"
;; "PartitionDriver"="mspart.dll"
;; "AutoMount"=dword:1
;; "AutoPart"=dword:1
;; "AutoFormat"=dword:1
;; "MountFlags"=dword:2
;;
;;[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
;; "MountFlags"=dword:2
;; "Dll"="fatfsd.dll"
;; "Flags"=dword:00000000
;; "Util"="fatutil.dll"
;; "Paging"=dword:1
;; "CacheSize"=dword:0
;; "EnableCache"=dword:0
;;
;;[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
;; "DriverPath"="Drivers\\BuiltIn\\StrataFMD"
;; ; LoadFlags 0x01 == load synchronously
;; "LoadFlags"=dword:1
;; "BootPhase"=dword:0
;; "Order"=dword:0
;;
;;[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
;; "EnableCache"=dword:0
;; "CacheSize"=dword:0
;;
;;
ENDIF
IF BSP_SIMULAT_PS2_KBD
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD]
"DriverName"="kbdmouse.dll"
"SysIntr"=dword:10
"IoBase"=dword:60
"IoLen"=dword:5
"BusNumber"=dword:0
"BusType"=dword:5
"EnableWake"=dword:1
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD]
"CalVKey"=dword:0
"ContLessVKey"=dword:0
"ContMoreVKey"=dword:0
"TaskManVKey"=dword:2E
ENDIF
;;;
;;; The feature of 4-in-1 card support is removed from this BSP.
;;; To add this feature, users need to sign related NDA's.
;;;
;;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MemSocket\]
;; "Dll"="MemSocket.dll"
;; "Prefix"="MSK"
;; "Order"=dword:1
;;
;;
;;IF BSP_EP931X_SD_MMC
;;
;;[HKEY_LOCAL_MACHINE\Drivers\SDDisk\]
;; "Dll"="sddisk.dll"
;; "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
;; "Prefix"="DSK"
;; "Ioctl"=dword:4
;; "FSD"="FATFS.dll"
;; "Profile"="SDMMC"
;;
;;ENDIF
;;
;;IF BSP_EP931X_MS_CARD
;;
;;[HKEY_LOCAL_MACHINE\Drivers\MSDisk\]
;; "Dll"="MSdisk.dll"
;; "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
;; "Prefix"="DSK"
;; "Ioctl"=dword:4
;; "FSD"="FATFS.dll"
;; "Profile"="MSDISK"
;;
;;ENDIF
;;
;;
;;IF BSP_EP931X_IC_CARD
;;
;;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ICCARD\]
;; "Dll"="ICCARD.dll"
;; "Prefix"="ICC"
;; "Order"=dword:3
;;
;;ENDIF
;;
;;
;;
;;[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMMC]
;; "AutoPart"=dword:0
;; "AutoFormat"=dword:0
;; "Name"="SD/MMC Drive"
;; "Folder"="SD_MMC"
;;[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSDISK]
;; "AutoPart"=dword:0
;; "AutoFormat"=dword:0
;; "Name"="Memory Stick Drive"
;; "Folder"="Memory Stick"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?