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

📄 platform.reg

📁 ARM9基于WINDOWSCE的BSP源代码
💻 REG
字号:
;
; The content of this file or document is CONFIDENTIAL and PROPRIETARY 
; to Jade Technologies Co., Ltd.  It is subjected to the terms of a    
; License Agreement between Licensee and Jade Technologies Co., Ltd.   
; restricting among other things, the use, reproduction, distribution  
; and transfer.  Each of the embodiments, including this information   
; and any derivative work shall retain this copyright notice.          
;                                                                      
; Copyright (c) 2004 - 2005 Jade Technologies Co., Ltd.                
; All rights reserved.                                                 
;  
; ----------------------------------------------------------------
; File:     platform.reg
; Revision: 1.0
; ----------------------------------------------------------------
; $
;
; Our variables
#define BUILTIN_ROOT HKEY_LOCAL_MACHINE\Drivers\BuiltIn
#define DRIVERS_DIR $(_PUBLICROOT)\common\oak\drivers

#define PLATFORM_DRIVERS $(_WINCEROOT)\platform\$(_TGTPLAT)\src\drivers

; Platform type: 1=DK3, 2=ODO 3=Rose
[HKEY_LOCAL_MACHINE\Platform]
    "Name"="Microsoft Windows CE for JADE Z228 Development Board"
    "Type"=dword:4    

; @CESYSGEN IF FILESYS_FSREGHIVE
; @CESYSGEN ENDIF FILESYS_FSREGHIVE

; @CESYSGEN IF WCESHELLFE_MODULES_CTLPNL
; This registry setting controls the checkboxes displayed in the Sounds CPL
; under "enable clicks & taps". Set bit0 if you have a keyboard, set bit1 if
; you have a touch screen. Set bit2 if you have HW buttons (NOTE: for now
; HW buttons are mutually exclusive with the keyboard)
[HKEY_LOCAL_MACHINE\ControlPanel]
    "InputConfig"=dword:3   ; 1 => keybd, but no touch screen
; @CESYSGEN ENDIF WCESHELLFE_MODULES_CTLPNL

; @CESYSGEN IF CE_MODULES_DEVICE

; Resources available at time of device.exe initialization.
; Key names are descriptive; resource ids are definitive.
; System ids are defined in ddk\inc\resmgr.h.
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\Drivers\Resources\IRQ]
   "Identifier"=dword:1
   "Minimum"=dword:0
   "Space"=dword:20                        ; 32 interrupts on the VIC
   "Ranges"="0x00-0x13,0x15-0x1f"          ; 0 - 19, 21 - 31 (ignore 20 - GND)
   "Shared"=""                             ; None shared (e.g. for PCI)

[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
   "Identifier"=dword:2
   "Minimum"=dword:0
   "Space"=dword:01000000
   "Ranges"="0-0x00FFFFFF"
; END HIVE BOOT SECTION

; @CESYSGEN IF CE_MODULES_SERIAL
IF BSP_NOSERIAL !
;**********************************************************
;   Serial < UART 1 >
;**********************************************************
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial1]
    "DeviceArrayIndex"=dword:0
; IoBase entries should be the same as the VA_UART1_BASE platform.h & .inc settings
    "IoBase"=dword:a2031000
    "SysIntr"=dword:11
    "Dll"="PL011drv.dll"
    "Prefix"="COM"
    "Order"=dword:0
    "Index"=dword:2
    "DMA"=dword:0
	"Priority"=dword:100

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial1\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="Serial Cable on COM2:"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF BSP_NOSERIAL !
; @CESYSGEN ENDIF CE_MODULES_SERIAL

; @CESYSGEN IF CE_MODULES_WAVEAPI
IF BSP_NOAUDIO !
;**********************************************************
;   Audio
;**********************************************************
; To conserve CPU cycles, run the mixer in low-quality mode, at 22KHz
; NOTE: To turn off the mixer set the SampleRate to zero
[HKEY_LOCAL_MACHINE\Audio\SoftwareMixer]
    "SampleRate"=dword:AC44
    "Buffers"=dword:4
    "BufferSize"=dword:800
    "EnableLowPassFilter"=dword:1

IF BSP_WAVEDEV_AACI
#include "$(PLATFORM_DRIVERS)\wavedev\wavedev_aaci.reg"
ENDIF

