Author: aandrejevic
Date: Fri May 22 23:09:13 2015
New Revision: 67853
URL: http://svn.reactos.org/svn/reactos?rev=67853&view=rev
Log:
[FAST486]
Fix FIST(P) and FRNDINT.
Modified:
trunk/reactos/lib/fast486/fpu.c
Modified: trunk/reactos/lib/fast486/fpu.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/fpu.c?rev=6785…
==============================================================================
--- trunk/reactos/lib/fast486/fpu.c [iso-8859-1] (original)
+++ trunk/reactos/lib/fast486/fpu.c [iso-8859-1] Fri May 22 23:09:13 2015
@@ -2086,7 +2086,7 @@
/* Round the result to an integer, towards zero */
if (FPU_ST(0).Exponent < FPU_REAL10_BIAS + 63)
{
- State->FpuControl.Rc = FPU_ROUND_DOWN;
+ State->FpuControl.Rc = FPU_ROUND_TRUNCATE;
if (Fast486FpuToInteger(State, &Temp, &Integer))
{
@@ -2543,7 +2543,7 @@
}
/* Check if it can fit in a signed 32-bit integer */
- if ((((ULONGLONG)Temp >> 31) + 1ULL) > 1ULL)
+ if ((LONGLONG)((LONG)Temp) != Temp)
{
State->FpuStatus.Ie = TRUE;
@@ -3240,7 +3240,7 @@
}
/* Check if it can fit in a signed 16-bit integer */
- if ((((ULONGLONG)Temp >> 15) + 1ULL) > 1ULL)
+ if ((LONGLONG)((SHORT)Temp) != Temp)
{
/* Raise the invalid operation exception */
State->FpuStatus.Ie = TRUE;
Author: hbelusca
Date: Fri May 22 21:21:43 2015
New Revision: 67851
URL: http://svn.reactos.org/svn/reactos?rev=67851&view=rev
Log:
[NTVDM]: at the end of a cpu slice, yield execution to other threads in the system.
Modified:
trunk/reactos/subsystems/mvdm/ntvdm/clock.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/clock.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/cloc…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/clock.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/clock.c [iso-8859-1] Fri May 22 21:21:43 2015
@@ -118,13 +118,16 @@
/* Update the time of the last timer tick */
Timer->LastTick.QuadPart += Ticks * Timer->Delay;
}
+
+ /* Yield execution to other threads */
+ NtYieldExecution();
}
}
PHARDWARE_TIMER CreateHardwareTimer(ULONG Flags, ULONGLONG Delay, PHARDWARE_TIMER_PROC Callback)
{
PHARDWARE_TIMER Timer;
-
+
Timer = RtlAllocateHeap(RtlGetProcessHeap(), 0, sizeof(*Timer));
if (Timer == NULL) return NULL;
Author: cfinck
Date: Fri May 22 15:29:07 2015
New Revision: 67847
URL: http://svn.reactos.org/svn/reactos?rev=67847&view=rev
Log:
Time to commit some Work-In-Progress stuff before my diff gets too large..
[LOCALSPL]
- Begin work on the Local Spooler. Return a structure with function pointers in InitializePrintProvidor.
- Design and document internal structures for managing LocalSpl Handles, Printer Handles, Printers, Print Jobs and Print Processors.
Manage Printers and Print Processors in Generic Tables, with one Job Queue per Printer managed as a Doubly Linked List.
- Implement LocalOpenPrinter, LocalEnumPrintProcessorDatatypes, LocalEnumPrintProcessors, LocalGetPrintProcessorDirectory, with focus on catching all corner cases.
Currently working on LocalStartDocPrinter.
- Build upon the documentation at http://www.undocprint.org/formats/winspool/shd to read and write .SHD files.
[WINPRINT]
Begin work on the Standard Print Processor. Implement EnumPrintProcessorDatatypesW.
[WINSPOOL_APITEST]
Add an API Test for winspool.drv, currently testing some corner cases of ClosePrinter, EnumPrintProcessorDatatypesW, GetPrintProcessorDirectoryW, OpenPrinterW, StartDocPrinterW.
TODO: Find a way to actually test the localspl.dll functions instead of only winspool.drv. This DLL doesn't like to be tested standalone under Windows, e.g. without being used through spoolsv/spoolss.
[SPOOLSS]
Implement InitializeRouter by calling the InitializePrintProvidor function of localspl there.
This function should later also initialize further Print Providers.
[SPOOLSV]
Call InitializeRouter when starting up the service.
[WINSPOOL]
Add dummy functions for EnumPrintProcessorDatatypesA/EnumPrintProcessorDatatypesW.
[All modules]
Fix printf format specifiers for errors (%lu) and statuses (%ld).
Added:
branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/jobs.c (with props)
branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/printers.c (with props)
branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/printprocessors.c (with props)
branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/tools.c (with props)
branches/colins-printing-for-freedom/rostests/apitests/winspool/ (with props)
branches/colins-printing-for-freedom/rostests/apitests/winspool/CMakeLists.txt (with props)
branches/colins-printing-for-freedom/rostests/apitests/winspool/ClosePrinter.c (with props)
branches/colins-printing-for-freedom/rostests/apitests/winspool/EnumPrintProcessorDatatypes.c (with props)
branches/colins-printing-for-freedom/rostests/apitests/winspool/GetPrintProcessorDirectory.c (with props)
branches/colins-printing-for-freedom/rostests/apitests/winspool/OpenPrinter.c (with props)
branches/colins-printing-for-freedom/rostests/apitests/winspool/StartDocPrinter.c (with props)
branches/colins-printing-for-freedom/rostests/apitests/winspool/testlist.c (with props)
Modified:
branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/context.c
branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/main.c
branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/precomp.h
branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/init.c
branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/main.c
branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/precomp.h
branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/rpcserver.c
branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/main.c
branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/winspool.spec
branches/colins-printing-for-freedom/reactos/win32ss/printing/processors/winprint/CMakeLists.txt
branches/colins-printing-for-freedom/reactos/win32ss/printing/processors/winprint/main.c
branches/colins-printing-for-freedom/reactos/win32ss/printing/processors/winprint/winprint.spec
branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/CMakeLists.txt
branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/main.c
branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/precomp.h
branches/colins-printing-for-freedom/rostests/apitests/CMakeLists.txt
[This mail would be too long, it was shortened to contain the URLs only.]
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/context.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/main.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/precomp.h
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/init.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/main.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/precomp.h
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/rpcserver.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/main.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/winspool.spec
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/processors/winprint/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/processors/winprint/main.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/processors/winprint/winprint.spec
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/jobs.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/main.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/precomp.h
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/printers.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/printprocessors.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/providers/localspl/tools.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
Modified: branches/colins-printing-for-freedom/rostests/apitests/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/ros…
Added: branches/colins-printing-for-freedom/rostests/apitests/winspool/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/ros…
Added: branches/colins-printing-for-freedom/rostests/apitests/winspool/ClosePrinter.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/ros…
Added: branches/colins-printing-for-freedom/rostests/apitests/winspool/EnumPrintProcessorDatatypes.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/ros…
Added: branches/colins-printing-for-freedom/rostests/apitests/winspool/GetPrintProcessorDirectory.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/ros…
Added: branches/colins-printing-for-freedom/rostests/apitests/winspool/OpenPrinter.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/ros…
Added: branches/colins-printing-for-freedom/rostests/apitests/winspool/StartDocPrinter.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/ros…
Added: branches/colins-printing-for-freedom/rostests/apitests/winspool/testlist.c
URL: http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/ros…