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

📄 platform.reg

📁 WINCE 下电池驱动的源代码
💻 REG
📖 第 1 页 / 共 3 页
字号:
      00,00,00,16,10,00,00,00,25,00,00,00,00,00,00,00,30,7c,2b,00,00,00,00,00,ba,\
      25,04,16,00,00,00,00,02,00,00,00,89,01,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,01,00,00,00,18,e9,03,16,ba,25,04,16,00,00,00,00,30,3c,10,0a,10,00,00,\
      00,a4,7b,01,00,ba,25,04,16,00,00,00,00,00,15,f8,03,10,00,00,00,e0,9c,2b,00,\
      ba,25,04,16,89,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0a,00,00,00,30,\
      7c,2b,00,00,00,00,00,0a,00,00,00,8c,e1,03,00,60,27,0b,00,76,51,cc,ad,00,00,\
      00,00,6c,e9,03,16,02,00,00,00,89,01,00,00,60,27,0b,00,76,51,cc,ad,80,e9,03,\
      16,60,57,01,00,60,27,0b,00,10,00,00,00,48,87,01,00,00,00,00,00,00,00,00,00,\
      a0,21,e6,01,04,21,a9,02,8a,76,c2,ad,20,86,01,00,00,00,00,00,ba,25,04,16,ba,\
      25,04,16,02,00,00,00,c8,e9,03,16,d4,8f,07,00,e0,9c,2b,00,89,01,00,00,02,00,\
      00,00,ba,25,04,16,0d,00,00,00,0d,00,00,00,81,00,00,00,ba,25,04,16,90,9c,2b,\
      00,01,00,00,00,60,9a,2b,00,d4,ea,03,16,5c,72,07,00,08,6c,04,80,e4,b9,00,f0,\
      30,7c,2b,00,00,00,00,00,00,00,00,00,0a,00,00,00,00,00,00,00,0a,00,00,00,f4,\
      3c,04,80,0a,00,00,00,00,00,00,00,10,00,00,00,00,c8,ff,ff,00,00,00,00,3c,13,\
      00,00,8a,76,c2,ad,50,f8,ff,01,00,c8,ff,ff,d8,4f,f8,03,81,00,00,00,0d,00,00,\
      00,00,00,00,00,a0,d0,03,00,50,f8,ff,01,00,c8,ff,ff,ba,25,04,16,7c,71,07,00,\
      60,27,0b,00,76,51,cc,ad,00,00,00,00,70,ea,03,16,7c,71,07,00,7c,71,07,00,70,\
      cf,03,00,7c,ea,03,16,80,ea,03,16,00,00,00,00,00,00,00,00,00,00,00,00,96,ad,\
      dd,ad,7c,71,07,00,ba,25,04,16,00,00,00,00,10,00,00,00,02,ff,ff,ff,8a,76,c2,\
      ad,00,00,00,00,00,00,00,00,ba,25,04,16,00,00,00,00,81,00,00,00,0d,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,e4,ea,03,16,ba,25,04,16,00,\
      00,00,00,30,3c,10,0a,10,00,00,00,a4,7b,01,00,ba,25,04,16,00,00,00,00,00,00,\
      00,00,2c,eb,03,16,00,00,00,00,00,00,00,16,a4,66,04,80,0f,00,00,00,00,00,00,\
      00,c4,b3,00,f0,00,00,00,00,78,ee,03,16,00,00,00,00,00,00,00,00,78,ee,03,16,\
      20,1e,04,00,30,7c,2b,00,c8,3c,04,80,f1,ec,ff,ff,00,00,00,00,10,00,00,00,00,\
      c8,ff,ff,e4,64,fa,03,00,00,00,00


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Ethernet (for CS8900 chip)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF BSP_CS8900
[HKEY_LOCAL_MACHINE\Drivers\CS8900]
	"Dll"="ndis.dll"
	"Prefix"="NDS"
	"Miniport"="CS8900"

[HKEY_LOCAL_MACHINE\Comm\CS8900]
	"DisplayName"="CS8900"
	"Group"="NDIS"
	"ImagePath"="CS8900.dll"

