📄 common.reg
字号:
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\ActivityTimers\UserActivity]
"Timeout"=dword:1 ; in seconds
; @CESYSGEN IF PM_PM_DEFAULT_PDD
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\ActivityTimers\SystemActivity]
"Timeout"=dword:1 ; in seconds
; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD
;
; Default System Power State Transition Timeouts
;
; These registry values configure the interval of time the Power Manager allows
; to pass during periods of inactivity before updating the system power state.
; The sample implementation of the power manager uses them as follows:
; On AC power, the system will be in the "On" system power state as ;
; long as the UserActivity activity timer has not expired.
; Once the UserActivity timer expires, the PM will transition to the
; "UserIdle" system power state after ACUserIdle seconds of user
; inactivity.
; After ACSystemIdle seconds of continued user inactivity, the PM will
; transition to the "SystemIdle" system power state.
; The PM will keep the system in the SystemIdle power state for as long
; as the SystemActivity activity timer has not expired. Once it expires,
; the PM will wait ACSuspend seconds before transitioning to the "Suspend"
; system power state.
; Resetting the UserActivity activity timer at any time prior to entering
; the Suspend system power state will cause the system to go back to the "On"
; system power state. The PM implements a similar algorithm on battery power
; using the BattUserIdle, BattSystemIdle, and BattSuspend timeouts.
;
; OEMs can change this state machine by customizing the PM for their platform.
;
; To remove these timeout definitions from the configuration for a platform,
; include the line:
; [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
; in the device's platform.reg file. Uncomment the line in the
; platform.reg file.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
; @CESYSGEN IF PM_PM_DEFAULT_PDD
"ACUserIdle"=dword:3c ; in seconds
"ACSystemIdle"=dword:12c ; in seconds
"ACSuspend"=dword:0 ; in seconds
"BattUserIdle"=dword:3c ; in seconds
"BattSystemIdle"=dword:b4 ; in seconds
"BattSuspend"=dword:12c ; in seconds
; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD
; @CESYSGEN IF PM_PM_PDA_PDD
"ACSuspendTimeout"=dword:0 ; timeout disabled on AC power
"ACResumingSuspendTimeout"=dword:F ; 15 seconds
"BattSuspendTimeout"=dword:B4 ; 3 minutes (180 seconds) on battery
"BattResumingSuspendTimeout"=dword:F ; 15 seconds
; @CESYSGEN ENDIF ; PM_PM_PDA_PDD
;;; "BatteryPoll"=dword:1f4 ; battery polling interval, in milliseonds
; END HIVE BOOT SECTION
; @CESYSGEN IF CE_MODULES_PCCARD
; @CESYSGEN IF PM_PM_DEFAULT_PDD
[HKEY_LOCAL_MACHINE\Drivers\PCMCIA]
"StatusChangeActivityEvent"="PowerManager/ActivityTimer/SystemActivity"
; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD
; @CESYSGEN ENDIF CE_MODULES_PCCARD
; @CESYSGEN IF CE_MODULES_GWES
; This registry setting tells GWES to signal the Power Manager
; when user input devices are active. GWES will reset this activity timer
; whenever it dequeues any type of input event (keyboard, mouse, or
; touch) from its internal queue.
[HKEY_LOCAL_MACHINE\SYSTEM\GWE]
"ActivityEvent"="PowerManager/ActivityTimer/UserActivity"
; Set GWES registry keys so that it's not fighting with the PM about
; when to suspend the system. Setting DisableGwesPowerOff to a non-
; zero value tells GWES to ignore the settings of the BattPowerOff,
; ExtPowerOff, and WakeupPowerOff values.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
"DisableGwesPowerOff"=dword:1
; @CESYSGEN IF PM_PM_PDA_PDD
;
; Create an event for GWES to signal when somebody calls SystemIdleTimerReset()
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
"SystemIdleTimerResetEvent"="PowerManager/SystemIdleTimerReset"
; @CESYSGEN ENDIF ; PM_PM_PDA_PDD
; @CESYSGEN ENDIF CE_MODULES_GWES
; @CESYSGEN IF CE_MODULES_CXPORT
; These registry settings tells the networking protocol stack to periodically
; signal the Power Manager when any sockets are in the connected state. They
; also tell the stack NOT to automatically reset the GWES idle timer (this
; enables the screen saver).
[HKEY_LOCAL_MACHINE\Comm\CXPort]
; @CESYSGEN IF PM_PM_DEFAULT_PDD
"NoIdleTimerEvent"="PowerManager/ActivityTimer/SystemActivity"
; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD
"NoIdleTimerReset"=dword:1
IF PRJ_CXPORT_PHYSHEAP
"PhysHeap"=dword:1
ENDIF
; @CESYSGEN ENDIF CE_MODULES_CXPORT
; @CESYSGEN ENDIF DEVICE_PMIF && !PM_PMSTUBS
; @CESYSGEN IF CE_MODULES_IRDASTK && CE_MODULES_SERIAL
IF BSP_NOSIR !
[HKEY_LOCAL_MACHINE\Comm\IrDA\Linkage]
"Bind"=multi_sz:"Irsir1"
[HKEY_LOCAL_MACHINE\Comm\Irsir]
"DisplayName"=LOC_DISPLAYNAME_IRSIR
"Group"="NDIS"
"ImagePath"="irsir.dll"
[HKEY_LOCAL_MACHINE\Comm\Irsir\Linkage]
"Route"=multi_sz:"Irsir1"
[HKEY_LOCAL_MACHINE\Comm\Irsir1\Parms]
"BusNumber"=dword:0
"BusType"=dword:0
"Port"=dword:1
; 0 = Use external dongle, 1 = Use internal IR
"IntIR"=dword:0
; 0 - internal transceiver, 1 - Extended Systems JetEye dongle.
"TransceiverType"=dword:1
"DisablePowerManagement"=dword:1
ENDIF BSP_NOSIR !
; @CESYSGEN ENDIF CE_MODULES_IRDASTK && CE_MODULES_SERIAL
; @CESYSGEN ENDIF CE_MODULES_DEVICE
; @CESYSGEN IF CE_MODULES_GWES
; Event based API-set ready detection
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\SYSTEM\Events]
"SYSTEM/GweApiSetReady"="Event triggered after GWES registers its API sets"
; END HIVE BOOT SECTION
; @CESYSGEN ENDIF
; @CESYSGEN IF CE_MODULES_SNMP && CE_MODULES_WINSOCK
; A value of 4 for a community means read-only access
; To allow read-write access, change to a value of 8
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\ValidCommunities]
"public"=dword:4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\RFC1156Agent]
"sysContact"="Your System Contact Here"
"sysLocation"="Your Location Here"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\ExtensionAgents]
; @CESYSGEN IF CE_MODULES_SNMP_MIBII
"1"="SOFTWARE\\Microsoft\\MIBII\\CurrentVersion"
; @CESYSGEN ENDIF
; @CESYSGEN IF CE_MODULES_SNMP_HOSTMIB
"2"="SOFTWARE\\Microsoft\\HostMIB\\CurrentVersion"
; @CESYSGEN ENDIF
; @CESYSGEN IF CE_MODULES_SNMP_SNMPTESTMIB
"4"="SOFTWARE\\Microsoft\\SNMPTestMIB\\CurrentVersion"
; @CESYSGEN ENDIF
; @CESYSGEN IF CE_MODULES_SNMP_MIBII
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MIBII\CurrentVersion]
"Pathname"="snmp_mibii.dll"
; @CESYSGEN ENDIF
; @CESYSGEN IF CE_MODULES_SNMP_HOSTMIB
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HostMIB\CurrentVersion]
"Pathname"="snmp_hostmib.dll"
; Default 120 seconds (decimal) == 78 hex
"HrSwRunCacheMaxAge"=dword:78
; @CESYSGEN ENDIF
; @CESYSGEN IF CE_MODULES_SNMP_SNMPTESTMIB
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SNMPTestMIB\CurrentVersion]
"Pathname"="snmp_snmptestmib.dll"
; @CESYSGEN ENDIF
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\EnableAuthenticationTraps]
"switch"=dword:1
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\TrapConfiguration\public]
; SYNTAX IS "1"="managername"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\TrapVersion]
"DefaultVersion"=dword:0 ; sets the default version used for traps 0 => V1 traps, 1 => v2c traps
; follow with manager IP addresses if needed, to override for a particular manager. E.G.
; "managername"=dword:1
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\PermittedManagers]
; SYNTAX IS "1"="managername"
; @CESYSGEN ENDIF
; @CESYSGEN IF FILESYS_FSREGHIVE
; HIVE BOOT SECTION
; Valid Bits for Flags registry value
; If no flags are set, the hive will be stored in the object store.
;
; 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 Start storage manager in boot phase 1 for registry in
; external ROM (such as BINFS)
; 0x00000008 Start device manager in boot phase 1 for registry in
; external ROM (such as BINFS)
[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"="Documents and Settings\\system.hv"
"ProfileDir"="Documents and Settings"
; "Start DevMgr"=dword:1
; "DefaultUser"="default"
"Flags"=dword:0
; "RegistryFlags"=dword:1 ;the register modified will auto flush to system.hv
; END HIVE BOOT SECTION
; @CESYSGEN ENDIF FILESYS_FSREGHIVE
; HIVE BOOT SECTION
; This key allows untrusted processes (when using 2 tier trust model) to access system files for read.
[HKEY_LOCAL_MACHINE\System\ObjectStore]
"AllowSystemAccess"=dword:1
; END HIVE BOOT SECTION
; Valid Bits for Flags registry value under [HKEY_LOCAL_MACHINE\init\BootVars]
; 0x00000001 Start storage manager in boot phase 1 for hive-based registry
; 0x00000002 Start device manager in boot phase 1 for hive-based registry
IF PRJ_ENABLE_FSMOUNTASROOT
; @CESYSGEN IF FILESYS_FSROMRAM
#error PRJ_ENABLE_FSMOUNTASROOT specified without specifying SYSGEN_FSROMONLY. Add SYSGEN_FSROMONLY to your configuration
; @CESYSGEN ELSE
; HIVE BOOT SECTION
IF PRJ_BOOTDEVICE_ATAPI
[HKEY_LOCAL_MACHINE\init\BootVars]
"Flags"=dword:3
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"MountAsRoot"=dword:1
ENDIF
IF PRJ_BOOTDEVICE_MSFLASH
[HKEY_LOCAL_MACHINE\init\BootVars]
"Flags"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
"MountAsRoot"=dword:1
ENDIF
; END HIVE BOOT SECTION
; @CESYSGEN ENDIF FILESYS_FSROMRAM
ENDIF
IF PRJ_ENABLE_FSREGHIVE
; @CESYSGEN IF FILESYS_FSREGHIVE
; HIVE BOOT SECTION
IF PRJ_BOOTDEVICE_MSFLASH
[HKEY_LOCAL_MACHINE\init\BootVars]
"Flags"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"MountAsBootable"=dword:1
ELSE
[HKEY_LOCAL_MACHINE\init\BootVars]
"Flags"=dword:3
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"MountAsBootable"=dword:1
ENDIF
; @CESYSGEN ELSE
#error PRJ_ENABLE_FSREGHIVE defined without including HIVE based component. Add SYSGEN_FSREGHIVE to your configuration
; @CESYSGEN ENDIF FILESYS_FSREGHIVE
; END HIVE BOOT SECTION
ENDIF
; @CESYSGEN IF CE_MODULES_FSDMGR
; HIVE BOOT SECTION
IF PRJ_ENABLE_REGFLUSH_THREAD
[HKEY_LOCAL_MACHINE\System\ObjectStore\RegFlush]
; To monitor the flushing from an external process add "ActivityName" registry value.
; The activity name is a global named event that filesystem will signal on Registry Activity.
; "ActivityName"=""
; Create an thread in filesys to perform flushing
"SpawnThread"=dword:1
; Make the thread IDLE priority
"FlushPriority256"=dword:FF
; ActivityThreshold specifies the # of reg activity before we force a flush
"ActivityThreshold"=dword:100
; Timeout period for a flush (flush occurs if there have been some changes during this period)
"FlushPeriod"=dword:3E8
ENDIF
IF PRJ_ENABLE_DBFLUSH_THREAD
[HKEY_LOCAL_MACHINE\System\ObjectStore\DBFlush]
; To monitor the flushing from an external process add "ActivityName" registry value.
; The activity name is a global named event that filesystem will signal on database Activity.
; "ActivityName"=""
; Create an thread in filesys to perform flushing
"SpawnThread"=dword:1
; Make the thread IDLE priority
"FlushPriority256"=dword:FF
; ActivityThreshold specifies the # of db activity before we force a flush
"ActivityThreshold"=dword:100
; Timeout period for a flush (flush occurs if there have been some changes during this period)
"FlushPeriod"=dword:3E8
ENDIF
; Registry value that can be queried to determine the type of registry subsystem that is in use
; 0 - RAM/ObjectStore based registry
; 1 - Hive based registry
; @CESYSGEN IF FILESYS_FSREGHIVE
[HKEY_LOCAL_MACHINE\System\ObjectStore]
"RegistryType"=dword:1
; @CESYSGEN ELSE
[HKEY_LOCAL_MACHINE\System\ObjectStore]
"RegistryType"=dword:0
; @CESYSGEN ENDIF
; Sample persistent registry dll
; @CESYSGEN IF CE_MODULES_OEMFS
[HKEY_LOCAL_MACHINE\System\ObjectStore]
"OEMFSDll"="\\windows\\oemfs.dll"
; @CESYSGEN ENDIF
; This tells Filesys to load FSDMGR
[HKEY_LOCAL_MACHINE\System\StorageManager]
"Dll"="fsdmgr.dll"
"PNPUnloadDelay"=dword:1000
; END HIVE BOOT SECTION
; @CESYSGEN IF CE_MODULES_SHELL
; HIVE BOOT SECTION
IF IMGNOKITL !
[HKEY_LOCAL_MACHINE\System\Events]
"ReleaseFSD"="ReleaseFSD"
[HKEY_LOCAL_MACHINE\Loader]
"SystemPath"=multi_sz:"\\Release\\"
; AutoLoad Filesystems
; LoadFlags - DWORD - Controls how the filesystem is loaded
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -