📄 platform.reg
字号:
"MemBase"=dword:4A800000
"MemLen"=dword:100
"Irq"=dword:14 ; 20
"BaseClockFrequency"=dword:5B8D800 ;5B8D800->96Mhz, 2DC6C00->48Mhz, 2255100->36Mhz, B71B00->12Mhz, 16E3600->24Mhz
"TimeoutClockFrequency"=dword:5B8D800 ;5B8D800->96Mhz, 2DC6C00->48Mhz, 2255100->36Mhz, B71B00->12Mhz, 16E3600->24Mhz
ENDIF BSP_NOHSMMC_CH1 !
ENDIF
; @CESYSGEN IF CE_MODULES_SDMEMORY
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
"Name"="SD Memory Card"
"Folder"="Storage Card"
;"PartitionDriver"="" ; removable storage cannot have partitions
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMC]
"Name"="MMC Card"
"Folder"="Storage 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"
"Index"=dword:4
"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
;"IdleTimeout"=dword:7D0 ; 2000 milliseconds
;"IdlePowerState"=dword:2 ; 0 == D0, 1 == D1, etc.
;"DisablePowerManagement"="" ; if value present, then disable (remove value to enable)
"Profile"="SDMemory"
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",
"{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"
; MMC Storage Class Driver
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\MMC_Class]
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"Index"=dword:4
"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
;"IdleTimeout"=dword:7D0 ; milliseconds
;"IdlePowerState"=dword:2 ; 0 == D0, 1 == D1, etc.
;"DisablePowerManagement"="" ; if value present, then disable (remove value to enable)
"Profile"="MMC"
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",
"{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"
; @CESYSGEN ENDIF CE_MODULES_SDMEMORY
[HKEY_LOCAL_MACHINE\System\StorageManager]
"PNPUnloadDelay"=dword:400
;------------ I2C Driver ------------------------------------------------------------------------------------
IF BSP_NOI2C !
;; I2C Bus Driver
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\I2C]
"Prefix"="I2C"
"Dll"="I2C.DLL"
"Order"=dword:0
"Index"=dword:0
"Mode"=dword:1 ; Mode: 0 = POLLING, 1 = INTERRUPT
"SlaveAddress"=dword:0 ; Bus Driver's Slave Address
"FriendlyName"="I2C Bus Driver"
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}" ; Power-manageable generic
ENDIF BSP_NOI2C !
IF BSP_NOPWRBTN !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PowerButton]
"Dll"="PowerButton.dll"
"Prefix"="PWR"
"Order"=dword:0
"FriendlyName"="Power Controller Driver"
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}" ; Power-manageable generic
ENDIF BSP_NOPWRBTN !
IF BSP_NOPOST !
;====================================================
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Post]
"Prefix"="PST"
"Dll"="post.dll"
"Index"=dword:1
"Order"=dword:1
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
;=====================================================
ENDIF BSP_NOPOST !
IF BSP_NOAUDIO !
; @CESYSGEN IF CE_MODULES_WAVEAPI
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio]
"Prefix"="WAV"
"Dll"="s3c2450_wavedev.dll"
"Index"=dword:1
"Order"=dword:0
IF BSP_SMDK2450_CFG
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
ENDIF
; @CESYSGEN ENDIF CE_MODULES_WAVEAPI
ENDIF BSP_NOAUDIO !
;------------ USB Function Driver -------------------------------------------
; @CESYSGEN IF CE_MODULES_USBFN
IF BSP_NOUSBFN !
IF BSP_KITL != USBSERIAL
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SC2450USBFN]
"Dll"="sc2450usbfn.dll"
"Prefix"="UFN"
"Priority256"=dword:64
"IoBase"=dword:B0B00000
"IoLen"=dword:1000 ; Use one page
"Irq"=dword:19
"BusIoctl"=dword:2a0048
; "Order"=dword:1
"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
;------------ USB Function Serial Driver --------------------------------------
IF BSP_USBFNCLASS == SERIAL
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"="Serial_Class"
[HKEY_CURRENT_USER\ControlPanel\Comm]
"Cnct"="`USB"
ENDIF BSP_USBFNCLASS
;-------------------------------------------------------------------------
;------------ USB Function Mass Stroge Driver ---------------------------------
IF BSP_USBFNCLASS == MASS_STORAGE
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"="Mass_Storage_Class"
ENDIF BSP_USBFNCLASS
;-------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
"FriendlyName"=LOC_USBFN_SERIAL_NAME
"idVendor"=dword:0547
"Manufacturer"=LOC_USBFN_SERIAL_MANUFACTURER
"idProduct"=dword:2720
"Product"=LOC_USBFN_SERIAL_PRODUCT
"Index"=dword:5
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Mass_Storage_Class]
"Dll"="usbmsfn.dll"
"InterfaceSubClass"=dword:06
"InterfaceProtocol"=dword:50
"DeviceName"="DSK4:"
"FriendlyName"="Mass Storage"
"idVendor"=dword:045E
"Manufacturer"="Generic Manufacturer (PROTOTYPE--Remember to change idVendor)"
"idProduct"=dword:FFFF
"Product"="Generic Mass Storage (PROTOTYPE--Remember to change idVendor)"
"bcdDevice"=dword:0
"Removable"=dword:0
[HKEY_LOCAL_MACHINE\DebugZones]
"USBFN"=dword:ffff
"Serial"=dword:ffff
"PM"=dword:ffff
ENDIF
ENDIF BSP_NOUSBFN !
; @CESYSGEN ENDIF CE_MODULES_USBFN
;-------------------------------------------------------------------------
;================= USB =================
; @CESYSGEN IF CE_MODULES_USBD
IF BSP_NOUSB !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\OHCI]
"InterfaceType"=dword:0 ; Internal
"Prefix"="HCD"
"Dll"="ohci2.dll"
"Index"=dword:1
;"Order"=dword:1 ;2
"Order"=dword:25
"Irq"=dword:1a ; 26
"SysIntr"=dword:11 ; (SYSINTR_FIRMWARE+1)
"MemBase"=dword:49000000
"MemLen"=dword:1000
"UseExistingSettings"=dword:0
"HcdCapability"=dword:4 ;HCD_SUSPEND_ON_REQUEST
ENDIF
;============= End of USB =================
; @CESYSGEN ENDIF CE_MODULES_USBD
IF BSP_NOCS8900 !
IF BSP_KITL != ETHERNET
[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
"InterruptNumber"=dword:25
"IoBaseAddress"=dword:A7000300
"Transceiver"=dword:3
"CardType"=dword:1
[HKEY_LOCAL_MACHINE\Comm\CS89001\Parms\TcpIp]
"EnableDHCP"=dword:1
"DefaultGateway"="0.0.0.0"
"LLInterface"=""
"UseZeroBroadcast"=dword:0
"IpAddress"="0.0.0.0"
"Subnetmask"="0.0.0.0"
"DNS"="0.0.0.0"
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
"Bind"="CS89001"
ENDIF
ENDIF ; BSP_CS8900
IF BSP_NOBACKLIGHT !
; backlight driver
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\BAK]
"Index"=dword:1
"Prefix"="BAK"
"Dll"="backlight.dll"
"Order"=dword:1
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}" ; Power-manageable generic
[HKEY_CURRENT_USER\ControlPanel\Backlight]
"ACTimeout"=dword:3c
"BatteryTimeout"=dword:1e
"BacklightOnTap"=dword:1
"ACBacklightOnTap"=dword:1
[HKEY_CURRENT_USER\ControlPanel\BackLight]
"AdvancedCPL" = "AdvBacklight"
ENDIF ; BSP_NOBACKLIGHT
; @CESYSGEN ENDIF CE_MODULES_DEVICE
; HIVE BOOT SECTION
IF BSP_NONANDFS !
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SMFLASH]
"DefaultFileSystem"="BINFS"
"PartitionDriver"="mspart.dll"
"MountHidden"=dword:1
"MountAsROM"=dword:1
"Folder"="ResidentFlash"
"Name"="Microsoft Flash Disk"
; Keep FATFS from trying to shadow \Windows
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SMFLASH\FATFS]
"MountHidden"=dword:0
"MountAsROM"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SMFLASH]
"Prefix"="DSK"
"Dll"="smflash.dll"
"Index"=dword:1
"Order"=dword:0
"Profile"="SMFLASH"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"Flags"=dword:00000014 ;FATFS_TFAT_ALWAYS|FATFS_FORCE_TFAT
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\SMFLASH]
"DriverPath"="Drivers\\BuiltIn\\SMFLASH"
"LoadFlags"=dword:1
"BootPhase"=dword:0
ENDIF ; BSP_NONANDFS
; END HIVE BOOT SECTION
; @CESYSGEN IF CE_MODULES_DISPLAY
IF BSP_NODISPLAY !
[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
"Display"="S3C2450DISP.dll"
"DisplayPowerClass"="{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}"
; Settings to rotate the screen by 0 degrees clockwise upon download
[HKEY_LOCAL_MACHINE\System\GDI\Rotation]
"Angle"=dword:0
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\UserIdle\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
"Default"=dword:0 ; D4 set Display on when useridle
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\SystemIdle\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
"Default"=dword:0 ; D4 set Display on when systemidle
ENDIF BSP_NODISPLAY !
; @CESYSGEN ENDIF CE_MODULES_DISPLAY
; ----------------------------------------------------------------------------
; Select a Direct3D Mobile Driver
; @CESYSGEN IF DIRECTX_MODULES_D3DM
IF BSP_D3DM_NULL
IF BSP_D3DM_NULL_REMOTE
[HKEY_LOCAL_MACHINE\System\D3DM\Drivers]
"RemoteHook"="d3dm_nulldrv.dll"
ELSE
[HKEY_LOCAL_MACHINE\System\D3DM\Drivers]
"LocalHook"="d3dm_nulldrv.dll"
ENDIF BSP_D3DM_NULL_REMOTE
ELSE
[HKEY_LOCAL_MACHINE\System\D3DM\Drivers]
"LocalHook"="d3dm_sedrv.dll"
ENDIF BSP_D3DM_NULL
; @CESYSGEN ENDIF DIRECTX_MODULES_D3DM
IF BSP_NOCFATAPI !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\2450_CF]
"Prefix"="IDE"
IF BSP_SMDK2443_CFG
"Dll"="s3c2443_cf_atapi.dll"
ENDIF BSP_SMDK2443_CFG
IF BSP_SMDK2450_CFG
"Dll"="s3c2450_cf_atapi.dll"
ENDIF BSP_SMDK2450_CFG
"Order"=dword:3
"Class"=dword:01
"SubClass"=dword:01
"ConfigEntry"="GenericConfig" ; PCI configuration entry point ;;maybe not required
"Legacy"=dword:01 ; legacy, use Irq for primary and Irq+1 for secondary ;;maybe not required
"Irq"=dword:13 ; 48
"SysIntr"=dword:00 ; SysIntr not specified
"DMAAlignment"=dword:04 ; default DMA alignment
"SoftResetTimeout"=dword:5 ; ATA/ATAPI spec defines 31s ceiling; this is too long
"StatusPollCycles"=dword:100 ; Status register DRQ/BSY polling; 256 poll cycles
"StatusPollsPerCycle"=dword:20 ; Status register DRQ/BSY polling; 32 polls per cycle
"StatusPollCyclePause"=dword:05 ; Status register DRQ/BSY polling; 5 milliseconds between poll cycles
"IoBase"=multi_sz:"0x4B800000","0x4B800000"
"IoLen"=multi_sz:"0x1998","0x1998"
"RegisterStride"=dword:4 ; Ref. Board ATA register stride; register block is word-contiguous
"InterfaceType"=dword:0 ; Internal
"DeviceControlOffset"=dword:20
"AlternateStatusOffset"=dword:20
"DeviceId"=dword:00
"SpawnFunction"="CreateRomi" ; Reference Board specific instantiation function
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\2450_CF\Device0]
"Prefix"="DSK"
"Dll"="s3c2450_cf_atapi.dll"
"Index"=dword:0
"Order"=dword:3
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",
"{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"
"InterruptDriven"=dword:00 ; en(1) dis(0)able interrupt driven I/O
"DMA"=dword:00 ; disable DMA. DMA is not supported
"DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
"DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
"WriteCache"=dword:01 ; enable on-disk write cache
"LookAhead"=dword:01 ; enable on-disk look-ahead
"DeviceId"=dword:00 ; device 0, i.e., primary master
"TransferMode"=dword:ff ; use mode 0;
"EnablePDMA"=dword:1 ; 0 = PIO, 1 = PDMA. We recommend PDMA mode.
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\2450_CF]
"Name"="CF Type Storage"
"Folder"="CFDisk"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\2450_CF\FATFS]
;"EnableFatCacheWarm"=dword:0
ENDIF BSP_NOCFATAPI !
#include "$(_TARGETPLATROOT)\Files\rasbook.reg"
;------------ HS-SPI Driver ------------------------------------------------------------------------------------
; High Speed SPI Bus Driver
IF BSP_NOHSSPI !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Hspi]
"Prefix"="HSP"
"Dll"="hspi.dll"
"Index"=dword:1
"Order"=dword:0
ENDIF BSP_NOHSSPI !
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -