找回密码
 加入计匠网
搜索
热搜: BIOS ACPI CPU Windows
查看: 9862|回复: 1

[请教]BIOS地址映射?

[复制链接]
发表于 2008-4-11 02:56:44 | 显示全部楼层 |阅读模式
原512K的ROM,现换了一个1M的ROM,windows下在 0xFFF0 0000~0xFFF7 FFFF 可以看到追加的512K的内容。
5 J0 N: {4 d( Q( l" z6 K" B0 j  E但在启动计算机时(BIOS没有初始化计算机),无法访问追加的512K的ROM。$ V( \& Y4 S" @) \2 K- _: z
(可以访问原512K的ROM 0xFFF8 0000~0xFFFF FFFF)5 z4 @5 n  G* v/ ?( U& y
4 n9 h$ F1 @# A9 z) u) V3 n- g. D
我的计算机用的是intel的ICH7南桥。
8 R; O9 `' y5 f. {( p2 t9 `3 q在手册上
6 P3 ^1 `# C' W) eFWH_SEL2—Firmware Hub Select 2 Register (LPC I/F—D31:F0)# S) \( T  t& @0 v1 J) q
FWH_70_IDSEL — R/W. IDSEL for two, 1-M Firmware Hub memory ranges." H& L0 L0 K  M2 G' c7 T( V9 }
The IDSEL programmed in this field addresses the following memory ranges:& c/ e2 P2 X2 F: ^3 e
FF70 0000h – FF7F FFFFh5 ?2 N  M/ a% |7 q
FF30 0000h – FF3F FFFFh% T7 G5 |& V: l9 O" ?1 H
在这里 IDSEL 如何理解。  @- n3 n" _& x& {2 _( K
FWH_DEC_EN1—Firmware Hub Decode Enable Register8 M: {  r4 b; L' C) N- x- D
(LPC I/F—D31:F0)8 V9 Y& L3 ^7 l
FWH_70_EN — R/W. Enables decoding two 1-M Firmware Hub memory ranges.8 c$ S' k* s9 y  I- a" F
0 = Disable.
5 L! c* g' u& H2 {; w. c: T1 = Enable the following ranges for the Firmware Hub  @4 B# G; ~0 o0 P
FF70 0000h – FF7F FFFFh
& \" H* O: k8 }3 p* s& iFF30 0000h – FF3F FFFFh
* v- w, ?8 Q/ f3 j, N  C9 x% @除了上面的数据区域,还有其它的数据区域控制ROM到内存地址的映射吗?9 |( `3 k0 E: X0 ]

: d0 Y6 x9 o$ y" m谢谢大家了!!!
发表于 2008-4-13 12:26:41 | 显示全部楼层
IDSEL是LPC spec的一个信号(Device Select),
3 M8 m8 a/ R& ]+ H: q9 S/ qThis one clock field is used to indicate which of multiple Firmware components is being selected.$ }  u1 @/ b; C$ i6 o) e: l+ X* z
The four bits transmitted over AD[3:0] during this clock are compared with values strapped onto* P* U0 g# o$ b* V! s. s6 i2 O1 X
pins on the Firmware component. If there is a match, the Firmware component will continue to. d" H7 ]; j8 {- \# \" A" h
decode the cycle to determine which bytes are requested on a read or which bytes to update on a- M, U2 j9 v9 n8 v# w
write. If there isn’t a match, the Firmware component may discard the rest of the cycle and go into$ Y; ?" ^3 {2 k. j; O8 C0 L
a standby power state.( @* U6 S& V  z0 m! a4 G  w1 w( ]/ |* y

* {' ?1 P  S- A- }$ N详见LPC spec:
( k- E4 ]: q, q9 c7 V" M: D1 Y; \1 y2 Ahttp://www.intel.com/design/chipsets/industry/25128901.pdf
7 i- N( ^) h# u* n: F6 W5 C4 O" d! F; s6 F1 ]5 m
在ICH 7 中似乎就这几个吧(FWH_SEL1,FWH_SEL2,FWH_DEC_EN1,BIOS_CNTL),据我现在知道的.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 加入计匠网

本版积分规则

Archiver|手机版|小黑屋|计匠网

GMT+8, 2024-5-20 19:40 , Processed in 0.031854 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表