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

[请教]BIOS地址映射?

[复制链接]
发表于 2008-4-11 02:56:44 | 显示全部楼层 |阅读模式
原512K的ROM,现换了一个1M的ROM,windows下在 0xFFF0 0000~0xFFF7 FFFF 可以看到追加的512K的内容。0 E' [( b) S, E% h# F: r4 x: Y" Y
但在启动计算机时(BIOS没有初始化计算机),无法访问追加的512K的ROM。
  @/ a  Q  O5 \. u* Q+ e5 K+ I. S(可以访问原512K的ROM 0xFFF8 0000~0xFFFF FFFF)
% q3 c$ K! z: J: {% u; j9 m
9 [: u7 _4 Z( P/ p我的计算机用的是intel的ICH7南桥。, `* Q5 P4 N% K& H1 o& k4 {$ y4 u
在手册上
0 m1 g2 T- @2 I+ f8 W7 K, pFWH_SEL2—Firmware Hub Select 2 Register (LPC I/F—D31:F0)
2 k: k& N2 I+ I: C$ \' WFWH_70_IDSEL — R/W. IDSEL for two, 1-M Firmware Hub memory ranges., f/ U5 r! v9 v0 y
The IDSEL programmed in this field addresses the following memory ranges:
9 K, r. ^. X2 F% C4 KFF70 0000h – FF7F FFFFh
0 f7 J; ?1 ?$ |, S9 wFF30 0000h – FF3F FFFFh
, ?1 }2 ?; K6 u: G+ D: h在这里 IDSEL 如何理解。5 H" J# F2 s& x+ @2 v
FWH_DEC_EN1—Firmware Hub Decode Enable Register9 X. L- D! h) f: ^0 u/ n
(LPC I/F—D31:F0): ^. F) D* m0 G: x$ h# Z! f
FWH_70_EN — R/W. Enables decoding two 1-M Firmware Hub memory ranges.
! \5 Y" A+ K; h/ h- v0 = Disable.
3 n7 ?" }* A  ]1 G  m3 ^$ T! T1 = Enable the following ranges for the Firmware Hub  t4 b. Y. ~9 y  h
FF70 0000h – FF7F FFFFh% Q; ~& f2 p) h& q
FF30 0000h – FF3F FFFFh0 H% S2 I; a, `8 M0 J
除了上面的数据区域,还有其它的数据区域控制ROM到内存地址的映射吗?
& k$ c; [# u; B" M' y( A" F& m: f0 y2 P- C- N$ a  ^+ l- D! I
谢谢大家了!!!
发表于 2008-4-13 12:26:41 | 显示全部楼层
IDSEL是LPC spec的一个信号(Device Select),! H. T& ^# y* `6 u6 s
This one clock field is used to indicate which of multiple Firmware components is being selected.; _8 ~$ b" Q/ i8 ]1 n+ e4 i2 S; E
The four bits transmitted over AD[3:0] during this clock are compared with values strapped onto
1 ~# p; C8 O1 u/ w# Opins on the Firmware component. If there is a match, the Firmware component will continue to) B. Y- ]  n: d9 F  {1 {
decode the cycle to determine which bytes are requested on a read or which bytes to update on a7 `2 p4 ^: |% N( q5 ]/ {; `
write. If there isn’t a match, the Firmware component may discard the rest of the cycle and go into
  r& h+ [# C. t1 O! fa standby power state.  H3 R3 U8 ?( Y4 r7 g% [
9 E2 F" \' o) l/ ^% n! V% R2 l
详见LPC spec:0 `6 d% H4 }, C  A1 V0 {2 u
http://www.intel.com/design/chipsets/industry/25128901.pdf
- J4 Z/ ^* t2 z+ x' |
) z7 T: t, _* n: b在ICH 7 中似乎就这几个吧(FWH_SEL1,FWH_SEL2,FWH_DEC_EN1,BIOS_CNTL),据我现在知道的.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-3-15 06:50 , Processed in 0.485064 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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