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

📄 platform.reg

📁 freescale i.mx31 BSP CE5.0全部源码
💻 REG
📖 第 1 页 / 共 3 页
字号:
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00
"Entry"=hex:\
      08,02,40,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,70,19,00,00,7c,7d,10,0a,00,00,00,00,00,00,00,00,9c,ee,\
      04,12,00,00,00,00,00,00,00,00,f0,f0,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,9c,ed,04,12,78,ee,04,12,70,19,0e,00,00,00,00,00,30,0f,41,03,00,00,00,00,\
      08,11,41,03,7a,00,00,00,78,ee,04,12,9c,ed,04,12,00,00,00,00,78,ee,04,12,48,\
      99,40,03,a4,01,00,00,4f,01,00,00,b5,01,00,00,7a,00,00,00,bc,ed,04,12,00,00,\
      00,00,98,ee,04,12,48,99,40,03,a4,01,00,00,fc,ed,04,12,d8,ee,04,12,70,19,0e,\
      00,00,00,00,00,30,0f,41,03,00,00,00,00,00,00,00,00,ab,00,00,00,08,11,41,03,\
      88,00,00,00,d8,ee,04,12,fc,ed,04,12,8c,f0,04,12,d8,ee,04,12,48,99,40,03,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,8c,22,0e,00,01,00,00,00,70,19,0e,\
      00,00,00,00,00,30,0f,41,03,80,22,0e,00,bc,ef,04,12,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,a8,58,01,00,5a,17,05,12,5a,17,05,12,05,00,\
      00,00,90,d3,43,00,4f,00,4d,00,31,00,3a,00,00,00,00,00,89,01,00,00,5c,2f,08,\
      00,5a,17,05,12,64,ee,04,12,00,00,00,00,fc,7d,f7,03,64,af,40,03,00,00,00,00,\
      18,a0,40,03,00,00,00,00,80,22,0e,00,00,00,00,00,00,00,00,00,00,00,00,00,28,\
      f4,04,12,00,00,00,00,1c,f0,04,12,fb,de,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,8c,22,0e,00,01,00,00,00,0e,36,e2,c3,00,ef,04,12,f8,ee,04,12,14,e8,f7,\
      03,20,b0,f8,03,34,29,08,00,89,01,00,00,00,00,00,00,5a,17,05,12,00,00,00,00,\
      00,00,00,00,ac,04,02,00,bc,ef,04,12,00,00,00,00,00,00,00,00,00,00,00,12,5a,\
      17,05,12,00,00,00,00,0e,36,e2,c3,00,00,00,00,34,29,08,00,00,00,00,00,30,61,\
      01,7c,01,00,00,00,01,00,00,00,05,00,00,00,00,00,00,00,89,01,00,00,30,61,01,\
      7c,00,00,00,00,30,4b,01,7c,00,00,00,00,5a,17,05,12,00,00,00,00,30,4b,01,7c,\
      01,00,00,00,ba,9c,bd,a3,20,00,00,00,00,00,00,00,2c,5a,02,00,00,00,00,00,00,\
      00,00,00,6c,59,01,00,78,a8,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,80,22,0e,00,bc,14,40,03,00,00,00,00,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,30,61,01,7c,00,00,00,00,\
      00,00,00,00,00,00,00,00,e4,58,01,00,05,00,00,00,80,c3,01,00,00,00,00,00,00,\
      00,00,00,bc,14,40,03,20,9e,0e,0a,f0,ff,ff,ff,70,8b,0f,00,5a,17,05,12,81,00,\
      00,00,80,4e,0f,0a,f0,ef,04,12,b4,b3,07,00,30,61,01,7c,89,01,00,00,00,00,00,\
      00,5a,17,05,12,80,4e,0f,0a,0d,00,00,00,81,00,00,00,5a,17,05,12,5a,17,05,12,\
      50,60,01,7c,54,c1,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,ba,9c,bd,a3,0d,00,00,00,5a,17,05,12,14,e8,f7,03,60,a0,f8,03,\
      4f,01,00,00,0d,00,00,00,20,ff,01,00,b4,f0,04,12,b8,f0,04,12,0d,00,00,00,70,\
      c0,07,00,0d,00,00,00,00,00,00,00,5a,17,05,12,00,00,00,00,00,00,00,00,ac,04,\
      02,00,b8,f0,04,12,b0,f0,04,12,91,00,00,00,00,00,00,00,5a,17,05,12,00,00,00,\
      00,0e,36,e2,c3,00,00,00,00,70,c0,07,00,00,00,00,00,50,60,01,7c,5a,17,05,12,\
      4f,01,00,00,05,00,00,00,52,01,00,00,0d,00,00,00,50,60,01,7c,81,00,00,00,30,\
      4b,01,7c,00,00,00,00,90,1d,05,00,00,00,00,12,00,94,f6,83,0f,00,00,00,00,00,\
      00,00,0c,ce,cb,83,90,c5,ca,80,54,9a,bd,83,00,94,f6,83,0f,00,00,00,38,fe,00,\
      f0,5c,f1,04,12,3c,b7,10,80,0f,00,00,00,90,1d,05,00,c4,b3,00,f0,38,f4,04,12,\
      4e,00,00,00,00,00,00,00,00,00,00,00,80,54,01,7c,28,f3,04,12,80,8b,10,80,f1,\
      ec,ff,ff,00,00,00,00,00,00,00,00
