How to access the BIOS flash rom area in driver ?

I would like to create a driver which can access the BIOS flash rom area,
Could someone give me a hint for that… Thanks.

Steel Chueh
FW/ SW engineer Arima Computer Co.
Office:02-27495588 ext 361
Cell-Phone:0937917003


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Asked and answered many many many many many many many many many many many
many many many many many many many many many many many many many many many
many many many many many many many many many many times.

The hint is to write your own HAL, which you really don??t want to do. All
of the BIOS information that you need is contained in the registry, and in
most cases tip toeing using RegEdit can provide all the information you
need. Besides, once NTLDR has loaded and system initialization begun, the
BIOS is mapped out and no longer used.

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Steel Chueh [mailto:xxxxx@pchome.com.tw]
Sent: Tuesday, August 14, 2001 8:32 PM
To: NT Developers Interest List
Subject: [ntdev] How to access the BIOS flash rom area in driver ?

I would like to create a driver which can access the BIOS flash rom area,
Could someone give me a hint for that… Thanks.

Steel Chueh
FW/ SW engineer Arima Computer Co.
Office:02-27495588 ext 361
Cell-Phone:0937917003

You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Pass 0x000f0000 to MmMapIoSpace.

Max
----- Original Message -----
From: Steel Chueh
To: NT Developers Interest List
Sent: Wednesday, August 15, 2001 7:32 AM
Subject: [ntdev] How to access the BIOS flash rom area in driver ?

I would like to create a driver which can access the BIOS flash rom area,
Could someone give me a hint for that… Thanks.

Steel Chueh
FW/ SW engineer Arima Computer Co.
Office:02-27495588 ext 361
Cell-Phone:0937917003


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

>

RE: How to access the BIOS flash rom area in driver ?

I’m a little confuse about it…
Under Dos, if we want to identify the flash rom vendor ID
We might do the action such as follows,

xor esi,esi
mov es,si
mov esi,0FFFC0000h
mov edi,0FFFC0001h
;
; Winbond 29C020 SoftWare Product Identification
;
mov BYTE PTR es:[esi+5555h],0AAh ; Enable product ID
mov BYTE PTR es:[esi+2AAAh],055h
mov BYTE PTR es:[esi+5555h],080h
mov BYTE PTR es:[esi+5555h],0AAh
mov BYTE PTR es:[esi+2AAAh],055h
mov BYTE PTR es:[esi+5555h],060h
call Delay20ms

mov ah,es:[esi] ; Fetch manufacturer ID
mov al,es:[edi] ; Fetch device ID

Well, That is force the system into the “BIG-Real” mode…

How can I “talk to” the flash device in the driver ??

  1. Just pass FFFC0 to mmMapIOSpace for 256k memory I/O ??
  2. Do I need to change the proctect mode to another mode ?

Thanks for your help, I am quite confuse on that…

Steel Chueh
FW/ SW engineer
Cell-Phone:0937917003

==========================================================
PC home ¹q¤l«H½c¡A¥Ó½Ð½Ð¦Ü: http://www.pchome.com.tw
PC home Online ºô¸ô®a®x¡G·|­û²Ä¤@¡A¥xÆW³Ì¤jªº¤J¤fºô¯¸


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com