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

📄 platform.reg

📁 2440开发板pb4.2增加两个串口需更改的文件。
💻 REG
📖 第 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

;[HKEY_LOCAL_MACHINE\init]
; "Launch80"="lhd071.exe"
; "Depend80"=hex:1e,00,14,00
 
; Copyright ?1999 Intel Corp. 
; Platform type: 1=DK3, 2=ODO 3=Rose
[HKEY_LOCAL_MACHINE\Platform]
	"Name"=LOC_PLATFORMNAME
	"Type"=dword:2
   
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\init\BootVars]
  "SYSTEMHIVE"="system.hv"
;   "PROFILEDIR"="Documents and Settings"
  "Start DevMgr"=dword:1
  "RegistryFlags"=dword:1

[HKEY_LOCAL_MACHINE\init\BootVars]
   "DefaultUser"="default"

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FlashDrv]
  "DriverPath"="Drivers\\BlockDevice\\FlashDrv"
  "LoadFlags"=dword:1
  "MountFlags"=dword:11
  "BootPhase"=dword:0
   "Flags"=dword:1000

[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\FlashDrv]
  "Prefix"="DSK"
  "Dll"="FLASHDRV.dll"
  "Order"=dword:0
  "Ioctl"=dword:4
  "Profile"="FlashDrv"
  "FriendlyName"="MS Flash Driver"
  "MountFlags"=dword:11
  "BootPhase"=dword:0
   "Flags"=dword:1000

; Bind BINFS to the block driver
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv]
  "DefaultFileSystem"="BINFS"
  "PartitionDriver"="mspart.dll"
  "AutoMount"=dword:1
  "AutoPart"=dword:1
  "AutoFormat"=dword:1
  "MountFlags"=dword:2
  "Folder"="SmofxREG"
  "Name"="Smofx Disk"
  "BootPhase"=dword:0
   "Flags"=dword:1000
; 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

[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
; for 640x480 display
;	"CalibrationData"="1356,976 2528,1800 2536,136 180,168 176,1820 "
; for 240x320 display
;	"CalibrationData"="479,647 127,211 135,1055 831,1091 831,183 "
	"CalibrationData"="471,667 111,231 119,1099 819,1099 819,235 "
; for 320x240 display
;	"CalibrationData"="479,663 99,191 99,1159 859,1151 863,191 "
; @CESYSGEN ENDIF CE_MODULES_POINTER   

; @CESYSGEN IF CE_MODULES_DISPLAY
IF BSP_NODISPLAY !
[HKEY_LOCAL_MACHINE\Drivers\Display\S3C2440\CONFIG]
	"DisplayDll"="s3c2440disp.dll"
	"LCDVirtualFrameBase"=dword:ac1d0000
	"LCDPhysicalFrameBase"=dword:301d0000

[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
	"Display"="s3c2440disp.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\\S3C2440\\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\PBUT2440]
	"Dll"="pwrbtn_pcf.dll"
	"Prefix"="DSK"
	"Index"=dword:2
	"Order"=dword:2
	"Ioctl"=dword:4
	"FSD"= "fatfs.dll"
ENDIF BSP_NOPWRBTN !

IF BSP_NOPWRBTNPCF50606 !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PWRBTN_PCF50606]
    "Prefix"="PWR"
    "Dll"="PWRBTN_PCF.DLL"
    "Order"=dword:0
    "FriendlyName"="Power Controller Driver"
    "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"   ; Power-manageable generic
ENDIF BSP_NOPWRBTNPCF50606 !

IF BSP_NOAUDIO !
IF BSP_NOAC97 !
; @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
;ENDIF BSP_NOAC97 !
;IF BSP_NOAC97
ELSE
; @CESYSGEN IF CE_MODULES_WAVEAPI
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio]
	"Prefix"="WAV"
	"Dll"="wavedev_ac97.dll"
	"Index"=dword:1
	"Order"=dword:0
; @CESYSGEN ENDIF CE_MODULES_WAVEAPI
ENDIF BSP_NOAC97
[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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[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"="sc2440_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"="SC2440 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:"SC2440USB1"
    
[HKEY_LOCAL_MACHINE\Comm\SC2440USB]
	"DisplayName"="SC2440 USB Driver"
	"Group"="Serial"
	"ImagePath"="sc2440_usb_ser.dll"

[HKEY_LOCAL_MACHINE\Comm\SC2440USB\Linkage]
	"Route"=multi_sz:"SC2440USB1"

[HKEY_LOCAL_MACHINE\Comm\SC2440USB1\Parms]
ENDIF BSP_NOUSBSER !
; @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"="SER2440.Dll"
   "Order"=dword:0
   "Index"=dword:1
   "Priority"=dword:0
   "Port"="COM1:"
   "DeviceType"=dword:0
   "FriendlyName"="Serial 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"="SER2440.Dll"
   "Order"=dword:0
   "Index"=dword:2
   "Priority"=dword:0
   "Port"="COM2:"
   "DeviceType"=dword:0
   "FriendlyName"="Serial 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"="SER2440.Dll"
   "Order"=dword:0
   "Index"=dword:3

⌨️ 快捷键说明

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