I have some driver code that I’ve inherited that is probing the PCI
configuration register. ie:
WRITE_PORT_ULONG( (PULONG)0xCF8, (ULONG)0x8000F858 );
What might be a better way of doing this through the HAL? More specifically
what does the 0xf858 part of the second argument mean?
thanks,
----- Original Message -----
From: “Roddy, Mark”
To: “Windows System Software Devs Interest List”
Sent: Monday, October 04, 2004 2:41 PM
Subject: RE: [ntdev] DISPATCH_LEVEL and SMP
> KeAcquireSpinLock is implemented with the help of locked instructions but
> not only by locked instructions. Step through spinlock acquire/release on
a
> SMP or HT system for the gory details. X86 locked instructions provide
> identical behavior on HT systems as they do on SMP systems, at least as
far
> as observed behavior is concerned. As an SMP system can also be an HT
> system, this is pretty much a requirement, right?
>
>
>
> =====================
> Mark Roddy
>
> -----Original Message-----
> From: Ta H. [mailto:xxxxx@hotmail.com]
> Sent: Monday, October 04, 2004 5:29 PM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] DISPATCH_LEVEL and SMP
>
> Thanks.
>
> One more thing I am not sure if it is related. As far as I know,
> KeAcquireSpinLock() is implemented by “lock prefix” for x86. Does “lock
> prefix” for HT behave the same as it does for SMP?
>
> AH
>
>
> >From: “Mark Roddy”
> >Reply-To: “Windows System Software Devs Interest List”
> >
> >To: “Windows System Software Devs Interest List”
> >Subject: RE: [ntdev] DISPATCH_LEVEL and SMP
> >Date: Sat, 2 Oct 2004 08:06:44 -0400
> >
> >Yes. That is the point of executive spinlocks - they provide atomic
> >operations for both SMP and UP systems for all threads <= DISPATCH_LEVEL.
> >
> >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com] On Behalf Of Ta H.
> > > Sent: Saturday, October 02, 2004 2:28 AM
> > > To: Windows System Software Devs Interest List
> > > Subject: [ntdev] DISPATCH_LEVEL and SMP
> > >
> > > How would NT ensure the spin lock would be safe for the SMP
> > > (HT) case? I have a situation that 2 DISPATCH_LEVEL threads may
> > > try to touch the same HW register in my PCI card. Will a spin lock
> > > suffice?
> > >
> > > AH
> > >
> > >
> > > Express yourself instantly with MSN Messenger! Download today
> > > - it’s FREE!
> > > hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> > >
> > >
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as:
> > > xxxxx@hollistech.com To unsubscribe send a blank email to
> > > xxxxx@lists.osr.com
> > >
> >
> >
> >
> >
> >
> >—
> >Questions? First check the Kernel Driver FAQ at
> >http://www.osronline.com/article.cfm?id=256
> >
> >You are currently subscribed to ntdev as: xxxxx@hotmail.com To
> >unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> Express yourself instantly with MSN Messenger! Download today - it’s FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@stratus.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@hotmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>