Either method that you describe will work. NT does not reclaim the BIOS
area, specifically for reasons like yours.
It makes me curious, though, how much control you have over the machines
you care about. Are you talking about the BIOS on an add-in card? Or
are you talking about something in the system BIOS itself?
If it’s the add-in card, you’re safe in reading your BIOS Base Address
Register and mapping it with MmMapIoSpace.
If it’s the system BIOS, then you’re probably safe, but you’ve tied your
driver to a specific motherboard.
If it isn’t the system BIOS, then adding data to ACPI isn’t feasible, so
I assume that it must have been the system BIOS you were talking about.
- Jake
-----Original Message-----
From: xxxxx@yahoo.com (Ntdev Reader)
Newsgroups:
comp.os.ms-windows.programmer.nt.kernel-mode,microsoft.public.developmen
t.device.drivers
Subject: MmMapIoSpace( BIOS physical address)???
Date: 10 Jan 2002 11:13:11 -0800
Suppose, I want to see the BIOS from my WDM driver. The method in the
subject appears to work on my machine. Does anybody know of any
potential problems with this method? Is this possible that the BIOS
memory for some reason might be invisible on some machines or change
the physical address, or something else…?
I’m not going to call the bios, just want to read a data table from it.
My concern is that something might happen like OS might think “hey, why
do we need this BIOS clogging the physical memory space, let’s call some
ACPI methods to disconnect it and free this space for some RAM chips
that
can be installed while the computer is running”. Can this happen, what
do you think? We are discussing another option - to have the data table
added to ACPI and then read it through acpi.sys. This looks like some
additional code in the driver and in the BIOS - much more complex than
just MmMapIoSpace. I like simplicity… but is is not always suitable.
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