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

[请教]BIOS地址映射?

[复制链接]
发表于 2008-4-11 02:56:44 | 显示全部楼层 |阅读模式
原512K的ROM,现换了一个1M的ROM,windows下在 0xFFF0 0000~0xFFF7 FFFF 可以看到追加的512K的内容。
& q2 Z. @1 p. y. p( ]1 I7 ]% V但在启动计算机时(BIOS没有初始化计算机),无法访问追加的512K的ROM。
: U( q) ?1 o, Z' |. L- J9 D(可以访问原512K的ROM 0xFFF8 0000~0xFFFF FFFF)1 |1 D, e4 G! o$ n( o& s% H. G
. s7 f, J2 l  K: t- j& G
我的计算机用的是intel的ICH7南桥。
2 N4 u) |: D7 C) |1 w在手册上
7 O% k7 U: J! bFWH_SEL2—Firmware Hub Select 2 Register (LPC I/F—D31:F0)
6 k7 [* Q9 H% X" s' {0 D0 L. WFWH_70_IDSEL — R/W. IDSEL for two, 1-M Firmware Hub memory ranges.
0 g7 D8 H; t* v$ [4 nThe IDSEL programmed in this field addresses the following memory ranges:. \( G1 y1 C4 ~* o
FF70 0000h – FF7F FFFFh
% O+ d9 P0 G* T5 B8 @5 [FF30 0000h – FF3F FFFFh
1 `1 F6 Y# x6 `在这里 IDSEL 如何理解。
, A, \% R8 C& \FWH_DEC_EN1—Firmware Hub Decode Enable Register8 z" c0 U5 `4 B  Y
(LPC I/F—D31:F0)" `9 t2 g+ D! N0 \6 D
FWH_70_EN — R/W. Enables decoding two 1-M Firmware Hub memory ranges.
3 H. `/ k7 D! T" ]4 l" o% C. y# e9 E0 = Disable.
% f9 l6 P, R2 i4 a! o6 j  K0 F1 = Enable the following ranges for the Firmware Hub2 X& t; Y1 s1 s0 ~$ j
FF70 0000h – FF7F FFFFh
& C2 @3 x; C$ l1 Z6 I9 q! Q9 T3 M3 wFF30 0000h – FF3F FFFFh
% L/ O9 t3 |& d  ^# q1 E+ D除了上面的数据区域,还有其它的数据区域控制ROM到内存地址的映射吗?" J: J( C; r/ b' m9 x, W; a, ^/ c

; x/ U& U- \* T% ~$ K1 ^/ O9 `  u- D谢谢大家了!!!
发表于 2008-4-13 12:26:41 | 显示全部楼层
IDSEL是LPC spec的一个信号(Device Select),/ J0 i$ x, L/ d# h
This one clock field is used to indicate which of multiple Firmware components is being selected.
/ G; P! w. |- \5 u) j& qThe four bits transmitted over AD[3:0] during this clock are compared with values strapped onto& e0 U" N/ Q2 }7 b+ [* M
pins on the Firmware component. If there is a match, the Firmware component will continue to/ g& K$ h' e. D* I# e
decode the cycle to determine which bytes are requested on a read or which bytes to update on a( a$ ~: @% ?3 _2 G7 }# x9 B
write. If there isn’t a match, the Firmware component may discard the rest of the cycle and go into& Y* d9 _' X3 K0 q8 v( I/ m  w
a standby power state.
8 v4 A4 k& n4 I; }* \5 A4 J# p* m: G2 Q- j- x0 {. ?& I
详见LPC spec:
3 H$ C3 i! ]$ H' A. J, f8 M6 fhttp://www.intel.com/design/chipsets/industry/25128901.pdf
' j! }3 F+ {- x; B7 a
/ E7 v  _* T. U在ICH 7 中似乎就这几个吧(FWH_SEL1,FWH_SEL2,FWH_DEC_EN1,BIOS_CNTL),据我现在知道的.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-12-1 02:18 , Processed in 0.181406 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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