ENDIF  ;BSP_USB


; @CESYSGEN IF PMC_MODULES_MSTRANSFER
; -- Mass Storage Transfer ------
[HKEY_LOCAL_MACHINE\Software\Microsoft\Portable Media Center\msTransfer]       
    "BufferSize"=dword:00010000 ; (64 * 1024)    
; @CESYSGEN ENDIF ; PMC_MODULES_MSTRANSFER

IF BSP_USB
IF BSP_USB_HSOTG_HOST
; @CESYSGEN IF CE_MODULES_USBHOST
#include "$(_TARGETPLATROOT)\SRC\Drivers\usbh\hsotg\hsotg.reg"
; @CESYSGEN ENDIF CE_MODULES_USBHOST
ENDIF ; BSP_USB_HSOTG_HOST
IF BSP_USB_HSH2
#include "$(_TARGETPLATROOT)\SRC\Drivers\usbh\hsh2\hsh2.reg"
ENDIF
IF BSP_USB_FSH1
#include "$(_TARGETPLATROOT)\SRC\Drivers\usbh\fsh1\fsh1.reg"
ENDIF
ENDIF


IF BSP_BATTERY

; 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"
IF BSP_PMIC_MC13783
   "Dll"="battdrvr_mc13783.dll"
ENDIF
   "Flags"=dword:8                      ; DEVFLAGS_NAKEDENTRIES
   "IClass"="{DD176277-CD34-4980-91EE-67DBEF3D8913}"
   "BattFullLiftTime" = dword:8         ;Batt Spec defined: in unit of hr, here 8hr is assumed
   "BattFullCapacity"=dword:320     ;Batt Spec defined: in unit of mAh, here 800mAhr is assumed
   "BattMaxVoltage"=dword:1068     ;Batt Spec defined: in unit of mV, here 4200mV is assumed
   "BattMinVoltage"=dword:BB8     ;Batt Spec defined: in unit of mV, here 3000mV is assumed
   "BattPeukertNumber"=dword:73     ;Batt Spec defined, here 1.15 is assumed
   "BattChargeEff"=dword:50     ;Batt Spec defined, here 0.80 is assumed

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

ENDIF ;BSP_BATTERY

IF PLAT_PMC

; -- Performance ------
[HKEY_LOCAL_MACHINE\Software\Microsoft\Portable Media Center]
    "EnableTransitions"=dword:1               ; Use all transitions
    "EnableFancyTransitions"=dword:1

; -- Rotation ------
[HKEY_LOCAL_MACHINE\Software\Microsoft\Portable Media Center]
    "RotationDefaultOrientation"=dword:1    ; DMORIENT_PORTRAIT
    "RotationLandscapeAngle"=dword:4        ; DMDO_270
    "RotationPortraitAngle"=dword:0         ; DMDO_0
    
