阅读:1138回复:3
请教9052的配置eeprom问题
请问各位高手:
在 pci9052的配置eeprom 中有; Local Base Address (Remap) for PCI-to-Local Address SPace 0 即0x24单元:请问应该如何配置它?我实在搞不明白是什么意思 |
|
沙发#
发布于:2003-08-07 17:56
我现在也在弄这个片子呢,我用的是ISA模式,等候高人出现吧
|
|
板凳#
发布于:2003-08-07 19:02
0----Space 0 Enable. Value of 1 enables decode of PCI addresses for Direct Slave access to Local Space 0. Value of 0 disables decode.
1:---Unused. 3:2 If Local Space 0 is mapped into Memory space, these bits are not used.If mapped into I/O space, these bits are included with bits [27:4] for remapping. 27:4--Remap of PCI Address to Local Address Space 0 into a Local Address Space. The bits in this register remap (replace) PCI Address bits used in decode as the Local Address bits. 31:28--Unused. (Local address bits [31:28] do not exist in the PCI 9052.) 典型设置:00000001 |
|
地板#
发布于:2003-08-07 23:51
多谢上面的高手赐教, 非常感谢。
其中有这样一句话:“this register remap (replace) PCI Address bits used in decode as the Local Address bits.” 其中的PCI Address bits和Local Address bits.是什么意思? 下面是书中的一个例子,其中的PCI Address bits和Local Address bits.指的是不是0120,0000h? 望高手赐教!!! 引自pci9052 databook v2.0 4.2.1.5.3 Direct Slave Example A 1 MB prefetchable Local Address Space encompassing Local Bus Addresses 01200000h through 012FFFFFh is to be configured for Local Address Space 0. Assume the BIOS System Resource Manager allocates 1 MB with a PCI Base Address of 34500000h. The Local memory is then accessible at PCI Addresses 34500000h through 345FFFFFh. a. Program the serial EEPROM as follows: • Range―FFF00008h [1 MB, decode the upper 12 PCI Address bits, and set the Prefetchable bit (LAS0RR[3]=1)]. • Local Base Address (Remap)―01200001h (Local Base Address for PCI-to-Local accesses). Bit 0 must be set to enable address decoding (LAS0BA[0]=1). |
|