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

[请教]BIOS地址映射?

[复制链接]
发表于 2008-4-11 02:56:44 | 显示全部楼层 |阅读模式
原512K的ROM,现换了一个1M的ROM,windows下在 0xFFF0 0000~0xFFF7 FFFF 可以看到追加的512K的内容。# N1 A( h+ O: }' `9 x5 L
但在启动计算机时(BIOS没有初始化计算机),无法访问追加的512K的ROM。' X+ Q9 b) _3 H& `0 T* }0 J$ O, l' F
(可以访问原512K的ROM 0xFFF8 0000~0xFFFF FFFF)8 H1 }. x# H, p
+ V3 l" Z* n  s# e- E& u
我的计算机用的是intel的ICH7南桥。
4 v# g. r6 F/ {: a. T& Y在手册上
  p3 Q/ o1 r# d9 {9 Q" xFWH_SEL2—Firmware Hub Select 2 Register (LPC I/F—D31:F0)
+ [) d, X% p8 z" X( X: }" G9 o; cFWH_70_IDSEL — R/W. IDSEL for two, 1-M Firmware Hub memory ranges.
2 g2 x8 t! t& {) T, k% z7 {8 wThe IDSEL programmed in this field addresses the following memory ranges:- l, j8 E" r1 Q6 y8 Z6 i/ m
FF70 0000h – FF7F FFFFh
! c7 Y, C6 W, @# J& V/ bFF30 0000h – FF3F FFFFh  \8 ^$ _/ k! c& {1 e$ g  C
在这里 IDSEL 如何理解。% n3 r, C3 P* T
FWH_DEC_EN1—Firmware Hub Decode Enable Register; H# t+ N- m9 r- E2 c
(LPC I/F—D31:F0)
  w% X- ^& C$ s. ^+ T4 pFWH_70_EN — R/W. Enables decoding two 1-M Firmware Hub memory ranges.& ?, X, ?1 |9 L& h4 L! B, e$ e
0 = Disable.1 g& N) T: L0 q' ~6 `
1 = Enable the following ranges for the Firmware Hub- K6 T( `; Z5 }
FF70 0000h – FF7F FFFFh# h+ o; {- y" y+ V* F1 d2 R+ t+ y, P/ p
FF30 0000h – FF3F FFFFh
/ L- a6 }8 x( @, |/ w3 t; {除了上面的数据区域,还有其它的数据区域控制ROM到内存地址的映射吗?8 v) z5 H4 |0 j1 F- S
/ k: Y6 N2 m. B4 w+ _4 K
谢谢大家了!!!
发表于 2008-4-13 12:26:41 | 显示全部楼层
IDSEL是LPC spec的一个信号(Device Select),: N  t  v: H/ S' W: c/ M' v
This one clock field is used to indicate which of multiple Firmware components is being selected.; m3 m5 k/ a! L/ a
The four bits transmitted over AD[3:0] during this clock are compared with values strapped onto3 h: P2 ?# Y/ n) U' S3 j
pins on the Firmware component. If there is a match, the Firmware component will continue to
- L) l( J! J+ z8 Sdecode the cycle to determine which bytes are requested on a read or which bytes to update on a
4 Q3 Z7 F7 B2 t6 Q  Z. rwrite. If there isn’t a match, the Firmware component may discard the rest of the cycle and go into- N8 W. A" i9 G# V2 T9 ?: [8 N" K+ X# C6 x
a standby power state.
3 W, p5 h6 X4 F0 z5 q4 ?7 f/ l3 i3 x7 ]4 b" G# S: Z
详见LPC spec:
& ~8 R" z$ ~3 ~http://www.intel.com/design/chipsets/industry/25128901.pdf
+ |  l( x5 \5 d3 y# [' H; z0 R: ~
. e5 i4 |. y7 ]( z- X) d5 Q% x在ICH 7 中似乎就这几个吧(FWH_SEL1,FWH_SEL2,FWH_DEC_EN1,BIOS_CNTL),据我现在知道的.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-29 05:08 , Processed in 0.028209 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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