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

📄 pcc_mainstoneii.reg

📁 Windows CE 6.0 针对PXA270的开发板的BSP参考代码
💻 REG
字号:
;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
;
; Use of this sample source code is subject to the terms of the Microsoft
; license agreement under which you licensed this sample source code. If
; you did not accept the terms of the license agreement, you are not
; authorized to use this sample source code. For the terms of the license,
; please see the license agreement between you and Microsoft or, if applicable,
; see the LICENSE.RTF on your install media or the root of your tools installation.
; THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
;

; This file is to be included in platform.reg if required.
;
; $(PCI_BUS_ROOT) is a variable that needs to be set in the including 
; platform.reg. It's value will be something like 
; HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI

; Make sure the driver gets loaded. The PCMCIA driver opens its own key
; in HKLM\Drivers\PCMCIA to extract useful info so this key only needs to
; provide enough info to get the dll loaded at the right time. The GUID
; the IClass value is immutable and matches the one in cardserv.h.

;
; PCMCIA slot 0
;
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCC_MAINSTONEII0]
   "Dll"="pcc_mainstoneii.dll"
   "Order"=dword:20
   "ClientIrq"=dword:4B          ; Client Irq (75) IRQ_GPIO0_PCMCIA_S0
;"Irq"=multi_sz:"4A", "49"     ; CSC (74) and CD (73) Irqs
;"SysIntr"=multi_sz:"15", "0"  ; CSC (21) and CD (0) SysIntrs
   "Irq"=dword:4A      ; CSC (74) IRQ_GPIO0_PCMCIA_S0_CSC
   "SysIntr"=dword:15  ; CSC (21)
   "PollingMode"=dword:1
   "PollTimeout"=dword:1f4
   "SlotNumber"=dword:0
   "PCCARDDLL"="pcc_serv.dll"
   "NoISR"=dword:1 ; Do not load any ISR.
   "IClass"=multi_sz:"{57430CF2-A260-4c9b-8F5C-FEF89217FE7C}=%b","{44985F1F-2C07-4009-A6B7-D250785D5336}=%b"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCC_MAINSTONEII0\WindowEntry1]
    "RepeatCount"=dword:1                   ; 1 instance of the memory window
    "WindowInfoWindowCaps"=dword:2          ; WIN_CAP_ATTRIBUTE
    "WindowInfoMemoryCaps"=dword:10         ; MEM_CAP_16BIT
    "WindowInfoMemMinSize"=dword:00001000   ; require 4k alignment
    "WindowInfoMemMaxSize"=dword:04000000   ; 64MB attribute memory window
    "WindowInfoMemBase"=dword:28000000      ; base address of the memory window

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCC_MAINSTONEII0\WindowEntry2]
    "RepeatCount"=dword:1                   ; 1 instance of the memory window
    "WindowInfoWindowCaps"=dword:1          ; WIN_CAP_COMMON
    "WindowInfoMemoryCaps"=dword:10         ; MEM_CAP_16BIT
    "WindowInfoMemMinSize"=dword:00001000   ; require 4k alignment
;(oaladdresstable changed to accomodate 128 MB SDRAM)
;"WindowInfoMemMaxSize"=dword:04000000   ; 64MB common memory window
    "WindowInfoMemMaxSize"=dword:01000000   ; 16MB common memory window
    "WindowInfoMemBase"=dword:2C000000      ; base address of the memory window

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCC_MAINSTONEII0\WindowEntry3]
    "RepeatCount"=dword:2                   ; 2 instances of the IO window
    "WindowInfoWindowCaps"=dword:4          ; WIN_CAP_IO
    "WindowInfoIOCaps"=dword:18             ; IO_CAP_8BIT | IO_CAP_16BIT
    "WindowInfoIOMinSize"=dword:1000        ; require 4 byte alignment
