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

📄 platform.reg

📁 6410BSP1
💻 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 DRIVERS_DIR $(_PUBLICROOT)\common\oak\drivers

;-------------------------------------------------------------------------
; @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:1		; 1 => keybd only
	"InputConfig"=dword:2		; 2 => touch screen only
;	"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
;-------------------------------------------------------------------------


;------------ Display Driver -------------------------------------------------
; @CESYSGEN IF CE_MODULES_DISPLAY
IF BSP_NODISPLAY !
[HKEY_LOCAL_MACHINE\Drivers\Display\s3c6410\Config]
	"DisplayDll"="s3c6410_disp.dll"

[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
	"Display"="s3c6410_disp.dll"

; Settings to rotate the screen by 0 degrees clockwise upon download
[HKEY_LOCAL_MACHINE\System\GDI\Rotation]
	"Angle"=dword:0

; GWES will pass this value to the Display driver; the driver will open the
; key to which it points to read its configuration.
[HKEY_LOCAL_MACHINE\System\GDI\DisplayCandidates]
	"Candidate10"="Drivers\\Display\\s3c6410\\Config"

; Let GWES save/restore video memory during suspend/resume
[HKEY_LOCAL_MACHINE\SYSTEM\GWE]
;	"PORepaint"=dword:0 - the display driver handles everything
;	"PORepaint"=dword:1 - gwe should save and restore the bits
;	"PORepaint"=dword:2 - gwe should invalidate and repaint
;	"PORepaint"=dword:3 - gwe and driver need to save video memory
	"PORepaint"=dword:1

ENDIF BSP_NODISPLAY !
; @CESYSGEN ENDIF CE_MODULES_DISPLAY
;-------------------------------------------------------------------------


;------------ Touch Driver -------------------------------------------------
; @CESYSGEN IF CE_MODULES_POINTER
IF BSP_NOTOUCH !
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
	"DriverName"="s3c6410_touch.dll"
	"MaxCalError"=dword:7
; 3.5" QVGA Landscape
;	"CalibrationData"="504,508 233,236 231,788 785,792 790,227"
; 4.8" WVGA Landscape
	; for S3C6410 SMRP 12bit, X_Y inversion 
	"CalibrationData"="2107,2038 2826,3092 1380,3099 1392,1001 2821,1004"
	; for S3C6410 SMRP 12bit
;	"CalibrationData"="2108,1981 1131,2643 1133,1343 3079,1339 3078,2616"
	; for S3C6410 12bit
;	"CalibrationData"="2098,1998 1013,2663 997,1339 3187,1312 3195,2665"
	; for S3C6410 10bit
;	"CalibrationData"="519,501 253,671 246,335 794,331 794,663"
	; for S3C6400
;	"CalibrationData"="508,490 200,735 204,246 820,240 823,731"
; 4.8" WVGA Landscape as D1 (720x480)
;	"CalibrationData"="473,492 189,747 188,244 751,238 748,748"
; 4.8" WVGA Landscape as QVGA Landscape
;	"CalibrationData"="278,642 158,766 159,517 404,520 405,757"
; 4.8" WVGA Landscape as QVGA Portrait
;	"CalibrationData"="244,586 152,754 152,426 332,425 334,747"
; 4.8" WVGA Landscape as 480x320
;	"CalibrationData"="362,592 171,761 173,431 547,427 543,755"
; 4.8" WVGA Landscape as 320x480
;	"CalibrationData"="276,489 156,740 156,240 402,238 396,732"
ENDIF BSP_NOTOUCH !
; @CESYSGEN ENDIF CE_MODULES_POINTER
;-------------------------------------------------------------------------


;--------------Key Board Driver---------------------------------------------
; @CESYSGEN IF CE_MODULES_KEYBD
IF BSP_NOKEYBD !
#include "$(_TARGETPLATROOT)\Src\drivers\keybd\keybd.reg"
#include "$(_TARGETPLATROOT)\Src\drivers\keybd\LayMgr.reg"
ENDIF BSP_NOKEYBD !
; @CESYSGEN ENDIF CE_MODULES_KEYBD
;------------------------------------------------------------------------------


;------------ Direct3D Mobile -----------------------------------------------
; @CESYSGEN IF DIRECTX_MODULES_D3DM
IF BSP_NOD3DM !
[HKEY_LOCAL_MACHINE\System\D3DM\Drivers]
	"LocalHook"="d3dm_sedrv.dll"
ENDIF BSP_NOD3DM !
; @CESYSGEN ENDIF DIRECTX_MODULES_D3DM
;-------------------------------------------------------------------------


;-------------------------------------------------------------------------
; HIVE BOOT SECTION

[HKEY_LOCAL_MACHINE\Drivers\Resources\IRQ]
	"Identifier"=dword:1
	"Minimum"=dword:1
	"Space"=dword:20
	"Ranges"="1-0x20"

[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
	"Identifier"=dword:2
	"Minimum"=dword:0
	"Space"=dword:10000
	"Ranges"="0-0xFFFF"

IF IMGHIVEREG
[HKEY_LOCAL_MACHINE\Init\BootVars]
	"Flags"=dword:3
ENDIF IMGHIVEREG

; END HIVE BOOT SECTION
;-------------------------------------------------------------------------


;-------------------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_DEVICE


;-------------- NAND Flash Block Device Driver ----------------------------------
; @CESYSGEN IF CE_MODULES_FSDMGR
; HIVE BOOT SECTION
IF BSP_IROM_SDMMC_CH0_BOOT !
IF BSP_IROM_SDMMC_CH1_BOOT !

IF BSP_POCKETMORY

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

IF IMGHIVEREG
	"MountAsBootable"=dword:1
ENDIF IMGHIVEREG

[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\SMFlash]
	"Prefix"="DSK"
	"Dll"="BIBDrv.dll"
	"Order"=dword:0
	"Ioctl"=dword:4
	"Profile"="SMFlash"
	"FriendlyName"="Samsung Flash Driver"
	"MountFlags"=dword:11	
	"BootPhase"=dword:0
	
IF IMGHIVEREG
	"Flags"=dword:1000
ENDIF IMGHIVEREG

; Bind BINFS to the block driver
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SMFlash]
	"DefaultFileSystem"="BINFS"
	"PartitionDriver"="mspart.dll"
	"AutoMount"=dword:1
	"AutoPart"=dword:1
	"MountFlags"=dword:11
	"Folder"="ResidentFlash"
	"Name"="Samsung Flash Disk"
	"BootPhase"=dword:0
    	
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SMFlash\BINFS]
    "MountHidden"=dword:1
    "MountAsROM"=dword:1
    
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\SMFlash\Filters\CacheFilt]
    "Dll"="cachefilt.dll"
    "LockIOBuffers"=dword:1