[HKEY_LOCAL_MACHINE\Comm\CS8900\Linkage]
	"Route"=multi_sz:"CS89001"

[HKEY_LOCAL_MACHINE\Comm\CS89001]
	"DisplayName"="CS8900"
	"Group"="NDIS"
	"ImagePath"="CS8900.dll"

[HKEY_LOCAL_MACHINE\Comm\CS89001\Parms]
	"BusNumber"=dword:0
	"BusType"=dword:0
	"SysIntr"=dword:1A
	"InterruptNumber"=dword:1A
	"IoBaseAddress"=dword:A7000300
	"Transceiver"=dword:3
	"CardType"=dword:1

[HKEY_LOCAL_MACHINE\Comm\CS89001\Parms\TcpIp]
   "EnableDHCP"=dword:1
	"LLInterface"=""
	"UseZeroBroadcast"=dword:0


[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
	"Bind"="CS89001"
ENDIF



;[HKEY_LOCAL_MACHINE\Comm\LAN9000]
;"DisplayName"="SMC LAN91C113 Ethernet"
;"Group"="NDIS"
;"ImagePath"="YF_LAN91C113.DLL"


[HKEY_LOCAL_MACHINE\Comm\LAN9000\Linkage]
"Route"=multi_sz:"LAN90001"

;[HKEY_LOCAL_MACHINE\Comm\LAN90001]
;"DisplayName"="SMC LAN91C113 Ethernet"
;"Group"="NDIS"
;"ImagePath"="YF_LAN91C113.DLL"

[HKEY_LOCAL_MACHINE\Comm\LAN90001\Parms]
"BusNumber"=dword:0
"BusType"=dword:1
"InterruptNumber"=dword:21 ;<= interrupt number, in hex
"IoBaseAddress"=dword: A9000300 ;<= IOBase address, in hex (SEE NOTE)
"Transceiver"=dword:21;<= Enter the correct sysintr value here.
"sysintr"=dword:21

[HKEY_LOCAL_MACHINE\Comm\LAN90001\Parms\TcpIp]
"EnableDHCP"=dword:1 ;<== set to 1 if DHCP enabled.
"DefaultGateway"="" ;(contd) If set to 0 then enter the values next entries
"UseZeroBroadcast"=dword:0
"IpAddress"=""
"Subnetmask"=""

[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
"Bind"=multi_sz:"LAN90001"

; SDIO
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[HKEY_LOCAL_MACHINE\Drivers\Builtin\SDBusDriver]
	"Order"=dword:20
	"Dll"="SDBusDriver.dll"
	"Entry"="SDBusDriverStartUp"

[HKEY_LOCAL_MACHINE\Drivers\SDCARD\SDBusDriver]
	"Order"=dword:20
	"Dll"="SDBusDriver.dll"
	"Prefix"="SDC"
	"ThreadPriority"=dword:64     ; default thread priority for dispatch thread
	"RequestListDepth"=dword:30   ; pre-allocated requests 
;	"ZoneMask"=dword:e01d        ; example zone mask

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
	"Name"="SD Memory Card"
	"Folder"="SDMEM"
;	"PartitionDriver"=""          ; removable storage cannot have partitions

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMC]
	"Name"="MMC Card"
	"Folder"="MMC Card"
;	"PartitionDriver"=""          ; removable storage cannot have partitions

; SD Memory Storage class driver 
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]
	"Dll"="SDMemory.dll"
	"Prefix"="DSK"
	"FSD"="FATFS.DLL"	
	"IOCTL"=dword:4             ; DISK_IOCTL_INITIALIZE, sent to driver by DeviceManager
	"BlockTransferSize"=dword:40 ; Send no more than 64 blocks of data per bus transfer
;	"SingleBlockWrites"=dword:1 ; alternatively force the driver to use single block access

	"Profile"="SDMemory"
	"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",   
                     "{A32942B7-920C-486b-B0E6-92A702A99B35}"  
   
; MMC Storage Class Driver
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\MMC_Class]
	"Dll"="SDMemory.dll"
