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

[请教]BIOS地址映射?

[复制链接]
发表于 2008-4-11 02:56:44 | 显示全部楼层 |阅读模式
原512K的ROM,现换了一个1M的ROM,windows下在 0xFFF0 0000~0xFFF7 FFFF 可以看到追加的512K的内容。
  l+ Q2 P' a3 U1 D! [; {( {6 }0 i3 d但在启动计算机时(BIOS没有初始化计算机),无法访问追加的512K的ROM。
: C3 Z, _4 d+ o/ K6 J/ h; J# v(可以访问原512K的ROM 0xFFF8 0000~0xFFFF FFFF)9 |- N! o7 a" _7 L( a
* J8 q2 f% s, K# L, t$ r1 D
我的计算机用的是intel的ICH7南桥。0 r2 q5 y+ L5 x$ |$ D
在手册上. @  v4 A! U" [( W- z4 h# N
FWH_SEL2—Firmware Hub Select 2 Register (LPC I/F—D31:F0)7 v$ i! X' w* q: }
FWH_70_IDSEL — R/W. IDSEL for two, 1-M Firmware Hub memory ranges.
* u3 a# a6 L  _6 _The IDSEL programmed in this field addresses the following memory ranges:
' A; m* R8 H% {$ k; d6 }FF70 0000h – FF7F FFFFh/ Y* G* x; N+ y
FF30 0000h – FF3F FFFFh
$ @  D* j$ x5 U; U在这里 IDSEL 如何理解。
7 {& P6 {" D0 l, XFWH_DEC_EN1—Firmware Hub Decode Enable Register
, _  r6 x/ P1 Z4 f; o(LPC I/F—D31:F0)
( U0 O( F$ w( a5 D2 }& Q4 O* f; tFWH_70_EN — R/W. Enables decoding two 1-M Firmware Hub memory ranges.
5 _) G" k- |. F: n1 R- C0 = Disable.
: x- O7 }. U5 }& L: q& U# _1 = Enable the following ranges for the Firmware Hub
0 e8 J9 z( s4 D1 w& J* KFF70 0000h – FF7F FFFFh5 W1 O" v' @; q6 X+ C
FF30 0000h – FF3F FFFFh! G' K* h' o- N5 v3 m0 H1 I- t: a$ G
除了上面的数据区域,还有其它的数据区域控制ROM到内存地址的映射吗?/ W' l( |* j: f' x
% W3 U/ k  t1 X2 W' H$ E0 d# I8 M; J
谢谢大家了!!!
发表于 2008-4-13 12:26:41 | 显示全部楼层
IDSEL是LPC spec的一个信号(Device Select),
' i) F! X) c) y8 ?, d  F8 UThis one clock field is used to indicate which of multiple Firmware components is being selected.1 o7 X! O3 S4 p
The four bits transmitted over AD[3:0] during this clock are compared with values strapped onto
* W/ j) H9 b, z- \3 ?pins on the Firmware component. If there is a match, the Firmware component will continue to! K/ _1 A/ s) A) a
decode the cycle to determine which bytes are requested on a read or which bytes to update on a; n5 k$ @8 v0 i
write. If there isn’t a match, the Firmware component may discard the rest of the cycle and go into' Q# R( O- z+ @4 ]. O7 \. q( Q
a standby power state.
9 c/ {, L1 ]2 n: C5 o$ q4 J) U! y$ M
详见LPC spec:+ _) z0 C! k, q/ f
http://www.intel.com/design/chipsets/industry/25128901.pdf+ C! S* `8 o3 a4 D: ~6 W$ A

/ ?4 }! z4 K" O7 A. _% U5 V' a在ICH 7 中似乎就这几个吧(FWH_SEL1,FWH_SEL2,FWH_DEC_EN1,BIOS_CNTL),据我现在知道的.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-6-8 10:57 , Processed in 0.507858 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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