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

[请教]BIOS地址映射?

[复制链接]
发表于 2008-4-11 02:56:44 | 显示全部楼层 |阅读模式
原512K的ROM,现换了一个1M的ROM,windows下在 0xFFF0 0000~0xFFF7 FFFF 可以看到追加的512K的内容。
; Q: G9 I" ]7 S, q4 m. Z但在启动计算机时(BIOS没有初始化计算机),无法访问追加的512K的ROM。
; ?' _( i4 f. o9 H9 Y9 y* m0 K+ w(可以访问原512K的ROM 0xFFF8 0000~0xFFFF FFFF)3 A) C% F8 l; h* D

2 h/ H. K/ m9 k6 C' J& v3 G我的计算机用的是intel的ICH7南桥。; G3 G! a& p& P  q- S; }- }
在手册上
" N2 L* p9 Y$ E# r( G# BFWH_SEL2—Firmware Hub Select 2 Register (LPC I/F—D31:F0). Z$ n7 v. a& B1 R
FWH_70_IDSEL — R/W. IDSEL for two, 1-M Firmware Hub memory ranges.
+ L3 x# U% ]% p/ Z, d* C" D" eThe IDSEL programmed in this field addresses the following memory ranges:
' B: Y9 q: @0 }( \FF70 0000h – FF7F FFFFh1 s2 M. m5 D8 O5 N2 }" j
FF30 0000h – FF3F FFFFh
# A& }* y' ^& J" x在这里 IDSEL 如何理解。
/ R$ X' e1 b$ U( kFWH_DEC_EN1—Firmware Hub Decode Enable Register1 W8 `) f" a/ a5 d% `& y
(LPC I/F—D31:F0)
# G$ {( {$ |) r/ B( C6 W) q- _- LFWH_70_EN — R/W. Enables decoding two 1-M Firmware Hub memory ranges.
7 P. O# N# i) z4 A6 b0 = Disable.% U9 c5 k4 X, H  }. }* m3 e
1 = Enable the following ranges for the Firmware Hub
% i# J; H, T: }( x6 ~( G( @6 oFF70 0000h – FF7F FFFFh
1 M3 u- e+ _$ p9 A# l" E+ w! ]FF30 0000h – FF3F FFFFh
" u1 Y5 ?* x, v! E( x6 o. E除了上面的数据区域,还有其它的数据区域控制ROM到内存地址的映射吗?
5 t" j  j2 E7 a4 F% Y7 k: c! B" h1 D& K! S
谢谢大家了!!!
发表于 2008-4-13 12:26:41 | 显示全部楼层
IDSEL是LPC spec的一个信号(Device Select),
, H; Z, I6 P. o2 H+ b9 U1 {2 o" t, D8 mThis one clock field is used to indicate which of multiple Firmware components is being selected.9 q! o* Q. q% F8 y9 @4 v
The four bits transmitted over AD[3:0] during this clock are compared with values strapped onto  d3 u# B) r5 l# j5 f; @, w! H
pins on the Firmware component. If there is a match, the Firmware component will continue to
9 t. i% m: e( C6 o8 Xdecode the cycle to determine which bytes are requested on a read or which bytes to update on a
5 p+ v6 m' Q3 R8 swrite. If there isn’t a match, the Firmware component may discard the rest of the cycle and go into
9 z4 n4 a) [* d* W: Va standby power state.
! y8 T& W. d& f9 g' T& }# X' g( U4 `+ L7 p& z
详见LPC spec:
( m+ ~2 c" k2 D) g+ B. n2 ohttp://www.intel.com/design/chipsets/industry/25128901.pdf  C' y  |# [3 {4 t$ y4 t
& y7 \- e8 M9 Z) y2 y) M- P
在ICH 7 中似乎就这几个吧(FWH_SEL1,FWH_SEL2,FWH_DEC_EN1,BIOS_CNTL),据我现在知道的.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-4-20 03:40 , Processed in 0.392468 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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