;(oaladdresstable changed to accomodate 128 MB SDRAM)
;"WindowInfoIOMaxSize"=dword:02000000
    "WindowInfoIOMaxSize"=dword:00100000  ; 1MB IO space
    "WindowInfoIOGranularity"=dword:1
    "WindowInfoIOFirstByte"=dword:20000000
;(oaladdresstable changed to accomodate 128 MB SDRAM)
;"WindowInfoIOLastByte"=dword:21ffffff
    "WindowInfoIOLastByte"=dword:200fffff
    "WindowStateState"=dword:1              ; WIN_STATE_MAPS_IO

;
; PCMCIA slot 1
;
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCC_MAINSTONEII1]
   "Dll"="pcc_mainstoneii.dll"
   "Order"=dword:20
   "ClientIrq"=dword:4F          ; Client Irq (79) IRQ_GPIO0_PCMCIA_S1
;"Irq"=multi_sz:"4E", "4D"     ; CSC (78) and CD (77) Irqs
;"SysIntr"=multi_sz:"17", "0"  ; CSC (23) and CD (0) SysIntrs
   "Irq"=dword:4E       ; CSC (78)  IRQ_GPIO0_PCMCIA_S1_CSC
   "SysIntr"=dword:17   ; CSC (23)
   "PollingMode"=dword:1
   "PollTimeout"=dword:1f4
   "SlotNumber"=dword:1
   "PCCARDDLL"="pcc_serv.dll"
   "NoISR"=dword:1 ; Do not load any ISR.
   "IClass"=multi_sz:"{57430CF2-A260-4c9b-8F5C-FEF89217FE7C}=%b","{44985F1F-2C07-4009-A6B7-D250785D5336}=%b"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCC_MAINSTONEII1\WindowEntry1]
    "RepeatCount"=dword:1                   ; 1 instance of the memory window
    "WindowInfoWindowCaps"=dword:2          ; WIN_CAP_ATTRIBUTE
    "WindowInfoMemoryCaps"=dword:10         ; MEM_CAP_16BIT
    "WindowInfoMemMinSize"=dword:00001000   ; require 4k alignment
    "WindowInfoMemMaxSize"=dword:04000000   ; 64MB attribute memory window
    "WindowInfoMemBase"=dword:38000000      ; base address of the memory window

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCC_MAINSTONEII1\WindowEntry2]
    "RepeatCount"=dword:1                   ; 1 instance of the memory window
    "WindowInfoWindowCaps"=dword:1          ; WIN_CAP_COMMON
    "WindowInfoMemoryCaps"=dword:10         ; MEM_CAP_16BIT
    "WindowInfoMemMinSize"=dword:00001000   ; require 4k alignment
;(oaladdresstable changed to accomodate 128 MB SDRAM)
;"WindowInfoMemMaxSize"=dword:04000000   ; 64MB common memory window
    "WindowInfoMemMaxSize"=dword:01000000   ; 16MB common memory window
    "WindowInfoMemBase"=dword:3C000000      ; base address of the memory window

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCC_MAINSTONEII1\WindowEntry3]
    "RepeatCount"=dword:2                   ; 2 instances of the IO window
    "WindowInfoWindowCaps"=dword:4          ; WIN_CAP_IO
    "WindowInfoIOCaps"=dword:18             ; IO_CAP_8BIT | IO_CAP_16BIT
    "WindowInfoIOMinSize"=dword:1000        ; require 4 byte alignment
;(oaladdresstable changed to accomodate 128 MB SDRAM)
;"WindowInfoIOMaxSize"=dword:02000000
    "WindowInfoIOMaxSize"=dword:0100000    ; 1MB IO space
    "WindowInfoIOGranularity"=dword:1
    "WindowInfoIOFirstByte"=dword:30000000
;(oaladdresstable changed to accomodate 128 MB SDRAM)
;"WindowInfoIOLastByte"=dword:31ffffff
    "WindowInfoIOLastByte"=dword:300fffff     ;
    "WindowStateState"=dword:1              ; WIN_STATE_MAPS_IO

⌨️ 快捷键说明

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