[HKEY_LOCAL_MACHINE\Software\Microsoft\Portable Media Center]
    "EnableBacklightOff"=dword:0            ; Do not allow backlight to be turned off

; -- Color key for video renderer ------
[HKEY_LOCAL_MACHINE\Software\Microsoft\DirectX\DirectShow\Video Renderer]
    "KeyColor"=hex:09,09,09,00              ; Almost Black

ENDIF ; PLAT_PMC

IF BSP_ATA

IF PLAT_PMC

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\pmc_atapi_mx31]
   "Prefix"="IDE"
   "Dll"="pmc_atapi_mx31.dll" ;name of platform atapi driver
   "Order"=dword:10     ; start disks early so that filesystems have a chance to load
   "Class"=dword:01
   "SubClass"=dword:01
   "IoBase"=multi_sz:"43F8C0A0","43F8C0C0"
   "IoLen"=multi_sz:"20","20"
   "Irq"=dword:0f ; IRQ_ATA_CTRL
   "IClass"=multi_sz:"{CDDC3621-3512-4b3f-BB6F-B4DD5E061795}"
   "Legacy"=dword:1
   "DMAAlignment"=dword:8
   "SoftResetTimeout"=dword:30
   "StatusPollCycles"=dword:7D0 
   "StatusPollsPerCycle"=dword:64
   "StatusPollCyclePause"=dword:190
   "SpawnFunction"="CreateMX31" ; spawn function for MX31-specific ATAPI class
   "RegisterStride"=dword:4
  
; To enable Power Management, add the following to the IClass.  Multiple
; GUID strings should be comma separated -- see common.reg for an example.
; This guid is PMCLASS_BLOCK_DEVICE (defined in sdk\inc\pm.h).
;    "{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\pmc_atapi_mx31\Device0]
   "Prefix"="DSK"
   "Dll"="pmc_atapi_mx31.dll" ; name of platform dll
   "Settings"=dword:2  ; hd dma 0x01, hd int 0x02, cd dma 0x04, cd int 0x08
   "DeviceId"=dword:0
   "InterruptDriven"=dword:1 ; enable interrupts
   "DMA"=dword:1 ; enable DMA
   "DoubleBufferSize"=dword:10000  ; 128 sector (65536 byte) double buffer
   "DrqDataBlockSize"=dword:200    ; 1 sector (512 byte) DRQ data block
   "WriteCache"=dword:1
   "LookAhead"=dword:1
   "TransferMode"=dword:43
   "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
; ,"{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"
   "TimeoutDx"=dword:4
   "IORDYEnable"=dword:01          ; enable Host IORDY for PIO mode 3, 4
   "IOMuxMask"=dword:040007f8      ; GPR mask for IOMUX setting
   "IOMuxVal"=dword:00000318       ; GPR value for IOMUX setting
IF IMGRECOVERY !
   "ForceSmartReset"=dword:1 ; on smart errors, force an immediate cold reboot of the device
ENDIF

ELSE

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"Name"="ATA Hard Disk Drive"
"Folder"="Hard Disk"

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
"EnableCacheWarm"=dword:00000000

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ATA_MX31]
   "Prefix" = "DSK"
   "Dll" = "ATA_mx31.DLL"
   "Order" = dword:10
   "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"

   "InterruptDriven"=dword:01      ; enable interrupt driven I/O
   "DMA"=dword:01                  ; enable DMA
   "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:43         ; FF         ; use device default transfer mode (Ultra DMA 3, 4 require 80-conductor cable)
   "IORDYEnable"=dword:01          ; enable Host IORDY for PIO mode 3, 4
   "HDProfile"="HDProfile"         ; GetDeviceInfo for "StorageManagerProfile"
   "IOMuxMask"=dword:040007f8      ; GPR mask for IOMUX setting
   "IOMuxVal"=dword:00000318       ; GPR value for IOMUX setting

ENDIF ;PLAT_PMC

ENDIF ;BSP_ATA