[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FDSK]
   "Prefix"="DSK"
   "Dll"="ONDisk.dll"
   "Order"=dword:1
;   "Index"=dword:1
   "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
   "Profile"="FDSK"
   "BmlVolumeId"=dword:0	; BML volume ID = 0
   "BmlPartitionId"=dword:8	; BML parition ID = PARTITION_ID_FILESYSTEM
   "WMRStartSector"=dword:0
   "WMRNumOfSector"=dword:10000	; 32MByte
   "ONDSectorShift"=dword:2     ; (512 << 2) : 2K Page

IF IMGHIVEREG
   "Flags"=dword:1000
ENDIF IMGHIVEREG

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FDSK]
    "DefaultFileSystem"="FATFS"
    "PartitionDriver"="mspart.dll"
    "Name"="PocketMory MLC Disk"
;    "Folder"="PocketMory"
    "AutoMount"=dword:1
    "AutoPart"=dword:1
    "AutoFormat"=dword:1
;    "MountFlags"=dword:0
;    "Ioctl"=dword:4

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FDSK]
    "DriverPath"="Drivers\\BuiltIn\\FDSK"
    ; LoadFlags 0x01 == load synchronously
    "LoadFlags"=dword:1
    "BootPhase"=dword:0

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FDSK\FATFS]
    "FriendlyName"="PocketMory FAT FileSystem"
;    "Dll"="fatfsd.dll"
    "Flags"=dword:00000014			; FATFS_ENABLE_BACKUP_FAT | FATFS_DISABLE_AUTOSCAN
    "Folder"="PocketMory"
    "FormatExfat"=dword:1