;	"Prefix"="SMC"  
	"Prefix"="DSK"  
	"FSD"="FATFS.DLL"
	"IOCTL"=dword:4             ; DISK_IOCTL_INITIALIZE, sent to driver by DeviceManager
	"BlockTransferSize"=dword:40 ; Send no more than 64 blocks of data per bus transfer
;	"SingleBlockWrites"=dword:1 ; alternatively force the driver to use single block access

	"Profile"="MMC"
	"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}", 
			"{A32942B7-920C-486b-B0E6-92A702A99B35}" 

; setting for SD bus driver to load driver
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\HostControllers\SDSC]
	"Dll"="SDCSDCard.dll"
	"Prefix"="SDC"


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Support BINFS Section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Add BinFS to partition table
[HKEY_LOCAL_MACHINE\System\StorageManager\PartitionTable]
	"21"="BINFS"

[HKEY_LOCAL_MACHINE\System\StorageManager\BINFS]
	"Folder"="BINFS"
	"FriendlyName"="Bin FileSystem"
	"Dll"="binfs.dll"
; MountFlags:
; 0x10 specifies that this file system is to be mounted as an external
;      ROM filesystem shadowing the \windows directory
; 0x1 specifies that the mountpoint \BINFS is to be hidden
;
	"MountFlags"=dword:11
	"BootPhase"=dword:0

;
; Entries to load the block driver that BINFS uses
; This is dependent on what device is used
;

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

[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

; Bind BINFS to the block driver
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv]
	"DefaultFileSystem"="BINFS"
	"PartitionDriver"="mspart.dll"
	"AutoMount"=dword:1
	"AutoPart"=dword:1
	"MountFlags"=dword:11
	"Folder"="ResidentFlash"
	"Name"="Microsoft Flash Disk"
	"BootPhase"=dword:0

; Keep FATFS from trying to shadow \Windows
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv\FATFS]
	"MountFlags"=dword:0

[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
	"MountFlags"=dword:0

IF TODO
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\Relfsd]
	"Dll"="relfsd.dll"
	"Paging"=dword:0
	"LoadFlags"=dword:1
ENDIF TODO

;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Camera]
;   "Prefix"="CIS"
;   "Dll"="camera.dll"
;  "Index"=dword:1
;   "Order"=dword:1


IF BSP_NOBATTERY !

; HIVE BOOT SECTION

[HKEY_LOCAL_MACHINE\System\Events]
    "SYSTEM/BatteryAPIsReady"="Battery Interface APIs"

; END HIVE BOOT SECTION

; These registry entries load the battery driver.  The IClass value must match
; the BATTERY_DRIVER_CLASS definition in battery.h -- this is how the system
; knows which device is the battery driver.  Note that we are using 
; DEVFLAGS_NAKEDENTRIES with this driver.  This tells the device manager
; to instantiate the device with the prefix named in the registry but to look
; for DLL entry points without the prefix.  For example, it will look for Init
; instead of BAT_Init.  This allows the prefix to be changed in the registry (if
; desired) without editing the driver code.
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Battery]
   "Prefix"="BAT"
   "Dll"="battdrvr.dll"
   "Flags"=dword:8                      ; DEVFLAGS_NAKEDENTRIES
   "Order"=dword:0
   "IClass"="{DD176277-CD34-4980-91EE-67DBEF3D8913}"

ENDIF BSP_NOBATTERY !

;
; 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:0		; in seconds
    "ACSystemIdle"=dword:0 	; in seconds
    "ACSuspend"=dword:0 		; in seconds
    "BattUserIdle"=dword:0		; in seconds
    "BattSystemIdle"=dword:0	; in seconds
    "BattSuspend"=dword:0		; in seconds
; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD
; @CESYSGEN IF PM_PM_PDA_PDD
    "ACSuspendTimeout"=dword:0				; timeout disabled on AC power
    "ACResumingSuspendTimeout"=dword:0		; 15 seconds
    "BattSuspendTimeout"=dword:0			; 3 minutes (180 seconds) on battery
    "BattResumingSuspendTimeout"=dword:0	; 15 seconds
; @CESYSGEN ENDIF ; PM_PM_PDA_PDD
;;;	"BatteryPoll"=dword:1f4		; battery polling interval, in milliseonds

⌨️ 快捷键说明

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