IF SYSGEN_RAMDISK

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ramdisk]
    "Profile"="ramdisk"
    "Dll"="ramdisk.dll"
    "FriendlyName"="RAM disk driver"
    "Order"=dword:20
    "Prefix"="DSK"
    "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
    "Size"=dword:C00000
    
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ramdisk]
    "Folder"="RAM disk"
    "AutoPart"=dword:1
    "AutoFormat"=dword:1
    "Name"="RAM Disk"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ramdisk\FATFS]
    "Flags"=dword:4
    "FormatTfat"=dword:1

ENDIF  ; SYSGEN_RAMDISK

IF BSP_POCKETPC
IF IMGPERSISTENTSTORAGE

IF IMGRAMFMD
; @XIPREGION IF DEFAULT_REGISTRY
;so that filesys knows to start fsdmgr to mount the hive device
[HKEY_LOCAL_MACHINE\init\BootVars]
    "Flags"=dword:3
    "SystemHive"="Documents and Settings\\default.hv"


; HIVE BOOT SECTION
; mount RAMFMD as root file system + hive storage
; format for TFAT (rather than FAT)
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash_RAMFMD\FATFS]
    "MountFlags"=dword:6
    "FormatTfat"=dword:1

; load RAMFMD in boot phase 0
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\RAMFMD]
    "BootPhase"=dword:0

; describe the memory range for the FMD to use on this platform

[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\RAMFMD]
    "Address"=dword:8D100000    
    "Size"=dword:02f00000

; @CESYSGEN IF CE_MODULES_FSREPLXFILT
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash_RAMFMD\FATFS\Filters\fsreplxfilt]
    "Dll"="fsreplxfilt.dll"
    "Order"=dword:1 ; must be loaded before other filters
; @CESYSGEN ENDIF CE_MODULES_FSREPLXFILT

; END HIVE BOOT SECTION

; Must go in default.fdf to allow loading of registry!
[HKEY_LOCAL_MACHINE\System\Platform]
    "DataPath" = "\\"
    "PSAtRoot"=dword:1

[HKEY_LOCAL_MACHINE\SYSTEM\GWE\Notify]
    "volume"="\\mxip_notify.vol"

; @XIPREGION ENDIF DEFAULT_REGISTRY

ENDIF IMGRAMFMD

ENDIF ; IMGPERSISTENTSTORAGE

; @XIPREGION IF PLATFORM_REGISTRY_DEFAULT

; Welcome.exe: Disable tutorial and calibration pages
; Touch calibration (0x02), Stylus (0x04), Popup menu (0x08), Timezone (0x10), Complete (0x20)
[HKEY_LOCAL_MACHINE\Software\Microsoft\Welcome]
;    "Disable"=dword:FFFFFFFF
    "Disable"=dword:0

; RAPI Policy
; Value: 1 - RAPI calls in open, no restrictions
; Value: 2 - RAPI calls in restricted mode (default for PPC)
; Note: RAPI Policy changed from default by FSL
; to enable file copy over ActiveSync
[HKEY_LOCAL_MACHINE\Security\Policies\Policies]
    "00001001"=dword:1

; @XIPREGION ENDIF PLATFORM_REGISTRY_DEFAULT

ENDIF ; BSP_POCKETPC

IF BSP_DVFC_MC13783
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\DVFC]
   "Prefix" = "DVF"
   "Dll"="dvfc_MC13783.dll"
   "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"    ; PMCLASS_GENERIC_DEVICE   
ENDIF

IF BSP_PCMCIA
#include "$(_TARGETPLATROOT)\src\drivers\pccard\pcc_mx31.reg"
#include "$(_PUBLICROOT)\common\oak\drivers\pccard\mdd\pcc_serv.reg"
[HKEY_LOCAL_MACHINE\Drivers\PCCARD\PCMCIA\TEMPLATE\PCMCIA]
   "Dll"="pcmcia.dll"
   "NoConfig"=dword:1
   ;"NoISR"=dword:1 ; Do not load any ISR.
   "IClass"=multi_sz:"{6BEAB08A-8914-42fd-B33F-61968B9AAB32}=PCMCIA Card Services"
ENDIF

⌨️ 快捷键说明

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