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

[请教]BIOS地址映射?

[复制链接]
发表于 2008-4-11 02:56:44 | 显示全部楼层 |阅读模式
原512K的ROM,现换了一个1M的ROM,windows下在 0xFFF0 0000~0xFFF7 FFFF 可以看到追加的512K的内容。
8 a; q) y; q" l  ?1 L但在启动计算机时(BIOS没有初始化计算机),无法访问追加的512K的ROM。
6 d5 w, @/ [4 D1 r! B(可以访问原512K的ROM 0xFFF8 0000~0xFFFF FFFF)) `1 I- n) x0 s5 b) m$ D
" t- H. @: s6 l9 U2 L8 w
我的计算机用的是intel的ICH7南桥。# Y3 d3 |, p5 k5 i) A/ R8 {
在手册上
; k) o# f; J3 ^/ o1 |/ SFWH_SEL2—Firmware Hub Select 2 Register (LPC I/F—D31:F0)7 S9 P+ J1 @. ]2 P: J/ y5 \9 K0 R" O
FWH_70_IDSEL — R/W. IDSEL for two, 1-M Firmware Hub memory ranges.2 \5 H  L9 ^0 g# U* d3 z- v
The IDSEL programmed in this field addresses the following memory ranges:" }; O# u8 m: u$ u
FF70 0000h – FF7F FFFFh  ^: B$ @( V. p( Q' H# E
FF30 0000h – FF3F FFFFh- A8 b5 |' C: D
在这里 IDSEL 如何理解。6 T8 N% f8 E( ]. b# C9 {
FWH_DEC_EN1—Firmware Hub Decode Enable Register
  j- y7 v, A8 S5 v8 g; S6 P(LPC I/F—D31:F0)7 _8 R" r8 [1 y* K4 Z; G% d
FWH_70_EN — R/W. Enables decoding two 1-M Firmware Hub memory ranges.
& \- f$ K% S  A- |0 = Disable.
" ]  A$ k$ G$ Z& c1 = Enable the following ranges for the Firmware Hub
, V% R4 P8 P2 [' q# ~* T. H/ IFF70 0000h – FF7F FFFFh
! h; v, j: x6 m. T! ZFF30 0000h – FF3F FFFFh) j7 t, A# q+ }' B
除了上面的数据区域,还有其它的数据区域控制ROM到内存地址的映射吗?( I2 _; e( E+ `& ~9 B: P
2 E0 d8 x4 [% r* e: o! ]
谢谢大家了!!!
发表于 2008-4-13 12:26:41 | 显示全部楼层
IDSEL是LPC spec的一个信号(Device Select),
# m1 ]! v1 O+ `% O9 OThis one clock field is used to indicate which of multiple Firmware components is being selected.; F8 n+ F2 y3 D. b0 @
The four bits transmitted over AD[3:0] during this clock are compared with values strapped onto
" ?+ t; r1 j! ^; x3 g/ l& _: x! tpins on the Firmware component. If there is a match, the Firmware component will continue to: W: f( D1 [0 G; i; C! F2 W
decode the cycle to determine which bytes are requested on a read or which bytes to update on a# c+ j3 z# L2 d# b0 Q1 A
write. If there isn’t a match, the Firmware component may discard the rest of the cycle and go into0 c) P. b; ?7 U
a standby power state.$ ]; b0 y: u( L& ]7 E& K8 L
1 ^5 [" J. @4 A+ f! J. u
详见LPC spec:
- ~, j+ }! J0 bhttp://www.intel.com/design/chipsets/industry/25128901.pdf
- ^' P, P! V5 f* j
* s: a5 `7 c& i$ K+ ~在ICH 7 中似乎就这几个吧(FWH_SEL1,FWH_SEL2,FWH_DEC_EN1,BIOS_CNTL),据我现在知道的.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-12 06:30 , Processed in 0.029258 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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