- How to call bios function in WDM Driver??
- Posted by paullee on February 10th, 2004
Hi All
Sorry, I know there are so many people has ready ask this question many times,
But, I still can't understand how to do it??
I have a simple digit IO device connect to south bridge,
In dos, I can just call int 15 to access it, for now , I need to access it
in win 2000, Can any one tell me how to do it??
Does anyone know how to use ke386bioscall function?? what argument it use ??
Is there any east way to slove this problem??
Any comment is welcome, sample code is the best.
Thanks for your reading^^"""
Best Regards
Paul
- Posted by Mark Roddy on February 10th, 2004
On 10 Feb 2004 00:48:20 -0800, paullee@iei.com.tw (paullee) wrote:
You write an NT device driver for it. You do not access the bios in
NT. This ain't no dos.
=====================
Mark Roddy
Windows .NET/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
- Posted by Alex on February 10th, 2004
"Mark Roddy" <mroddy@nospam.spamt> wrote in message
news
rjh20p2j4537asgtl2nv2kkquldp2mn80@4ax.com...
But, if it's not your device (you do not have the specs for it) and the
device implement function in the on-board ROM bios, accesible trough the Int
15?
In theory in a Virtual 80x86 context you should be able to call the bios
function...
- Posted by Gary G. Little on February 10th, 2004
You are not in DOS, where the BIOS is in memory some where in the heavens.
You're in NT+ where the BIOS has been mapped OUT of memory. Whether or not
you are in v86 mode at the time, there is no place to go if you could get
there, and if you do get there I highly doubt it would be where you want to
be. So ... forget the BIOS, it simply is not there anymore.
But all you have told us is that you THINK you need to call the BIOS. What
is it you think you need the BIOS to do?
--
Gary G. Little
Seagate Technologies, LLC
"Alex" <AlX@a> wrote in message
news:%23wx%23Te%237DHA.1948@TK2MSFTNGP12.phx.gbl.. .
- Posted by Alex on February 10th, 2004
"Gary G. Little" <gary.g.little.nospam@seagate.com> wrote in message
news:T57Wb.91$Yl1.63934584@newssvr11.news.prodigy. com...
You could "map" it back into existance, can't you?
- Posted by Don Burn on February 10th, 2004
You might be able to map it, but it won't nessecarily have the right
location or the support routines. Messing with BIOS (except for the very
specific video pieces supported in Windows) is just one of those things you
should not do. Even if you do, good luck when it comes to the time your
driver, or application needs to be moved to a 64-bit system.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply
"Alex" <AlX@a> wrote in message news:O$BRhkB8DHA.488@TK2MSFTNGP12.phx.gbl...
- Posted by Alex on February 10th, 2004
Well, i sed in theory..in practice you are right, without a native driver
for the device traying to get the bios working
will be next to impossbile (or meybe not, depends on what exactly the bios
is doing)
64bit system arn't backward compatible (yes, i'm pritty ignorant on the whle
64bit architecture)? If yes, you should be able to provide some kind of
virtual 80x86 enviroment in whych to directly call the driver..
Acctualy, a better approach would be to reverse engineer (is that legal?)
the bios and port it into a real driver
"Don Burn" <burn@stopspam.acm.org> wrote in message
news:102ii9kcenhgb5e@corp.supernews.com...
- Posted by paullee on February 11th, 2004
Thanks All kihd help^^
My Digit IO just use VIA 82686 chip's GPIO ,So the BIOS has some code
to decode it's io base address for access it ,for now ,
I just try to use these BIOS code in my WDM Driver to access chip GPIO。
it seems look like no anyone know how to call the Ke386CallBios function
, but thanks to GOD ,I don't need to call BIOS Function in win2000 .
Thanks all again
- Posted by Gary G. Little on February 11th, 2004
If you want to replace whole chunks of OS and "do it your way" you can do
anything you want. That however, generally implies two mutually exclusive
impossibilities -- infinite project time and money.
--
Gary G. Little
Seagate Technologies, LLC
"Alex" <AlX@a> wrote in message
news:ep%23a9FC8DHA.2432@TK2MSFTNGP10.phx.gbl...
- Posted by Phil Barila on February 22nd, 2004
"Alex" <AlX@a> wrote in message news:O$BRhkB8DHA.488@TK2MSFTNGP12.phx.gbl...
Are you related to Alberto, by any chance? You are kindred spirits, if not
literal kin.
Phil
--
Philip D. Barila Windows DDK MVP
Seagate Technology, LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.
E-mail address is pointed at a domain squatter. Use reply-to instead.
- Posted by Alex on February 22nd, 2004
"Phil Barila" <PBarila@Barila.com> wrote in message
news:sOedndan1flLoqTd4p2dnA@4dv.net...
Me? Not really don't know him, why?
- Posted by Phil Barila on February 23rd, 2004
"Alex" <AlX@a> wrote in message
news:%237yGFha%23DHA.1452@TK2MSFTNGP09.phx.gbl...
Like I said, you are kindred spirits. This post could have come directly
from Alberto. Look at the NTDEV archive for examples.
Phil
--
Philip D. Barila Windows DDK MVP
Seagate Technology, LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.
E-mail address is pointed at a domain squatter. Use reply-to instead.