;    "EnableCacheWarm"=dword:0
    "CheckForFormat"=dword:1
    "EnableWriteBack"=dword:1
	
    "MountAsRoot"=dword:1		; for ROM-only file system    
    
    "DisableAutoScan"=dword:1
    
IF IMGHIVEREG
   "MountAsBootable"=dword:1
ENDIF IMGHIVEREG

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FDSK\Filters\CacheFilt]
    "Dll"="cachefilt.dll"
    "LockIOBuffers"=dword:1

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FDSK\FATFS\Filters\CacheFilt]
    "Dll"="cachefilt.dll"
    "LockIOBuffers"=dword:1

;----------------------------------------------------------------------------
; 2nd FAT Area
;----------------------------------------------------------------------------

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FDSK1]
   "Prefix"="DSK"
   "Dll"="ONDisk.dll"
   "Order"=dword:1
;   "Index"=dword:1
   "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
   "Profile"="FDSK1"
   "BmlVolumeId"=dword:0		; BML volume ID = 0
   "BmlPartitionId"=dword:9	; BML parition ID = PARTITION_ID_FILESYSTEM1
   "WMRStartSector"=dword:10000
   "WMRNumOfSector"=dword:ffffffff	; last location
   "ONDSectorShift"=dword:2     ; (512 << 2) : 2K Page
   

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FDSK1]
    "DefaultFileSystem"="FATFS"
    "PartitionDriver"="mspart.dll"
    "Name"="PocketMory MLC Disk1"
;    "Folder"="PocketMory1"
    "AutoMount"=dword:1
    "AutoPart"=dword:1
    "AutoFormat"=dword:1
;    "MountFlags"=dword:0
;    "Ioctl"=dword:4

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FDSK1]
    "DriverPath"="Drivers\\BuiltIn\\FDSK1"
    ; LoadFlags 0x01 == load synchronously
    "LoadFlags"=dword:1
    "BootPhase"=dword:0


[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FDSK1\FATFS]
    "FriendlyName"="PocketMory FAT FileSystem1"
;    "Dll"="fatfsd.dll"
    "Flags"=dword:00000014			; FATFS_ENABLE_BACKUP_FAT | FATFS_DISABLE_AUTOSCAN
    "Folder"="PocketMory1"
    "FormatExfat"=dword:1
;    "EnableCacheWarm"=dword:0
    "CheckForFormat"=dword:1
    "EnableWriteBack"=dword:1


[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FDSK1\Filters\CacheFilt]
    "Dll"="cachefilt.dll"
    "LockIOBuffers"=dword:1

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FDSK1\FATFS\Filters\CacheFilt]
    "Dll"="cachefilt.dll"
    "LockIOBuffers"=dword:1


ENDIF BSP_POCKETMORY
ENDIF BSP_IROM_SDMMC_CH1_BOOT !
ENDIF BSP_IROM_SDMMC_CH0_BOOT !

; END HIVE BOOT SECTION
; @CESYSGEN ENDIF CE_MODULES_FSDMGR
;-------------------------------------------------------------------------


;-------------- HSMMC/SD Device Driver ---------------------------------------
; @CESYSGEN IF CE_MODULES_SDBUS
IF BSP_IROM_SDMMC_CH0_BOOT !
IF BSP_NOHSMMC_CH0 !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\HSMMC0]
	"InterfaceType"=dword:0					; Internal
	"Order"=dword:15
	"Dll"="s3c6410_hsmmc0.dll"
	"Prefix"="HSC"
	"ObjectCreationProc"="CreateHSMMCHCCh0Object"
	"MemBase"=dword:7C200000
	"MemLen"=dword:100
	"Irq"=dword:5E							; HSMMC0 Virtual IRQ = 94 (0x5E), Physical IRQ = 56
	"BaseClockFrequency"=dword:2DC6C00		; 5B8D800->96MHz, 2DC6C00->48MHz, 16E3600->24MHz, B71B00->12MHz
	"TimeoutClockFrequency"=dword:2DC6C00		; 5B8D800->96MHz, 2DC6C00->48MHz, 16E3600->24MHz, B71B00->12MHz
ENDIF BSP_NOHSMMC_CH0 !

⌨️ 快捷键说明

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