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

[请教]BIOS地址映射?

[复制链接]
发表于 2008-4-11 02:56:44 | 显示全部楼层 |阅读模式
原512K的ROM,现换了一个1M的ROM,windows下在 0xFFF0 0000~0xFFF7 FFFF 可以看到追加的512K的内容。
8 [5 r1 P$ D- X9 ~* U但在启动计算机时(BIOS没有初始化计算机),无法访问追加的512K的ROM。3 v4 {( U; ^) E& _' i, M+ K4 O
(可以访问原512K的ROM 0xFFF8 0000~0xFFFF FFFF). h, U$ Q* m/ _8 }% p

4 D" V( x) b  s" R, r9 `7 l我的计算机用的是intel的ICH7南桥。
$ r2 i* i3 O( B& [+ ]- w+ H. I在手册上
1 t4 a8 n' X( k: ]/ a* `FWH_SEL2—Firmware Hub Select 2 Register (LPC I/F—D31:F0)- P5 Z5 B. Q) u7 m7 [' m/ `& M9 j; R
FWH_70_IDSEL — R/W. IDSEL for two, 1-M Firmware Hub memory ranges.
* M7 ?# e7 O: g* S( q: T, B7 C0 YThe IDSEL programmed in this field addresses the following memory ranges:1 |9 B) w+ A; V: D5 V. q1 j4 K* a
FF70 0000h – FF7F FFFFh* A9 B- I. k  p; f8 t
FF30 0000h – FF3F FFFFh
7 Z8 C, [$ t: i0 S. F, V+ `在这里 IDSEL 如何理解。" g" Q1 G' r1 Q( m. W
FWH_DEC_EN1—Firmware Hub Decode Enable Register
- }5 Y8 ~5 H2 c: m" L(LPC I/F—D31:F0)
* h8 G& q& v! M; J3 j& E/ QFWH_70_EN — R/W. Enables decoding two 1-M Firmware Hub memory ranges.
+ ?- V6 ^2 h) [, q0 = Disable.
1 l: h5 v, ?7 r8 R1 = Enable the following ranges for the Firmware Hub
2 u5 r1 Q, o" ?4 w* x3 UFF70 0000h – FF7F FFFFh6 \. y! S8 K- K
FF30 0000h – FF3F FFFFh. o  Q& c' f+ e; `6 t! e/ ]
除了上面的数据区域,还有其它的数据区域控制ROM到内存地址的映射吗?) Q( `5 B# ?3 {% n# j

4 p# G# [) H* H' W" N% L5 s' ?谢谢大家了!!!
发表于 2008-4-13 12:26:41 | 显示全部楼层
IDSEL是LPC spec的一个信号(Device Select)," p" {5 h$ f. i! J& T; F$ W
This one clock field is used to indicate which of multiple Firmware components is being selected.5 m8 K1 ^+ R6 t! _9 [7 k
The four bits transmitted over AD[3:0] during this clock are compared with values strapped onto
) \+ \3 x2 s! j5 t9 y6 L+ _; Epins on the Firmware component. If there is a match, the Firmware component will continue to  o# V1 P$ ?1 \; ~$ ?: N( z/ p3 d
decode the cycle to determine which bytes are requested on a read or which bytes to update on a6 A/ F  g3 T; J: C$ }5 ^) b
write. If there isn’t a match, the Firmware component may discard the rest of the cycle and go into: O2 ~( Q8 q' D/ W# i7 o
a standby power state.5 C8 E7 D; u- {& ~
- g1 R! c! q8 t
详见LPC spec:
' Z  B; ~8 l0 l0 s8 Shttp://www.intel.com/design/chipsets/industry/25128901.pdf% P4 L1 F; Z2 Y( \( E

+ M) h! l# k& I0 W, [/ x0 l在ICH 7 中似乎就这几个吧(FWH_SEL1,FWH_SEL2,FWH_DEC_EN1,BIOS_CNTL),据我现在知道的.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-24 00:55 , Processed in 0.054673 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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