ion(a)svn.reactos.com wrote:
>- Last patch was incomplete, apologies. SVN @ 5AM = bad idea.
>- Do not report that ROS is running on 0 active processors, that's a bad idea.
>- Actually check the affinity mask set by NtSetInformationThread
>- Fix the check in KeSetAffinityThread
>- Give a valid affinity to the system thread (corresponding to the active cpu affinity set).
>
>This removes all bugchecks from the kernel32 thread winetest.
>
>Modified: trunk/reactos/ntoskrnl/include/internal/ke.h
>Modified: trunk/reactos/ntoskrnl/ke/kthread.c
>Modified: trunk/reactos/ntoskrnl/ke/main.c
>Modified: trunk/reactos/ntoskrnl/ps/psmgr.c
>Modified: trunk/reactos/ntoskrnl/ps/query.c
>
>
> ------------------------------------------------------------------------
>
> *Modified: trunk/reactos/ntoskrnl/ps/psmgr.c*
>
>--- trunk/reactos/ntoskrnl/ps/psmgr.c 2005-08-09 08:02:05 UTC (rev 17234)
>+++ trunk/reactos/ntoskrnl/ps/psmgr.c 2005-08-09 08:50:57 UTC (rev 17235)
>@@ -213,7 +213,7 @@
>
>
> /* System threads may run on any processor. */
> RtlZeroMemory(PsInitialSystemProcess, sizeof(EPROCESS));
>
>
>- PsInitialSystemProcess->Pcb.Affinity = 0xFFFFFFFF;
>
>
>+ PsInitialSystemProcess->Pcb.Affinity = KeActiveProcessors;
>
>
> PsInitialSystemProcess->Pcb.IopmOffset = 0xffff;
> PsInitialSystemProcess->Pcb.BasePriority = PROCESS_PRIO_NORMAL;
> PsInitialSystemProcess->Pcb.QuantumReset = 6;
>
>
> ------------------------------------------------------------------------
*
*This is change is possible incorrect. PsInitProcessManagment is called
after the boot processor is started and before the application
processors are started (on a smp machine). All system threads will only
run on the boot processor.
- Hartmut
Some of the comments in bugzilla are now attributed to "Bug Zilla" instead
of the real submitter. I messed up trying to clean up an inconsistency in
the database. These are the days I hate I can't just "rollback"...
My apologies to those who's name got lost.
Gé van Geldorp.
An oops, a brain-fart. I meant 0.2.7 RC 2.
Apologies.
"A problem has been detected and ReactOS has been shut down to prevent damage
to your computer.
The bug code is undefined. Please use an existing code instead.
Technical information:
*** STOP: 0x00000000 (0x00000000, 0x00000000, 0x00000000, 0x00000000)
Frames:
<ntoskrnl.exe: 1bea>
<ntoskrnl.exe: 1c01>
<ntoskrnl.exe: 31cd3>
<ntoskrnl.exe: 2eddd>
<ntoskrnl.exe: 32b43>
<ntoskrnl.exe: 831e>
<ntoskrnl.exe: 87d5>
<ntoskrnl.exe: 8bef>
<ntoskrnl.exe: 4686a>
<ntoskrnl.exe: 4ef95>
"
What I was doing? I left it sitting in qemu with the ReactOS start menu open
at the Search entry while I checked my email. When I returned, I found this
on the screen.
Prior to that it had been working well, opening the submenus of the start menu
without any problem.
Wesley Parish
--
Clinersterton beademung, with all of love - RIP James Blish
-----
Mau e ki, he aha te mea nui?
You ask, what is the most important thing?
Maku e ki, he tangata, he tangata, he tangata.
I reply, it is people, it is people, it is people.
I know there's Filip working on Ext2 support but to day I received a link to
working read/write Ext2 IFS for Windows. See here:
http://www.fs-driver.org/index.html
Best regards
Radovan Skolnik
------------------------------------------------------------------
Ing. Radovan Skolnik
TEMPEST s.r.o.
Department of Enterprise Management
Plynarenska 7/B
821 09 Bratislava
Slovak Republic
E-mail: radovan_skolnik(a)tempest.sk
www: http://www.tempest.sk
Tel: +421 (2) 502 67 174
Fax: +421 (2) 502 67 100
ITIL, SLM, Networking, Telecomm, Management, CORBA, Java and XML
------------------------------------------------------------------
"A problem has been detected and ReactOS has been shut down to prevent damage
to your computer.
The bug code is undefined. Please use an existing code instead.
Technical information:
*** STOP: 0x00000000 (0x00000000, 0x00000000, 0x00000000, 0x00000000)
Frames:
<ntoskrnl.exe: 1bea>
<ntoskrnl.exe: 1c01>
<ntoskrnl.exe: 31cd3>
<ntoskrnl.exe: 2eddd>
<ntoskrnl.exe: 32b43>
<ntoskrnl.exe: 831e>
<ntoskrnl.exe: 87d5>
<ntoskrnl.exe: 8bef>
<ntoskrnl.exe: 4686a>
<ntoskrnl.exe: 4ef95>
"
What I was doing? I left it sitting in qemu with the ReactOS start menu open
at the Search entry while I checked my email. When I returned, I found this
on the screen.
Prior to that it had been working well, opening the submenus of the start menu
without any problem.
Wesley Parish
--
Clinersterton beademung, with all of love - RIP James Blish
-----
Mau e ki, he aha te mea nui?
You ask, what is the most important thing?
Maku e ki, he tangata, he tangata, he tangata.
I reply, it is people, it is people, it is people.