ENDIF BSP_NOAUDIO !
; @CESYSGEN ENDIF CE_MODULES_WAVEAPI

; @CESYSGEN IF CE_MODULES_KEYBD
IF BSP_KEYBD
;**********************************************************
;   Keyboard
;**********************************************************
#include "$(DRIVERS_DIR)\keybd\keybd.reg"

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD]
    "DriverName"="kbdmouse.dll"
    "Index"=dword:1
    "Order"=dword:0    
    "SysIntr"=dword:1c   
    "MemBase"=dword:10006000
    "MemLen"=dword:10
    "EnableWake"=dword:1

#include "$(DRIVERS_DIR)\keybd\LayMgr.reg"
ENDIF 
; @CESYSGEN ENDIF CE_MODULES_KEYBD

IF BSP_TOUCH
;**********************************************************
; TouchP
;**********************************************************
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
  "DriverName"="armtouch.dll"
  "MaxCalError"=dword:7
  "CalibrationData"="132,126 44,40 44,208 216,208 216,40" 

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch]
	"Priority256"=dword:80
	"HighPriority256"=dword:60
ENDIF

IF BSP_LAN91C96
;**************************************************
;	netcard--LAN91C96
;**************************************************
[HKEY_LOCAL_MACHINE\Comm\LAN9000]
	"DisplayName"="SMC LAN91C96 Ethernet"
	"Group"="NDIS"
	"ImagePath"="LAN91C96.DLL"
[HKEY_LOCAL_MACHINE\Comm\LAN9000\Linkage]
	"Route"=multi_sz:"LAN90001"
[HKEY_LOCAL_MACHINE\Comm\LAN90001]
	"DisplayName"="SMC LAN91C96 Ethernet"
	"Group"="NDIS"
	"ImagePath"="LAN91C96.DLL"
[HKEY_LOCAL_MACHINE\Comm\LAN90001\Parms]
	"BusNumber"=dword:0
	"BusType"=dword:1
	"InterruptNumber"=dword:02
	"Transceiver"=dword:0 
	"IoBaseAddress"=dword:300 
	"SysIntr"=dword:12 
[HKEY_LOCAL_MACHINE\Comm\LAN90001\Parms\TcpIp]
	"EnableDHCP"=dword:0 
	"DefaultGateway"="10.10.7.9" 
	"UseZeroBroadcast"=dword:0
	"IpAddress"="10.10.5.173"
	"DNS"="202.96.209.5"
	"Subnetmask"="255.254.0.0"
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
	"Bind"=multi_sz:"LAN90001"
ENDIF

;**********************************************************
;   Sermouse
;**********************************************************
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SerMouse]
   "Prefix"="SMS"
   "Dll"="SerMouse.dll"
   "Order"=dword:0

;**********************************************************
;	KITL miniport IP settings
;**********************************************************
[HKEY_LOCAL_MACHINE\Comm\VMINI1\Parms\TcpIp]
    "EnableDHCP"=dword:0
    "DefaultGateway"="10.10.7.9"
    "IpAddress"="10.10.5.170"
    "Subnetmask"="255.254.0.0"
    "DNS"="202.96.209.5"
;**********************************************************

IF BSP_LMI
#include "$(PLATFORM_DRIVERS)\lmi_lcd\lmi_lcd.reg"
ENDIF

IF BSP_SCR
;**********************************************************
; Smart Card Reader
;**********************************************************
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Scr]
   "Prefix"="SCR"
   "Dll"="scr.dll"
ENDIF

IF BSP_CFCARD
;**********************************************************
; CF STORE CARD
;**********************************************************
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CFCARD]
	"Prefix"="CFC"
	"Dll"="cfcard.dll"
	"Index"=dword:1
	"Order"=dword:0
	"Profile"="CFCard"
;	"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\CFCard]
    "Name"="CF Card Block Device"
	"Folder"="CF Store Card"
	"FSD"="fatfs.dll"
	"PartitionDriver"="mspart.dll"
	"AutoMount"=dword:1
	"AutoPart"=dword:1
	"AutoFormat"=dword:0
	"MountFlags"=dword:0
ENDIF

IF BSP_SDCARD
#include "$(PLATFORM_DRIVERS)\sdcard\sd.reg"
ENDIF

; @CESYSGEN ENDIF CE_MODULES_DEVICE

⌨️ 快捷键说明

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