Sort of. You can cause an SMI to be generated, but there is nothing you
can after that that you will be able to debug without some additional
hardware. Based on what you originally wrote, you’ve got the right
idea, and it sounds like you might actually be entering SMM already.
However, even if you have made it that far, you can see the problem -
totally hung machine. Why is it hung? Who knows, and there is no
reasonably way to figure it out without a working debugger, which has to
be hardware based. Even then, I still don’t see how you’re going to get
any of your code in to SMM, unless you are asking if there is something
in ACPI that will do this for you. I do not know the answer to that,
but I very seriously doubt it. ACPI will get you there, but not with
any cargo.
ACPI definitely exists in XP, assuming that you’re hardware supports
it, and that you use the correct HAL (and I believe there is an
undocumented F key to disable it during boot).
What is it specifically that you would like ACPI to do for you as far
as SMM goes?
mm
>> xxxxx@intel.com 2006-12-14 13:38 >>>
I agree to the Martin and Pavel ,
But I was not aware if I can use ACPI from win 2k3 , I assumed that
could be done only from Vista ,
Current I am fetching SMI port from ACPI tables, and making use of
that
…
Can you tell me, is it possible to use ACPI to use for SMI?
Thanks and Regards
~Neeraj
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Thursday, December 14, 2006 11:37 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Regarding SMM mode
NEERAJ:
Pavel is quite correct; off the top of my head, this is probably the
most unsupported aspect of Windows internals that I can think of.
All
that being said, how are you getting in to SMM presently? The
essentially terminal issue with SMM is that, unless you have something
like and Arium ECM-50 or some other hardware debugger with SMI support
(which I don’t think is out there), this problem is guaranteed to be
100% non-debuggable, because, as Pavel pointed out, WinDbg, like any
other piece of software running on the computer can not see the memory
used by SMM (except for the handler itself). There is no way that I’m
aware of to do this without some hardware debugging support, which is
no
at all cheap. I might be able to help you have this sort of support
already or can get it, but otherwise, there is really nothing that can
be done without it.
mm
>> xxxxx@writeme.com 2006-12-14 12:35 >>>
“Ladkani, Neeraj” wrote in message
news:xxxxx@ntdev…
>HI All ,
>
>I need to write an driver which makes use of processor SMM mode and
try
>to accomplish some functionality implemented by BIOS , I am running
on
>multiprocessor and Windows 2003 , which processor will be entered in
SMM
>mode and what will happen to the other processor running ? Moreover
I
>need to make sure that routine which generate the SMI, should be
running
>only on single processor!! since I am filling some registers to
before
>generating SMI , Current behavior is system is freezing for ever, I
am
>not sure what is the reason ,
>
>
>Has somebody has tried writing an SMI driver on Windows environment?
>Can somebody tell me, what all thing a driver writer should take care
>while doing this?
This is quite unusual requirement. SMM is not visible to Windows
drivers. It is intended for the use of BIOS.
A driver writer should not get into SMM at all.
If the functionality you want is available thru ACPI, use that.
Regards,
–PA
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer