📄 platform.reg
字号:
;
; 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
;============================================================================================================
IF IMGTPC
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\System\OOM]
"Reserved"=dword:80000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LowMem]
"ProgramMem"=dword:11
"ResetDivision"=dword:0
; See %_WINCROOT%\public\shellw\oak\inc\wpcpriv.h or project.reg
[HKEY_CURRENT_USER\ControlPanel\Phone]
"Features"=dword:0206C7D8
; Secure Phone feature settings.
; GSM: SHDFL_PHONE_LOCKFACILITY | SHDFL_PHONE_SIMSUPPORT
[HKEY_LOCAL_MACHINE\Security\Phone]
"Features"=dword:18
; Work around to prevent SortVol call.
;[HKEY_LOCAL_MACHINE\Security\Coldinit]
; "Locale"=dword:LOC_LCID
; Avoid pooling when Smartphone is in ScreenOff/UserIdle/Suspend/Shutdown
; @CESYSGEN IF OSSVCS_MODULES_OSSVCS
[HKEY_LOCAL_MACHINE\Software\Microsoft\SSUpdate]
"Idle Power State"=dword:01320000
; @CESYSGEN ENDIF OSSVCS_MODULES_OSSVCS
; END HIVE BOOT SECTION
ENDIF IMGTPC
;================================================================================
;================================================================================================
; Limit IE Cache to one third of the available user store : NAND 128MB->UserStore:96.45->809a, 64MB-> UserStore:33.45->2c9a
; @CESYSGEN IF IE_MODULES_WININET
; @XIPREGION IF PACKAGE_OEMDRIVERS
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content]
"CacheLimit"=dword:2dea
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF IE_MODULES_WININET
;==================================================================================================
;===============================================================================
; @CESYSGEN IF CE_MODULES_DEVICE
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\Platform]
; "ColdBootConfig"=dword:1
"Name"="SMDK6410 Evaluation Platform"
; "Type"=dword:2
; "OEM_100_PROVXML"=dword:1
; END HIVE BOOT SECTION
;-- Hive Registry Configuration ------------------------------------------------
; @CESYSGEN IF CE_MODULES_RAMFMD
IF IMGRAMFMD
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash_RAMFMD\FATFS]
"MountAsBootable"=dword:0
"MountAsRoot"=dword:1
"FormatTfat"=dword:1
; load RAMFMD in boot phase 0
; Set the Order to zero so that it loads before any other persistent
; storage device (e.g., RAMDISK)
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\RAMFMD]
"BootPhase"=dword:0
"Order"=dword:0
;
; Describe the memory range for the FMD to use on this platform.
; If these values are zero, the RAMFMD driver uses defaults.
;
; If no address is provided, RAMFMD uses VirtualAlloc() to allocate
; the buffer for the FMD emulation.
;
; If a large FMD is desired, space can be set aside using the
; g_dwExtensionRAMFMDSize FIXUPVAR in config.bib. This tells
; the OAL to set aside a certain amount of memory discovered by
; OEMGetExtensionDRAM() (which exists outside of CONFIG.BIB)
; for RAMFMD. The OAL then writes the address and size
; of the memory to these values during boot, when it handles
; the IOCTL_HAL_INITREGISTRY callback from filesys.
;
[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\RAMFMD]
"Address"=dword:0
"Size"=dword:00400000 ; 4 MB
; END HIVE BOOT SECTION
ENDIF IMGRAMFMD
; @CESYSGEN ENDIF CE_MODULES_RAMFMD
; @CESYSGEN IF FILESYS_FSREGHIVE
; HIVE BOOT SECTION
;
; We want start both storage and device manager. Flags value is combination of
; 0x00000001 Start storage manager in boot phase 1 for hive-based registry
; 0x00000002 Start device manager in boot phase 1 for hive-based registry
; 0x00000004
; 0x00000008
;
; Each device which have to be started in boot has to have set
; DEVFLAGS_BOOTPHASE_1 (0x00001000). All devices used in boot can also be
; accessed only from trusted application, so we have to set
; DEVFLAGS_TRUSTEDCALLER_ONLY (0x00010000).
;
[HKEY_LOCAL_MACHINE\Init\BootVars]
"Flags"=dword:3
; "RegistryFlags"=dword:1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFLASH]
"Flags"=dword:00011000
; END HIVE BOOT SECTION
; @CESYSGEN ELSE
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFLASH]
"Flags"=dword:00010000
; @CESYSGEN ENDIF FILESYS_FSREGHIVE
;-- Force page out on power off ------------------------------------------------
; @XIPREGION IF PACKAGE_OEMXIPKERNEL
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
"PageOutAllModules"=dword:1
; @XIPREGION ENDIF PACKAGE_OEMXIPKERNEL
;-------------------------------------------------------------------------------
; @CESYSGEN IF FILESYS_FSDBASE
IF IMGRAMFMD
[HKEY_CURRENT_USER\Software\Microsoft\Windows]
"DbPath" = "\\Storage\\mxip_initdb.vol"
"LangDbPath" = "\\Storage\\mxip_lang.vol"
ELSE
[HKEY_CURRENT_USER\Software\Microsoft\Windows]
"DbPath" = "\\mxip_initdb.vol"
"LangDbPath" = "\\mxip_lang.vol"
ENDIF IMGRAMFMD
; @CESYSGEN ENDIF FILESYS_FSDBASE
IF IMGRAMFMD
[HKEY_LOCAL_MACHINE\System\Platform]
"DataPath" = "\\Storage"
"ProcessorType" = dword:a11
[HKEY_LOCAL_MACHINE\SYSTEM\GWE\Notify]
"volume"="\\Storage\\mxip_notify.vol"
ELSE
[HKEY_LOCAL_MACHINE\System\Platform]
"DataPath" = "\\"
"PSAtRoot"=dword:1
"ProcessorType" = dword:a11
[HKEY_LOCAL_MACHINE\SYSTEM\GWE\Notify]
"volume"="\\mxip_notify.vol"
ENDIF IMGRAMFMD
;-------------------------------------------------------------------------------
IF BSP_POCKETSTORE !
;-- NAND Flash Driver ------------------------------------------------------
; @CESYSGEN IF CE_MODULES_FATFSD || CE_MODULES_TFAT || CE_MODULES_IMGFS
; @CESYSGEN IF CE_MODULES_FSDMGR
; @XIPREGION IF PACKAGE_OEMXIPKERNEL
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFLASH]
"Prefix"="DSK"
"Dll"="nandflash.dll"
"Index"=dword:1
"Order"=dword:10
"Profile"="NANDFLASH"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
; END HIVE BOOT SECTION
; @XIPREGION ENDIF PACKAGE_OEMXIPKERNEL
; @CESYSGEN ENDIF CE_MODULES_FSDMGR
; @CESYSGEN ENDIF CE_MODULES_FATFSD || CE_MODULES_TFAT || CE_MODULES_IMGFS
;---------------------------------------------------------------------------
;-- Storage Manager Configuration ----------------------------------------------
; @CESYSGEN IF CE_MODULES_FATFSD || CE_MODULES_TFAT || CE_MODULES_IMGFS
; @CESYSGEN IF CE_MODULES_FSDMGR
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\NANDFLASH]
"DriverPath"="Drivers\\BuiltIn\\NANDFLASH"
"LoadFlags"=dword:1
"Order"=dword:0
IF IMGRAMFMD !
IF IMGULDR !
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"BootPhase"=dword:0
ELSE
"MountAsBootable"=dword:0
"BootPhase"=dword:0
ENDIF IMGULDR !
ELSE
"MountAsBootable"=dword:1
"BootPhase"=dword:0
ENDIF IMGRAMFMD !
IF IMGULDR
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NANDFLASH\IMGFS]
"XIP"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NANDFLASH\FATFS]
"FormatTFAT"=dword:1
"EnableWriteBack"=dword:1
"Folder"="OSRoot"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory\FATFS]
"Folder"="OSRoot"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\RAMDisk\FATFS]
"MountAsBootable"=dword:1
; describe the memory range for RAMDisk to use on this platform
[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\RAMDisk]
"Size"=dword:00A00000
; Make sure we don't start the updateapp before device is finished
[HKEY_LOCAL_MACHINE\init]
"Depend40"=hex:14,00
; Increase the timeout to accommodate mounting \OSRoot
[HKEY_LOCAL_MACHINE\System\ImageUpdate\UpdateApp]
"FSDMountTimeout"=dword:20
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFLASH]
"UpdateReadOnly"=dword:1
; @CESYSGEN IF ULDR_DWNLDAPP
; ManifestFileDirs: MULTI_SZ list of dirs to search for pkgs.lst file
; ManifestFSDTimeOut: dword for each dir in ManifestFileDirs list, download
; app will wait ManifestFSDTimeOut for the dir's
; FSD to load before moving to the next dir in the
; list. Default is 10sec if not specified.
; PkgsDestDirPath: string dir on the device where pkgs are temporarily
; downloaded to.
; PkgsProgBitMapPath: string path of the bit map displayed when update app
; applies packages.
; DwnldSignedImages: hex 1 - restricts the download to only signed images
; 0 - both unsigned and signed images can be
; downloaded.
; ImgTargetDevice: string Target device for images
[HKEY_LOCAL_MACHINE\System\ImageUpdate\DwnldApp]
"ManifestFileDirs"=multi_sz:"\\desktop","\\release"
"PkgsDestDirPath"="\\temp\\dwnldapp\\pkgsdir"
"PkgsProgBitMapPath"=""
"DwnldSignedImages"=hex:00
"ImgTargetDevice"="dsk1:"
; @CESYSGEN ENDIF ULDR_DWNLDAPP
ELSE
[HKEY_LOCAL_MACHINE\System\ImageUpdate\UpdateBin]
"RequiresACPower"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NANDFLASH]
"DefaultFileSystem"="IMGFS"
"PartitionDriver"="mspart.dll"
"Name"="Microsoft Flash Disk"
"Folder"="Storage"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NANDFLASH\IMGFS]
"MountHidden"=dword:1
"MountAsROM"=dword:1
"XIP"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NANDFLASH\FATFS]
"Flags"=dword:14
"FormatTfat"=dword:1
"CheckForFormat"=dword:1
"EnableWriteBack"=dword:1
"MountAsBootable"=dword:1
IF IMGRAMFMD !
"MountAsRoot"=dword:1
ENDIF IMGRAMFMD !
; @CESYSGEN IF CE_MODULES_FSREPLXFILT
IF IMGRAMFMD !
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NANDFLASH\FATFS\Filters\fsreplxfilt]
"Dll"="fsreplxfilt.dll"
"Order"=dword:1 ; must be loaded before other filters
ELSE
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash_RAMFMD\FATFS\Filters\fsreplxfilt]
"Dll"="fsreplxfilt.dll"
"Order"=dword:1 ; must be loaded before other filters
ENDIF IMGRAMFMD !
; @CESYSGEN ENDIF CE_MODULES_FSREPLXFILT
ENDIF IMGULDR
; END HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\Relfsd]
"Dll"="relfsd.dll"
"Paging"=dword:0
"LoadFlags"=dword:1
; @CESYSGEN ENDIF CE_MODULES_FSDMGR
; @CESYSGEN ENDIF CE_MODULES_FATFSD || CE_MODULES_TFAT || CE_MODULES_IMGFS
;-------------------------------------------------------------------------------
ENDIF BSP_POCKETSTORE !
;===============================================================================
;------------------------------------------------------------------------------
; @CESYSGEN IF WCESHELLFE_MODULES_CTLPNL
; @XIPREGION IF PACKAGE_OEMDRIVERS
; 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
; @XIPREGION ENDIF PACKAGE_OEMDRIVERS
; @CESYSGEN ENDIF WCESHELLFE_MODULES_CTLPNL
;------------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -