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

[请教]BIOS地址映射?

[复制链接]
发表于 2008-4-11 02:56:44 | 显示全部楼层 |阅读模式
原512K的ROM,现换了一个1M的ROM,windows下在 0xFFF0 0000~0xFFF7 FFFF 可以看到追加的512K的内容。# S5 ], x" s$ p- w  @! b; i6 o% {
但在启动计算机时(BIOS没有初始化计算机),无法访问追加的512K的ROM。
( ]$ U+ k2 H. f* U+ F) O3 P(可以访问原512K的ROM 0xFFF8 0000~0xFFFF FFFF)
( I: K( Y0 b( U' _
5 _* ^: p' o0 [! w9 {" M" a# i我的计算机用的是intel的ICH7南桥。8 j; [. G1 R. E- m7 |0 w
在手册上4 h5 p* s! y+ S' U/ Z0 s( M! d
FWH_SEL2—Firmware Hub Select 2 Register (LPC I/F—D31:F0)
' T# T( P- a% o. ^$ u" v+ [2 V8 WFWH_70_IDSEL — R/W. IDSEL for two, 1-M Firmware Hub memory ranges.  D. Q1 z: L2 d
The IDSEL programmed in this field addresses the following memory ranges:* s  O% A6 ]& f( P9 X7 B
FF70 0000h – FF7F FFFFh
7 V5 I- q4 n( C) T! P1 MFF30 0000h – FF3F FFFFh& z! {/ s9 V9 s, Z
在这里 IDSEL 如何理解。* V* y$ D) t- W. ]- W
FWH_DEC_EN1—Firmware Hub Decode Enable Register
# j2 S' z, E8 l' s" ~(LPC I/F—D31:F0)0 o' O9 x/ `# e( U) [" L4 G+ b
FWH_70_EN — R/W. Enables decoding two 1-M Firmware Hub memory ranges.
! v, Q: e/ ?/ k9 p' }, o1 q0 = Disable.
* @3 f- H* ]4 t4 u& I1 Y  K1 = Enable the following ranges for the Firmware Hub
5 r" u+ e/ i! _; J; E; j' zFF70 0000h – FF7F FFFFh
# o  d( a  s) O8 M  q% v& Y+ HFF30 0000h – FF3F FFFFh
- g! m. R7 k% Z1 H除了上面的数据区域,还有其它的数据区域控制ROM到内存地址的映射吗?3 }& P; k7 E8 w* X2 R7 R' i6 \( g% `2 Y
' m2 l0 u0 r# C
谢谢大家了!!!
发表于 2008-4-13 12:26:41 | 显示全部楼层
IDSEL是LPC spec的一个信号(Device Select),
. q& h7 ]8 n8 a0 M/ Z( yThis one clock field is used to indicate which of multiple Firmware components is being selected.% a! p) i( n' I% E" v  D4 g! i1 s+ k
The four bits transmitted over AD[3:0] during this clock are compared with values strapped onto
# g3 I' d5 @" H( Opins on the Firmware component. If there is a match, the Firmware component will continue to
8 e- ~; T5 P- O3 F! Bdecode the cycle to determine which bytes are requested on a read or which bytes to update on a
2 ]$ V8 V8 [7 N% ]$ E, `' Y! ~write. If there isn’t a match, the Firmware component may discard the rest of the cycle and go into
+ h7 ^; J: i/ c2 U. `a standby power state.
8 M5 Z* L' v+ W: R5 ?1 H
5 T9 }4 T  O' R( d! Q6 V) G+ b$ e: q1 M详见LPC spec:
) T" ^# j! e6 m& ahttp://www.intel.com/design/chipsets/industry/25128901.pdf- ~/ c& a1 L8 P$ V2 j
2 R" X+ V& X& u" X6 E
在ICH 7 中似乎就这几个吧(FWH_SEL1,FWH_SEL2,FWH_DEC_EN1,BIOS_CNTL),据我现在知道的.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-6-29 06:04 , Processed in 0.129851 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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