📄 platform.reg
字号:
; by the BIOS, and fill in the Irq and MemBase fields dynamically.
; Otherwise, check settings and fail driver load if IRQ doesn't match the
; registry value.
"Irq"=dword:0F
"MemBase"=dword:FFBFE000
;
; The 9301 needs EGPIO 2 cleared so that the USB device can be powered.
;
#if $(BSP_EP93XX_PLATFORM_TYPE) == EDB9301 || $(BSP_EP93XX_PLATFORM_TYPE) == EDB9302|| $(BSP_EP93XX_PLATFORM_TYPE) == EDB9307|| $(BSP_EP93XX_PLATFORM_TYPE) == EDB9312 || $(BSP_EP93XX_PLATFORM_TYPE) == EDB9315
"Egpio2Clear"=dword:1
#else
"Egpio9Clear"=dword:1
#endif
ENDIF
IF BSP_EP93XX_USB_SLAVE
;USB - ISP1581-based Slave Device Driver
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\USBSlave]
"Prefix"="UFN"
"Dll"="USBSlave.dll"
; "Index"=dword:1
; "Order"=dword:3
"BusIoctl"=dword:2a0048
"IClass"=multi_sz:"{E2BDC372-598F-4619-BC50-54B3F7848D35}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"=- ; erase previous default
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"="Serial_Class"
;[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
; "DefaultClientDriver"="Mass_Storage_Class"
;[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
; "DefaultClientDriver"="RNDIS"
;Add for RNDIS support
;[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\RNDIS]
; "UseActiveSyncIds"=dword:1
;[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\RNDIS]
; "Dll"="rndisfn.dll"
; "FriendlyName"="Rndis"
; "idVendor"=dword:045E
; "Manufacturer"="Generic Manufacturer"
; "idProduct"=dword:0301
; "Product"="Generic RNDIS"
; "bcdDevice"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"="USB Serial port"
[HKEY_CURRENT_USER\ControlPanel\Comm]
"Cnct"="UsbSerial"
"AutoCnct"=dword:1
[HKEY_CURRENT_USER\Comm\RasBook\UsbSerial]
"Entry"=hex:\
08,00,40,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,00,00,\
ff,00,00,00,00,00,00,00,00,00,01,00,00,00,28,ed,04,0c,20,10,f2,02,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,05,00,00,7a,00,00,00,78,ee,04,0c,\
b5,01,00,00,00,00,00,00,00,00,00,00,9c,ed,04,0c,00,00,00,00,78,ee,04,0c,04,\
5c,f2,02,a4,01,00,00,4f,01,00,00,b5,01,00,00,7a,00,00,00,bc,ed,04,0c,00,00,\
00,00,98,ee,04,0c,04,5c,f2,02,a4,01,00,00,fc,ed,04,0c,d8,ee,04,0c,70,19,0e,\
00,00,00,00,00,fc,a3,f2,02,00,00,00,00,00,00,00,00,ab,00,00,00,d4,a5,f2,02,\
88,00,00,00,d8,ee,04,0c,fc,ed,04,0c,8c,f0,04,0c,d8,ee,04,0c,04,5c,f2,02,a5,\
01,00,00,4f,01,00,00,b4,01,00,00,88,00,00,00,01,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,01,00,00,00,00,00,ff,00,ac,1e,0e,00,01,00,00,00,70,19,0e,\
00,00,00,00,00,fc,a3,f2,02,a0,1e,0e,00,bc,ef,04,0c,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,64,00,69,00,72,\
00,65,00,63,00,74,00,00,00,00,00,f0,52,01,00,5a,17,05,0c,5a,17,05,0c,0f,00,\
00,00,a0,03,55,00,53,00,42,00,20,00,53,00,65,00,72,00,69,00,61,00,6c,00,20,\
00,70,00,6f,00,72,00,74,00,00,00,00,00,90,6c,f8,03,c0,70,f2,02,00,00,00,00,\
d4,62,f2,02,00,00,00,00,a0,1e,0e,00,00,00,00,00,00,00,00,00,00,00,00,00,28,\
f4,04,0c,00,00,00,00,1c,f0,04,0c,fb,de,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,ac,1e,0e,00,01,00,00,00,c2,56,d7,a3,00,ef,04,0c,f8,ee,04,0c,18,6d,f8,\
03,f0,84,f9,03,44,59,08,00,89,01,00,00,00,00,00,00,5a,17,05,0c,00,00,00,00,\
00,00,00,00,f4,fe,01,00,bc,ef,04,0c,00,00,00,00,00,00,00,00,00,00,00,0c,5a,\
17,05,0c,00,00,00,00,c2,56,d7,a3,00,00,00,00,44,59,08,00,00,00,00,00,60,4f,\
01,7c,01,00,00,00,01,00,00,00,0f,00,00,00,00,00,00,00,89,01,00,00,60,4f,01,\
7c,00,00,00,00,d0,37,01,7c,00,00,00,00,5a,17,05,0c,00,00,00,00,d0,37,01,7c,\
01,00,00,00,8e,fe,f1,e3,20,00,00,00,00,00,00,00,74,54,02,00,00,00,00,00,00,\
00,00,00,b4,53,01,00,c0,a2,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,a0,1e,0e,00,20,10,f2,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,89,01,00,00,60,4f,01,7c,00,00,00,00,\
00,00,00,00,00,00,00,00,2c,53,01,00,0f,00,00,00,c8,bd,01,00,00,00,00,00,00,\
00,00,00,20,10,f2,02,d0,9d,0e,08,f0,ff,ff,ff,90,eb,0e,00,5a,17,05,0c,81,00,\
00,00,90,27,1a,08,f0,ef,04,0c,c4,e3,07,00,60,4f,01,7c,89,01,00,00,00,00,00,\
00,5a,17,05,0c,90,27,1a,08,0d,00,00,00,81,00,00,00,5a,17,05,0c,5a,17,05,0c,\
80,4e,01,7c,64,f1,07,00,d2,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ab,\
00,00,00,4f,01,00,00,00,00,00,00,52,01,00,00,d2,01,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,ab,00,00,00,4f,01,00,00,00,00,00,00,00,00,00,00,ab,00,00,\
00,74,00,00,00,8e,fe,f1,e3,0d,00,00,00,5a,17,05,0c,18,6d,f8,03,30,75,f9,03,\
4f,01,00,00,0d,00,00,00,68,f9,01,00,b4,f0,04,0c,b8,f0,04,0c,0d,00,00,00,80,\
f0,07,00,0d,00,00,00,00,00,00,00,5a,17,05,0c,00,00,00,00,00,00,00,00,f4,fe,\
01,00,b8,f0,04,0c,b0,f0,04,0c,91,00,00,00,00,00,00,00,5a,17,05,0c,00,00,00,\
00,c2,56,d7,a3,00,00,00,00,80,f0,07,00,00,00,00,00,80,4e,01,7c,5a,17,05,0c,\
4f,01,00,00,0f,00,00,00,52,01,00,00,0d,00,00,00,80,4e,01,7c,81,00,00,00,d0,\
37,01,7c,00,00,00,00,90,1d,05,00,00,00,00,0c,b8,5f,ec,83,0f,00,00,00,00,00,\
00,00,e4,ca,ec,83,80,5f,02,82,50,96,cc,83,b8,5f,ec,83,0f,00,00,00,38,fe,00,\
f0,5c,f1,04,0c,40,eb,20,80,0f,00,00,00,90,1d,05,00,c4,b3,00,f0,38,f4,04,0c,\
4e,00,00,00,00,00,00,00,00,00,00,00,40,49,01,7c,28,f3,04,0c,24,3c,20,80,f1,\
ec,ff,ff,00,00,00,00,00,00,00,00
"DevCfg"=hex:\
30,00,00,00,78,00,00,00,00,01,00,00,00,4b,00,00,00,00,08,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00
ENDIF
IF BSP_EDB93XX_PIO_CIR
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ep93xxcir]
"Prefix"="CIR"
"Dll"="ep93xxcir.dll"
"Index"=dword:1
"Order"=dword:0
ENDIF
IF BSP_EP93XX_PCMCIA
#include "$(_TARGETPLATROOT)\src\drivers\pccard\pcc_ep93xx.reg"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCCARD]
"Dll"="pcc_serv.dll"
"Order"=dword:0
"Flags"=dword:8
"IClass"=multi_sz:"{F6D3DC51-CC71-4916-B3FB-030A85BA0044}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
[HKEY_LOCAL_MACHINE\Drivers\PCCARD\PCMCIA\TEMPLATE\PCMCIA]
"Dll"="pcmcia.dll"
"NoConfig"=dword:1
"IClass"=multi_sz:"{6BEAB08A-8914-42fd-B33F-61968B9AAB32}=PCMCIA Card Services"
ENDIF
; HIVE BOOT SECTION
; unmask this registry key settings first to enable HIVE
;[HKEY_LOCAL_MACHINE\init\BootVars]
;"SystemHive"="\\NORFlash\\Registry\\system.hv" ;unmask this line to use flash
;"SystemHive"="\\Hard Disk\\Registry\\system.hv" ;unmask this line to use hard disk
;"DefaultUser"="default"
;"Flags"=dword:3
;enable this key to store HIVE on flash
;[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
;"DriverPath"="Drivers\\BuiltIn\\NORFlash"
;"LoadFlags"=dword:1
;"BootPhase"=dword:0
;"Order"=dword:0
;unmask this key to store HIVE on hard disk.
;[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\HDProfile]
;"DriverPath"="Drivers\\BuiltIn\\Ep931xAtapi00"
;"LoadFlags"=dword:1
;"BootPhase"=dword:0
;"Order"=dword:0
IF BSP_EP93XX_FLASH
; This file is to be included in platform.reg if required.
;
;
; "MemBase" 1st value: the base address of flash.
; 2nd value: the starting address of the flash file system.
;
; "MemLen" 1st value: the length of flash.
; 2nd value: the length of the flash file system.
;
; It use the top 4MB space of flash (EDB931x):
; uncached starting address = 0xA9C00000
; memory size = 0x400000
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NORFlash]
"Dll"="ep93xxnorflash.dll"
"Prefix"="DSK"
;"Ioctl"=dword:4
"Profile"="MSFlash"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
;"Flags"=dword:1000 ;unmask this line when enable HIVE on NOR flash.
#if $(BSP_EP93XX_FLASH_TYPE) == FLASH_TYPE_P3
"MemBase"=multi_sz:"A8000000","A8200000"
"MemLen" =multi_sz:"2000000","200000"
#elif $(BSP_EP93XX_FLASH_TYPE) == FLASH_TYPE_C3
"MemBase"=multi_sz:"A8000000","A8200000"
"MemLen" =multi_sz:"400000","200000"
#elif $(BSP_EP93XX_FLASH_TYPE) == FLASH_TYPE_AMD
"MemBase"=multi_sz:"A8000000","A8200000"
"MemLen" =multi_sz:"800000","200000"
#else
#if $(BSP_EP93XX_PLATFORM_TYPE) ==EDB9307|| $(BSP_EP93XX_PLATFORM_TYPE) ==EDB9315 ||$(BSP_EP93XX_PLATFORM_TYPE) ==EDB9312
"MemBase"=multi_sz:"A8000000","A9E00000"
"MemLen" =multi_sz:"2000000","200000"
#else
"MemBase"=multi_sz:"A8000000","A8E00000"
"MemLen" =multi_sz:"1000000","200000"
#endif
#endif
;;; Override names in default profile
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"Name"="Ep93xx NOR Flash"
"Folder"="NORFlash"
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
;"MountFlags"=dword:2
"EnableCache"=dword:0
"MountBootable"=dword:1
ENDIF ;BSP_EP93XX_FLASH
; END HIVE BOOT SECTION
IF BSP_EP93XX_ATAPI
; ************************************************************************
;
; IDE settings
;
;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Ep931xAtapi00]
; "Dll"="ep931xatapi.dll"
; "Prefix"="DSK"
; "DeviceId"=dword: 0 - Master, 1 - Slave
; "DVD"=dword: 0 - Disabled, 1 - Enabled, Default 0
; "MediaCheckTime"=dword: 0 - Disabled, 1 - Enabled, Default 0
; "UDMAEnable"=dword: 0 - Disabled, 1 - Enabled, Default 1 for Rev E1 or later.
; "BestUDMAMode=dword: 0-3 Default - Best UDMA mode read from device
; up to mode 3 for HDD and mode 2 for CDROM.
; "FSD"= "fatfsd.dll", or "udfs.dll"
; "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
;
; In order for UDMA to be enabled all of the following must occur:
; "UDMAEnable"=dword:1
; Drive must support UDMA
;
; ************************************************************************
;
; Master IDE Hard Drive
;
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Ep931xAtapi00]
"Dll"="ep931xatapi.dll"
"Prefix"="DSK"
"DeviceId"=dword:0
"UDMAEnable"=dword:1
"BestUDMAMode"=dword:3
"Profile"="HDProfile"
;"Ioctl"=dword:4
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
;"Flags"=dword:1000 ;unmask this line when enable HIVE on hard disk.
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"Name"="Ep93xx IDE Hard Disk"
"Folder"="Hard Disk"
"AutoMount"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
;"MountFlags"=dword:2
"EnableCache"=dword:0
"MountBootable"=dword:1
;
; Slave CD ROM Drive
;
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Ep931xAtapi01]
"Dll"="ep931xatapi.dll"
"Prefix"="DSK"
"DeviceId"=dword:1
"UDMAEnable"=dword:1
"BestUDMAMode"=dword:2
;"FSD"="udfs.dll"
;"Ioctl"=dword:4
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
ENDIF ;BSP_EP93XX_ATAPI
IF SYSGEN_IRDA
[HKEY_LOCAL_MACHINE\Comm\IrDA\Linkage]
; Need to have IrDA stack bind to the miniport.
"Bind"=multi_sz:"Irsir1"
[HKEY_LOCAL_MACHINE\Comm\Irsir]
"DisplayName"="Serial (COM) IrDA Driver"
"Group"="NDIS"
"ImagePath"="irsir.dll"
[HKEY_LOCAL_MACHINE\Comm\Irsir\Linkage]
"Route"=multi_sz:"Irsir1"
[HKEY_LOCAL_MACHINE\Comm\Irsir1\Parms]
; BusNumber and BusType required for NDIS.
"BusNumber"=dword:0
"BusType"=dword:0
; Serial port.
"Port"=dword:2
; 0 = Use external dongle, 1 = Use internal IR
"IntIR"=dword:1
; 0 = Internal transceiver, 1 = Extended Systems JetEye dongle
"TransceiverType"=dword:0
"DisablePowerManagement"=dword:1
ENDIF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -