📄 pcc_plato.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 OR INDEMNITIES.
;
; 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_PLATO0]
"Dll"="pcc_plato.dll"
"Order"=dword:18
"ClientIrq"=dword:C1 ; GPIO(95) IRQ_GPIOXX_2_GPIO95
"Irq"=dword:0 ; No Card Status Change interrupt
"SysIntr"=dword:0 ; No Card Status Change interrupt
"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"
;ensure ndis starts after pccard other wise an execption can be generated
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NDIS]
"Order"=-
"Order"=dword:20
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCC_PLATO0\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_PLATO0\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
"WindowInfoMemMaxSize"=dword:01000000 ; 16MB common memory window
"WindowInfoMemBase"=dword:2C000000 ; base address of the memory window
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCC_PLATO0\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
"WindowInfoIOMaxSize"=dword:00100000 ; 1MB IO space
"WindowInfoIOGranularity"=dword:1
"WindowInfoIOFirstByte"=dword:20000000
"WindowInfoIOLastByte"=dword:200fffff
"WindowStateState"=dword:1 ; WIN_STATE_MAPS_IO
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -