Re: WinXPSP2, Intel Core2Duo, Kernel drivers



Yes uyou drivers will have to be SMP aware for a dual core, or a hyper
threaded, or a SMP system. Of course, your driver should be SMP aware
anyway since you need to deal with most of the synchronization issues even
ou a uni-processor they just are less likely (but not impossible) to happen.

No, you can do this at boot time, use the /KERNEL=ntkrnlup.exe
/HAL=halup.DLL /numproc=1 to indicate you want to treat the computer as a
uni-processor. You will find on the XPSP2 CD ntoskrnl.exe which is the
uni-processor version, rename it to something like ntkrnlup.exe, likewise
the hal.dll on the XPSP2 CD rename to halup.DLL put them both in the
system32 directory and you have a uni-processor system by choosing that
boot.ini line.



--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply

<on3lonestar@xxxxxxxxx> wrote in message
news:1157590558.092218.40890@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,

I write experimental drivers, and have never worked on SMP systems yet.
I need to upgrade to an IBM T60 but I am worried about the dual-core
Intel processor engine. I have the following questions:

- It seems the dual-core provides 2 pipelines and 2 caches to 2 cores
on a single die. This sounds like a SMP system. Will my drivers have to
worry about SMP stuff?

- Can I configured Windows XP SP2/BIOS to completely disable/ignore one
of the cores when I write my drivers? Will there be a major performance
impact if I did this? I read that Windows installs a different HAL when
it sees an SMP... so it sounds like I cant do this at boot time each
time.. it has to be a one-time decision during installation?

Basically, I want to know if I can write non-SMP aware drivers in
someway on a IBM T60 that has a core2duo processor engine.

Thanks!



.



Relevant Pages

  • Re: WinXPSP2, Intel Core2Duo, Kernel drivers
    ... How does Windows "ignore" or disable one of the cores? ... This sounds like a SMP system. ... Dual-core CPUs are treated as ... in order to run your drivers on dual-core CPU (as ...
    (microsoft.public.win32.programmer.kernel)
  • Re: WinXPSP2, Intel Core2Duo, Kernel drivers
    ... versions of HAL and Ntoskrnl kernel image on a dual-core/SMP system. ... How does Windows "ignore" or disable one of the cores? ... I write experimental drivers, and have never worked on SMP systems yet. ... This sounds like a SMP system. ...
    (microsoft.public.development.device.drivers)
  • Re: WinXPSP2, Intel Core2Duo, Kernel drivers
    ... This sounds like a SMP system. ... in order to run your drivers on dual-core CPU (as ... someway on a IBM T60 that has a core2duo processor engine. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: [PATCHSET x86/core/percpu] improve the first percpu chunk allocation
    ... Scan SMP from ffff880000000000 for 1024 bytes. ... # CAN Device Drivers ... # SCSI device support ...
    (Linux-Kernel)
  • Re: WinXPSP2, Intel Core2Duo, Kernel drivers
    ... versions of HAL and Ntoskrnl kernel image on a dual-core/SMP system. ... This sounds like a SMP system. ... in order to run your drivers on dual-core CPU (as ... I read that Windows installs a different HAL when ...
    (microsoft.public.win32.programmer.kernel)

Loading