ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
June 2011
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
25 participants
460 discussions
Start a n
N
ew thread
[rharabien] 52495: [DDK] - Fix ScsiPortWriteRegisterUchar prototype
by rharabien@svn.reactos.org
Author: rharabien Date: Thu Jun 30 22:54:20 2011 New Revision: 52495 URL:
http://svn.reactos.org/svn/reactos?rev=52495&view=rev
Log: [DDK] - Fix ScsiPortWriteRegisterUchar prototype Modified: trunk/reactos/boot/freeldr/freeldr/disk/scsiport.c trunk/reactos/drivers/storage/scsiport/stubs.c trunk/reactos/include/ddk/srb.h Modified: trunk/reactos/boot/freeldr/freeldr/disk/scsiport.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/disk/…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/disk/scsiport.c [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/disk/scsiport.c [iso-8859-1] Thu Jun 30 22:54:20 2011 @@ -1540,7 +1540,7 @@ NTAPI ScsiPortWriteRegisterUchar( IN PUCHAR Register, - IN ULONG Value) + IN UCHAR Value) { WRITE_REGISTER_UCHAR(Register, Value); } Modified: trunk/reactos/drivers/storage/scsiport/stubs.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/s…
============================================================================== --- trunk/reactos/drivers/storage/scsiport/stubs.c [iso-8859-1] (original) +++ trunk/reactos/drivers/storage/scsiport/stubs.c [iso-8859-1] Thu Jun 30 22:54:20 2011 @@ -249,7 +249,7 @@ NTAPI ScsiPortWriteRegisterUchar( IN PUCHAR Register, - IN ULONG Value) + IN UCHAR Value) { WRITE_REGISTER_UCHAR(Register, Value); } Modified: trunk/reactos/include/ddk/srb.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/srb.h?rev=5249…
============================================================================== --- trunk/reactos/include/ddk/srb.h [iso-8859-1] (original) +++ trunk/reactos/include/ddk/srb.h [iso-8859-1] Thu Jun 30 22:54:20 2011 @@ -883,7 +883,7 @@ NTAPI ScsiPortWriteRegisterUchar( IN PUCHAR Register, - IN ULONG Value); + IN UCHAR Value); SCSIPORTAPI VOID
13 years, 5 months
1
0
0
0
[rharabien] 52494: [FREELDR] - Allocate enough memory for unicode strings
by rharabien@svn.reactos.org
Author: rharabien Date: Thu Jun 30 18:55:44 2011 New Revision: 52494 URL:
http://svn.reactos.org/svn/reactos?rev=52494&view=rev
Log: [FREELDR] - Allocate enough memory for unicode strings Modified: trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c Modified: trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/windo…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/windows/wlregistry.c [iso-8859-1] Thu Jun 30 18:55:44 2011 @@ -711,7 +711,7 @@ { PBOOT_DRIVER_LIST_ENTRY BootDriverEntry; NTSTATUS Status; - ULONG PathLength; + USHORT PathLength; BootDriverEntry = MmHeapAlloc(sizeof(BOOT_DRIVER_LIST_ENTRY)); @@ -726,10 +726,10 @@ if (ImagePath && (wcslen(ImagePath) > 0)) { // Just copy ImagePath to the corresponding field in the structure - PathLength = wcslen(ImagePath) * sizeof(WCHAR); + PathLength = wcslen(ImagePath) * sizeof(WCHAR) + sizeof(UNICODE_NULL); BootDriverEntry->FilePath.Length = 0; - BootDriverEntry->FilePath.MaximumLength = PathLength + sizeof(WCHAR); + BootDriverEntry->FilePath.MaximumLength = PathLength; BootDriverEntry->FilePath.Buffer = MmHeapAlloc(PathLength); if (!BootDriverEntry->FilePath.Buffer) @@ -751,7 +751,7 @@ // we have to construct ImagePath ourselves PathLength = wcslen(ServiceName)*sizeof(WCHAR) + sizeof(L"system32\\drivers\\.sys"); BootDriverEntry->FilePath.Length = 0; - BootDriverEntry->FilePath.MaximumLength = PathLength+sizeof(WCHAR); + BootDriverEntry->FilePath.MaximumLength = PathLength; BootDriverEntry->FilePath.Buffer = MmHeapAlloc(PathLength); if (!BootDriverEntry->FilePath.Buffer) @@ -786,9 +786,9 @@ } // Add registry path - PathLength = (wcslen(RegistryPath)+wcslen(ServiceName))*sizeof(WCHAR); + PathLength = (wcslen(RegistryPath) + wcslen(ServiceName))*sizeof(WCHAR) + sizeof(UNICODE_NULL); BootDriverEntry->RegistryPath.Length = 0; - BootDriverEntry->RegistryPath.MaximumLength = PathLength;//+sizeof(WCHAR); + BootDriverEntry->RegistryPath.MaximumLength = PathLength; BootDriverEntry->RegistryPath.Buffer = MmHeapAlloc(PathLength); if (!BootDriverEntry->RegistryPath.Buffer) return FALSE;
13 years, 5 months
1
0
0
0
[tkreuzer] 52493: [CMAKE] Add hlink and msi importlib to MSVC build
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Thu Jun 30 16:03:41 2011 New Revision: 52493 URL:
http://svn.reactos.org/svn/reactos?rev=52493&view=rev
Log: [CMAKE] Add hlink and msi importlib to MSVC build Modified: trunk/reactos/dll/win32/CMakeLists.txt trunk/reactos/dll/win32/msi/CMakeLists.txt Modified: trunk/reactos/dll/win32/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/CMakeLists.txt?r…
============================================================================== --- trunk/reactos/dll/win32/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/win32/CMakeLists.txt [iso-8859-1] Thu Jun 30 16:03:41 2011 @@ -43,9 +43,7 @@ add_subdirectory(glu32) add_subdirectory(hhctrl.ocx) add_subdirectory(hid) -if(NOT MSVC) - add_subdirectory(hlink) # FIXME: msvc build. -endif() +add_subdirectory(hlink) # FIXME: msvc build. add_subdirectory(hnetcfg) add_subdirectory(httpapi) add_subdirectory(iccvid) @@ -96,8 +94,8 @@ if(NOT MSVC) #FIXME: msvc build. add_subdirectory(mshtml) - add_subdirectory(msi) -endif() +endif() +add_subdirectory(msi) add_subdirectory(mshtml.tlb) add_subdirectory(msimg32) add_subdirectory(msimtf) Modified: trunk/reactos/dll/win32/msi/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msi/CMakeLists.t…
============================================================================== --- trunk/reactos/dll/win32/msi/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msi/CMakeLists.txt [iso-8859-1] Thu Jun 30 16:03:41 2011 @@ -1,3 +1,5 @@ + +if(NOT MSVC) include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) add_definitions(-D__WINESRC__ -DMSIRUNMODE=MSIRUNMODE_T) @@ -92,4 +94,7 @@ ntdll) add_cd_file(TARGET msi DESTINATION reactos/system32 FOR all) + +endif(NOT MSVC) + add_importlib_target(msi.spec)
13 years, 5 months
1
0
0
0
[cgutman] 52492: [AFD] - Fix several bugs related to the FD_WRITE event - We would not set the sendable poll state if the socket had data waiting to be sent even if there was buffer space - We did ...
by cgutman@svn.reactos.org
Author: cgutman Date: Thu Jun 30 06:04:09 2011 New Revision: 52492 URL:
http://svn.reactos.org/svn/reactos?rev=52492&view=rev
Log: [AFD] - Fix several bugs related to the FD_WRITE event - We would not set the sendable poll state if the socket had data waiting to be sent even if there was buffer space - We did not set the poll state after performing a send - We did not clear the sendable poll state if we ran out of buffer space Modified: trunk/reactos/drivers/network/afd/afd/write.c Modified: trunk/reactos/drivers/network/afd/afd/write.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/wr…
============================================================================== --- trunk/reactos/drivers/network/afd/afd/write.c [iso-8859-1] (original) +++ trunk/reactos/drivers/network/afd/afd/write.c [iso-8859-1] Thu Jun 30 06:04:09 2011 @@ -156,11 +156,21 @@ else break; } + + if (FCB->Send.Size - FCB->Send.BytesUsed != 0) + { + FCB->PollState |= AFD_EVENT_SEND; + FCB->PollStatus[FD_WRITE_BIT] = STATUS_SUCCESS; + PollReeval( FCB->DeviceExt, FCB->FileObject ); + } + else + { + FCB->PollState &= ~AFD_EVENT_SEND; + } /* Some data is still waiting */ - if( FCB->Send.BytesUsed ) { - FCB->PollState &= ~AFD_EVENT_SEND; - + if( FCB->Send.BytesUsed ) + { Status = TdiSend( &FCB->SendIrp.InFlightRequest, FCB->Connection.Object, 0, @@ -171,10 +181,6 @@ FCB ); RetryDisconnectCompletion(FCB); - } else { - FCB->PollState |= AFD_EVENT_SEND; - FCB->PollStatus[FD_WRITE_BIT] = STATUS_SUCCESS; - PollReeval( FCB->DeviceExt, FCB->FileObject ); } SocketStateUnlock( FCB ); @@ -388,6 +394,7 @@ } else { + FCB->PollState &= ~AFD_EVENT_SEND; if( SendReq->AfdFlags & AFD_IMMEDIATE ) { AFD_DbgPrint(MID_TRACE,("Nonblocking\n")); UnlockBuffers( SendReq->BufferArray, SendReq->BufferCount, FALSE ); @@ -415,6 +422,17 @@ AFD_DbgPrint(MID_TRACE,("Dismissing request: %x (%d)\n", Status, TotalBytesCopied)); + } + + if (SpaceAvail) + { + FCB->PollState |= AFD_EVENT_SEND; + FCB->PollStatus[FD_WRITE_BIT] = STATUS_SUCCESS; + PollReeval( FCB->DeviceExt, FCB->FileObject ); + } + else + { + FCB->PollState &= ~AFD_EVENT_SEND; } RetryDisconnectCompletion(FCB);
13 years, 5 months
1
0
0
0
[tkreuzer] 52491: [FREELDR] Remove the old boot method. Its not needed anymore, since booting with more than 4GB works fine with the new method now. It didn't work anyway since the neccessary code ...
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Wed Jun 29 20:27:07 2011 New Revision: 52491 URL:
http://svn.reactos.org/svn/reactos?rev=52491&view=rev
Log: [FREELDR] Remove the old boot method. Its not needed anymore, since booting with more than 4GB works fine with the new method now. It didn't work anyway since the neccessary code in the kernel has been #if'ed out in r49445 Removed: trunk/reactos/boot/freeldr/freeldr/arch/i386/_alloca.S trunk/reactos/boot/freeldr/freeldr/arch/i386/loader.c trunk/reactos/boot/freeldr/freeldr/reactos/imageldr.c trunk/reactos/boot/freeldr/freeldr/reactos/reactos.c trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c trunk/reactos/ntoskrnl/ke/freeldr.c Modified: trunk/reactos/base/setup/usetup/bootsup.c trunk/reactos/boot/bootdata/bootcd.ini trunk/reactos/boot/bootdata/livecd.ini trunk/reactos/boot/freeldr/freeldr/CMakeLists.txt trunk/reactos/boot/freeldr/freeldr/arch/i386/custom.c trunk/reactos/boot/freeldr/freeldr/arch/i386/hwacpi.c trunk/reactos/boot/freeldr/freeldr/bootmgr.c trunk/reactos/boot/freeldr/freeldr/cache/cache.c trunk/reactos/boot/freeldr/freeldr/freeldr_arch.rbuild trunk/reactos/boot/freeldr/freeldr/freeldr_base.rbuild trunk/reactos/boot/freeldr/freeldr/reactos/arcname.c trunk/reactos/boot/freeldr/freeldr/setupldr_main.rbuild trunk/reactos/ntoskrnl/CMakeLists.txt trunk/reactos/ntoskrnl/ke/i386/kiinit.c trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/base/setup/usetup/bootsup.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/bootsup.…
Modified: trunk/reactos/boot/bootdata/bootcd.ini URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/bootcd.ini?r…
Modified: trunk/reactos/boot/bootdata/livecd.ini URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/livecd.ini?r…
Modified: trunk/reactos/boot/freeldr/freeldr/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/CMake…
Removed: trunk/reactos/boot/freeldr/freeldr/arch/i386/_alloca.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/custom.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hwacpi.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
Removed: trunk/reactos/boot/freeldr/freeldr/arch/i386/loader.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
Modified: trunk/reactos/boot/freeldr/freeldr/bootmgr.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/bootm…
Modified: trunk/reactos/boot/freeldr/freeldr/cache/cache.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/cache…
Modified: trunk/reactos/boot/freeldr/freeldr/freeldr_arch.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/freel…
Modified: trunk/reactos/boot/freeldr/freeldr/freeldr_base.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/freel…
Modified: trunk/reactos/boot/freeldr/freeldr/reactos/arcname.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/react…
Removed: trunk/reactos/boot/freeldr/freeldr/reactos/imageldr.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/react…
Removed: trunk/reactos/boot/freeldr/freeldr/reactos/reactos.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/react…
Removed: trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/react…
Modified: trunk/reactos/boot/freeldr/freeldr/setupldr_main.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/setup…
Modified: trunk/reactos/ntoskrnl/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/CMakeLists.txt?re…
Removed: trunk/reactos/ntoskrnl/ke/freeldr.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/freeldr.c?rev=…
Modified: trunk/reactos/ntoskrnl/ke/i386/kiinit.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/kiinit.c?…
Modified: trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ntoskrnl-generic.…
13 years, 5 months
1
0
0
0
[spetreolle] 52490: [ASM] Use CR, LF and NUL in .ascii macro.
by spetreolle@svn.reactos.org
Author: spetreolle Date: Wed Jun 29 16:40:14 2011 New Revision: 52490 URL:
http://svn.reactos.org/svn/reactos?rev=52490&view=rev
Log: [ASM] Use CR, LF and NUL in .ascii macro. Modified: trunk/reactos/boot/freeldr/bootsect/fat.S trunk/reactos/boot/freeldr/bootsect/fat32.S Modified: trunk/reactos/boot/freeldr/bootsect/fat.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/bootsect/fat.…
============================================================================== --- trunk/reactos/boot/freeldr/bootsect/fat.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/bootsect/fat.S [iso-8859-1] Wed Jun 29 16:40:14 2011 @@ -412,7 +412,7 @@ .ascii "ldr not found", CR, LF, NUL // Sorry, need the space... //msgAnyKey: -// .asciz "Press any key to restart\r\n" +// .ascii "Press any key to restart", CR, LF, NUL filename: .ascii "FREELDR SYS" Modified: trunk/reactos/boot/freeldr/bootsect/fat32.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/bootsect/fat3…
============================================================================== --- trunk/reactos/boot/freeldr/bootsect/fat32.S [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/bootsect/fat32.S [iso-8859-1] Wed Jun 29 16:40:14 2011 @@ -297,11 +297,11 @@ .long 0 msgDiskError: - .asciz "Disk error\r\n" + .ascii "Disk error", CR, LF, NUL msgFileSystemError: - .asciz "File system error\r\n" + .ascii "File system error", CR, LF, NUL msgAnyKey: - .asciz "Press any key to restart\r\n" + .ascii "Press any key to restart", CR, LF, NUL .org 509 // Pad to 509 bytes
13 years, 5 months
1
0
0
0
[tfaber] 52489: [KMTESTS] - add skip() functionality (with more useful syntax than Wine's) - add format attributes for GCC - do not show the full path of the source file for failed tests - general ...
by tfaber@svn.reactos.org
Author: tfaber Date: Wed Jun 29 08:51:00 2011 New Revision: 52489 URL:
http://svn.reactos.org/svn/reactos?rev=52489&view=rev
Log: [KMTESTS] - add skip() functionality (with more useful syntax than Wine's) - add format attributes for GCC - do not show the full path of the source file for failed tests - general cleanup Modified: branches/GSoC_2011/KMTestSuite/kmtests/example/Example.c branches/GSoC_2011/KMTestSuite/kmtests/include/kmt_public.h branches/GSoC_2011/KMTestSuite/kmtests/include/kmt_test.h branches/GSoC_2011/KMTestSuite/kmtests/kmtest/kmtest.c branches/GSoC_2011/KMTestSuite/kmtests/kmtest_drv/kmtest_drv.c Modified: branches/GSoC_2011/KMTestSuite/kmtests/example/Example.c URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/KMTestSuite/kmtests/e…
============================================================================== --- branches/GSoC_2011/KMTestSuite/kmtests/example/Example.c [iso-8859-1] (original) +++ branches/GSoC_2011/KMTestSuite/kmtests/example/Example.c [iso-8859-1] Wed Jun 29 08:51:00 2011 @@ -25,10 +25,20 @@ ok_eq_ulong(3LU, 4LU); ok_eq_pointer((PVOID)8, (PVOID)9); ok_eq_hex(0x1234LU, 0x5678LU); + ok_eq_bool(TRUE, TRUE); + ok_eq_bool(TRUE, FALSE); + ok_eq_bool(FALSE, TRUE); ok_bool_true(FALSE, "foo"); ok_bool_false(TRUE, "bar"); ok_eq_print(1, 2, "%i"); ok_eq_str("Hello", "world"); ok_eq_wstr(L"ABC", L"DEF"); + + if (!skip(KeGetCurrentIrql() == HIGH_LEVEL, "This should only work on HIGH_LEVEL\n")) + { + /* do tests depending on HIGH_LEVEL here */ + ok(1, "This is fine\n"); + } + KeLowerIrql(Irql); } Modified: branches/GSoC_2011/KMTestSuite/kmtests/include/kmt_public.h URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/KMTestSuite/kmtests/i…
============================================================================== --- branches/GSoC_2011/KMTestSuite/kmtests/include/kmt_public.h [iso-8859-1] (original) +++ branches/GSoC_2011/KMTestSuite/kmtests/include/kmt_public.h [iso-8859-1] Wed Jun 29 08:51:00 2011 @@ -18,6 +18,7 @@ CTL_CODE(FILE_DEVICE_UNKNOWN, 0x802, METHOD_NEITHER, FILE_READ_DATA | FILE_WRITE_DATA) #define KMTEST_DEVICE_NAME L"Kmtest" -#define KMTEST_DEVICE_PATH (L"\\\\.\\Global\\GLOBALROOT\\Device\\" KMTEST_DEVICE_NAME) +#define KMTEST_DEVICE_DRIVER_PATH L"\\Device\\" KMTEST_DEVICE_NAME +#define KMTEST_DEVICE_PATH L"\\\\.\\Global\\GLOBALROOT" KMTEST_DEVICE_DRIVER_PATH #endif /* !defined _KMTEST_PUBLIC_H_ */ Modified: branches/GSoC_2011/KMTestSuite/kmtests/include/kmt_test.h URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/KMTestSuite/kmtests/i…
============================================================================== --- branches/GSoC_2011/KMTestSuite/kmtests/include/kmt_test.h [iso-8859-1] (original) +++ branches/GSoC_2011/KMTestSuite/kmtests/include/kmt_test.h [iso-8859-1] Wed Jun 29 08:51:00 2011 @@ -27,9 +27,11 @@ extern const KMT_TEST TestList[]; -typedef struct { +typedef struct +{ volatile LONG Successes; volatile LONG Failures; + volatile LONG Skipped; volatile LONG LogBufferLength; LONG LogBufferMaxLength; CHAR LogBuffer[ANYSIZE_ARRAY]; @@ -37,32 +39,43 @@ extern PKMT_RESULTBUFFER ResultBuffer; +#ifdef __GNUC__ +#define KMT_FORMAT(type, fmt, first) __attribute__((__format__(type, fmt, first))) +#elif !defined __GNUC__ +#define KMT_FORMAT(type, fmt, first) +#endif /* !defined __GNUC__ */ + #define START_TEST(name) VOID Test_##name(VOID) #define KMT_STRINGIZE(x) #x -#define ok(test, ...) ok_(test, __FILE__, __LINE__, __VA_ARGS__) -#define trace(...) trace_( __FILE__, __LINE__, __VA_ARGS__) - -#define ok_(test, file, line, ...) KmtOk(test, file ":" KMT_STRINGIZE(line), __VA_ARGS__) -#define trace_(file, line, ...) KmtTrace( file ":" KMT_STRINGIZE(line), __VA_ARGS__) - -VOID KmtVOk(INT Condition, PCSTR FileAndLine, PCSTR Format, va_list Arguments); -VOID KmtOk(INT Condition, PCSTR FileAndLine, PCSTR Format, ...); -VOID KmtVTrace(PCSTR FileAndLine, PCSTR Format, va_list Arguments); -VOID KmtTrace(PCSTR FileAndLine, PCSTR Format, ...); +#define ok(test, ...) ok_(test, __FILE__, __LINE__, __VA_ARGS__) +#define trace(...) trace_( __FILE__, __LINE__, __VA_ARGS__) +#define skip(test, ...) skip_(test, __FILE__, __LINE__, __VA_ARGS__) + +#define ok_(test, file, line, ...) KmtOk(test, file ":" KMT_STRINGIZE(line), __VA_ARGS__) +#define trace_(file, line, ...) KmtTrace( file ":" KMT_STRINGIZE(line), __VA_ARGS__) +#define skip_(test, file, line, ...) KmtSkip(test, file ":" KMT_STRINGIZE(line), __VA_ARGS__) + +VOID KmtVOk(INT Condition, PCSTR FileAndLine, PCSTR Format, va_list Arguments) KMT_FORMAT(ms_printf, 3, 0); +VOID KmtOk(INT Condition, PCSTR FileAndLine, PCSTR Format, ...) KMT_FORMAT(ms_printf, 3, 4); +VOID KmtVTrace(PCSTR FileAndLine, PCSTR Format, va_list Arguments) KMT_FORMAT(ms_printf, 2, 0); +VOID KmtTrace(PCSTR FileAndLine, PCSTR Format, ...) KMT_FORMAT(ms_printf, 2, 3); +BOOLEAN KmtVSkip(INT Condition, PCSTR FileAndLine, PCSTR Format, va_list Arguments) KMT_FORMAT(ms_printf, 3, 0); +BOOLEAN KmtSkip(INT Condition, PCSTR FileAndLine, PCSTR Format, ...) KMT_FORMAT(ms_printf, 3, 4); #ifdef KMT_KERNEL_MODE #define ok_irql(irql) ok(KeGetCurrentIrql() == irql, "IRQL is %d, expected %d\n", KeGetCurrentIrql(), irql) #endif /* defined KMT_KERNEL_MODE */ -#define ok_eq_print(value, expected, spec) ok(value == expected, #value " = " spec ", expected " spec "\n", value, expected) +#define ok_eq_print(value, expected, spec) ok((value) == (expected), #value " = " spec ", expected " spec "\n", value, expected) #define ok_eq_pointer(value, expected) ok_eq_print(value, expected, "%p") #define ok_eq_int(value, expected) ok_eq_print(value, expected, "%d") #define ok_eq_uint(value, expected) ok_eq_print(value, expected, "%u") #define ok_eq_long(value, expected) ok_eq_print(value, expected, "%ld") #define ok_eq_ulong(value, expected) ok_eq_print(value, expected, "%lu") #define ok_eq_hex(value, expected) ok_eq_print(value, expected, "0x%08lx") -#define ok_bool_true(value, desc) ok(value == TRUE, desc " FALSE, expected TRUE\n") -#define ok_bool_false(value, desc) ok(value == FALSE, desc " TRUE, expected FALSE\n") +#define ok_bool_true(value, desc) ok((value) == TRUE, desc " FALSE, expected TRUE\n") +#define ok_bool_false(value, desc) ok((value) == FALSE, desc " TRUE, expected FALSE\n") +#define ok_eq_bool(value, expected) ok((value) == (expected), #value " = %s, expected %s\n", (value) ? "TRUE" : "FALSE", (expected) ? "TRUE" : "FALSE") #define ok_eq_str(value, expected) ok(!strcmp(value, expected), #value " = \"%s\", expected \"%s\"\n", value, expected) #define ok_eq_wstr(value, expected) ok(!wcscmp(value, expected), #value " = \"%ls\", expected \"%ls\"\n", value, expected) @@ -76,6 +89,7 @@ Buffer->Successes = 0; Buffer->Failures = 0; + Buffer->Skipped = 0; Buffer->LogBufferLength = 0; Buffer->LogBufferMaxLength = LogBufferMaxLength; @@ -109,44 +123,57 @@ } #ifdef KMT_KERNEL_MODE -INT __cdecl KmtVSNPrintF(PSTR Buffer, SIZE_T BufferMaxLength, PCSTR Format, va_list Arguments); +INT __cdecl KmtVSNPrintF(PSTR Buffer, SIZE_T BufferMaxLength, PCSTR Format, va_list Arguments) KMT_FORMAT(ms_printf, 3, 0); #elif defined KMT_USER_MODE #define KmtVSNPrintF vsnprintf #endif /* defined KMT_USER_MODE */ -static SIZE_T KmtXVSNPrintF(PSTR Buffer, SIZE_T BufferMaxLength, PCSTR Prepend1, PCSTR Prepend2, PCSTR Format, va_list Arguments) +KMT_FORMAT(ms_printf, 5, 0) +static SIZE_T KmtXVSNPrintF(PSTR Buffer, SIZE_T BufferMaxLength, PCSTR FileAndLine, PCSTR Prepend, PCSTR Format, va_list Arguments) { SIZE_T BufferLength = 0; SIZE_T Length; - if (Prepend1) - { - SIZE_T Length = min(BufferMaxLength, strlen(Prepend1)); - memcpy(Buffer, Prepend1, Length); + if (FileAndLine) + { + PCSTR Slash; + Slash = strrchr(FileAndLine, '\\'); + if (Slash) + FileAndLine = Slash + 1; + Slash = strrchr(FileAndLine, '/'); + if (Slash) + FileAndLine = Slash + 1; + + Length = min(BufferMaxLength, strlen(FileAndLine)); + memcpy(Buffer, FileAndLine, Length); Buffer += Length; BufferLength += Length; BufferMaxLength -= Length; } - if (Prepend2) - { - SIZE_T Length = min(BufferMaxLength, strlen(Prepend2)); - memcpy(Buffer, Prepend2, Length); + if (Prepend) + { + Length = min(BufferMaxLength, strlen(Prepend)); + memcpy(Buffer, Prepend, Length); Buffer += Length; BufferLength += Length; BufferMaxLength -= Length; } - Length = KmtVSNPrintF(Buffer, BufferMaxLength, Format, Arguments); - /* vsnprintf can return more than maxLength, we don't want to do that */ - BufferLength += min(Length, BufferMaxLength); + if (Format) + { + Length = KmtVSNPrintF(Buffer, BufferMaxLength, Format, Arguments); + /* vsnprintf can return more than maxLength, we don't want to do that */ + BufferLength += min(Length, BufferMaxLength); + } return BufferLength; } -static SIZE_T KmtXSNPrintF(PSTR Buffer, SIZE_T BufferMaxLength, PCSTR Prepend1, PCSTR Prepend2, PCSTR Format, ...) +KMT_FORMAT(ms_printf, 5, 6) +static SIZE_T KmtXSNPrintF(PSTR Buffer, SIZE_T BufferMaxLength, PCSTR FileAndLine, PCSTR Prepend, PCSTR Format, ...) { SIZE_T BufferLength; va_list Arguments; va_start(Arguments, Format); - BufferLength = KmtXVSNPrintF(Buffer, BufferMaxLength, Prepend1, Prepend2, Format, Arguments); + BufferLength = KmtXVSNPrintF(Buffer, BufferMaxLength, FileAndLine, Prepend, Format, Arguments); va_end(Arguments); return BufferLength; } @@ -157,10 +184,11 @@ SIZE_T MessageLength; MessageLength = KmtXSNPrintF(MessageBuffer, sizeof MessageBuffer, NULL, NULL, - "%s: %d tests executed (0 marked as todo, %d failures), 0 skipped.\n", + "%s: %ld tests executed (0 marked as todo, %ld failures), %ld skipped.\n", TestName, ResultBuffer->Successes + ResultBuffer->Failures, - ResultBuffer->Failures); + ResultBuffer->Failures, + ResultBuffer->Skipped); KmtAddToLogBuffer(ResultBuffer, MessageBuffer, MessageLength); } @@ -175,7 +203,7 @@ if (0/*KmtReportSuccess*/) { - MessageLength = KmtXSNPrintF(MessageBuffer, sizeof MessageBuffer, FileAndLine, ": Test succeeded\n", ""); + MessageLength = KmtXSNPrintF(MessageBuffer, sizeof MessageBuffer, FileAndLine, ": Test succeeded\n", NULL); KmtAddToLogBuffer(ResultBuffer, MessageBuffer, MessageLength); } } @@ -212,6 +240,31 @@ va_end(Arguments); } +BOOLEAN KmtVSkip(INT Condition, PCSTR FileAndLine, PCSTR Format, va_list Arguments) +{ + CHAR MessageBuffer[512]; + SIZE_T MessageLength; + + if (!Condition) + { + InterlockedIncrement(&ResultBuffer->Skipped); + MessageLength = KmtXVSNPrintF(MessageBuffer, sizeof MessageBuffer, FileAndLine, ": Tests skipped: ", Format, Arguments); + KmtAddToLogBuffer(ResultBuffer, MessageBuffer, MessageLength); + } + + return !Condition; +} + +BOOLEAN KmtSkip(INT Condition, PCSTR FileAndLine, PCSTR Format, ...) +{ + BOOLEAN Ret; + va_list Arguments; + va_start(Arguments, Format); + Ret = KmtVSkip(Condition, FileAndLine, Format, Arguments); + va_end(Arguments); + return Ret; +} + #endif /* defined KMT_DEFINE_TEST_FUNCTIONS */ #endif /* !defined _KMTEST_TEST_H_ */ Modified: branches/GSoC_2011/KMTestSuite/kmtests/kmtest/kmtest.c URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/KMTestSuite/kmtests/k…
============================================================================== --- branches/GSoC_2011/KMTestSuite/kmtests/kmtest/kmtest.c [iso-8859-1] (original) +++ branches/GSoC_2011/KMTestSuite/kmtests/kmtest/kmtest.c [iso-8859-1] Wed Jun 29 08:51:00 2011 @@ -158,11 +158,8 @@ size_t len; printf("Usage: %s test_name\n", programName); + printf(" %s <Create|Start|Stop|Delete>\n", programName); puts("\nValid test names:"); - puts(" Create"); - puts(" Start"); - puts(" Stop"); - puts(" Delete"); error = ListTests(&testNames); testName = testNames; Modified: branches/GSoC_2011/KMTestSuite/kmtests/kmtest_drv/kmtest_drv.c URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/KMTestSuite/kmtests/k…
============================================================================== --- branches/GSoC_2011/KMTestSuite/kmtests/kmtest_drv/kmtest_drv.c [iso-8859-1] (original) +++ branches/GSoC_2011/KMTestSuite/kmtests/kmtest_drv/kmtest_drv.c [iso-8859-1] Wed Jun 29 08:51:00 2011 @@ -29,7 +29,7 @@ { PKMT_RESULTBUFFER ResultBuffer; PMDL Mdl; -} DEVICE_EXTENSION, *PDEVICE_EXTENSION; +} KMT_DEVICE_EXTENSION, *PKMT_DEVICE_EXTENSION; /* Globals */ static PDEVICE_OBJECT MainDeviceObject; @@ -47,11 +47,15 @@ * * @return Status */ -NTSTATUS NTAPI DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) +NTSTATUS +NTAPI +DriverEntry( + IN PDRIVER_OBJECT DriverObject, + IN PUNICODE_STRING RegistryPath) { NTSTATUS Status = STATUS_SUCCESS; UNICODE_STRING DeviceName; - PDEVICE_EXTENSION DeviceExtension; + PKMT_DEVICE_EXTENSION DeviceExtension; PAGED_CODE(); @@ -59,8 +63,9 @@ DPRINT("DriverEntry\n"); - RtlInitUnicodeString(&DeviceName, L"\\Device\\Kmtest"); - Status = IoCreateDevice(DriverObject, sizeof(DEVICE_EXTENSION), &DeviceName, + RtlInitUnicodeString(&DeviceName, KMTEST_DEVICE_DRIVER_PATH); + Status = IoCreateDevice(DriverObject, sizeof(KMT_DEVICE_EXTENSION), + &DeviceName, FILE_DEVICE_UNKNOWN, FILE_DEVICE_SECURE_OPEN | FILE_READ_ONLY_DEVICE, TRUE, &MainDeviceObject); @@ -98,7 +103,11 @@ * @param DriverObject * Driver Object */ -static VOID NTAPI DriverUnload(IN PDRIVER_OBJECT DriverObject) +static +VOID +NTAPI +DriverUnload( + IN PDRIVER_OBJECT DriverObject) { PAGED_CODE(); @@ -108,7 +117,7 @@ if (MainDeviceObject) { - PDEVICE_EXTENSION DeviceExtension = MainDeviceObject->DeviceExtension; + PKMT_DEVICE_EXTENSION DeviceExtension = MainDeviceObject->DeviceExtension; ASSERT(!DeviceExtension->Mdl); ASSERT(!DeviceExtension->ResultBuffer); ASSERT(!ResultBuffer); @@ -128,11 +137,16 @@ * * @return Status */ -static NTSTATUS NTAPI DriverCreate(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) +static +NTSTATUS +NTAPI +DriverCreate( + IN PDEVICE_OBJECT DeviceObject, + IN PIRP Irp) { NTSTATUS Status = STATUS_SUCCESS; PIO_STACK_LOCATION IoStackLocation; - PDEVICE_EXTENSION DeviceExtension; + PKMT_DEVICE_EXTENSION DeviceExtension; PAGED_CODE(); @@ -166,11 +180,16 @@ * * @return Status */ -static NTSTATUS NTAPI DriverClose(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) +static +NTSTATUS +NTAPI +DriverClose( + IN PDEVICE_OBJECT DeviceObject, + IN PIRP Irp) { NTSTATUS Status = STATUS_SUCCESS; PIO_STACK_LOCATION IoStackLocation; - PDEVICE_EXTENSION DeviceExtension; + PKMT_DEVICE_EXTENSION DeviceExtension; PAGED_CODE(); @@ -208,7 +227,12 @@ * * @return Status */ -static NTSTATUS NTAPI DriverIoControl(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) +static +NTSTATUS +NTAPI +DriverIoControl( + IN PDEVICE_OBJECT DeviceObject, + IN PIRP Irp) { NTSTATUS Status = STATUS_SUCCESS; PIO_STACK_LOCATION IoStackLocation; @@ -283,7 +307,7 @@ } case IOCTL_KMTEST_SET_RESULTBUFFER: { - PDEVICE_EXTENSION DeviceExtension = DeviceObject->DeviceExtension; + PKMT_DEVICE_EXTENSION DeviceExtension = DeviceObject->DeviceExtension; DPRINT("DriverIoControl. IOCTL_KMTEST_SET_RESULTBUFFER, inlen=%lu, outlen=%lu\n", IoStackLocation->Parameters.DeviceIoControl.InputBufferLength,
13 years, 5 months
1
0
0
0
[tkreuzer] 52488: [KDCOM] Fix a typo
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Tue Jun 28 15:15:28 2011 New Revision: 52488 URL:
http://svn.reactos.org/svn/reactos?rev=52488&view=rev
Log: [KDCOM] Fix a typo Modified: trunk/reactos/drivers/base/kddll/kdcom.c Modified: trunk/reactos/drivers/base/kddll/kdcom.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/kddll/kdcom.c…
============================================================================== --- trunk/reactos/drivers/base/kddll/kdcom.c [iso-8859-1] (original) +++ trunk/reactos/drivers/base/kddll/kdcom.c [iso-8859-1] Tue Jun 28 15:15:28 2011 @@ -125,7 +125,7 @@ { /* HACK */ KdpDbgPrint = LoaderBlock->u.I386.CommonDataArea; - KDDEBUG("KdDebuggerInitialize0\n"); + KDDBGPRINT("KdDebuggerInitialize0\n"); /* Get the Command Line */ CommandLine = LoaderBlock->LoadOptions;
13 years, 5 months
1
0
0
0
[tkreuzer] 52487: [KDCOM] Revert r52482, it didn't really work. Instead grab the StallScaleFactor from the PCR and use this as a base for the repeat count.
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Tue Jun 28 15:12:02 2011 New Revision: 52487 URL:
http://svn.reactos.org/svn/reactos?rev=52487&view=rev
Log: [KDCOM] Revert r52482, it didn't really work. Instead grab the StallScaleFactor from the PCR and use this as a base for the repeat count. Modified: trunk/reactos/drivers/base/kddll/kdcom.c trunk/reactos/drivers/base/kddll/kddll.c trunk/reactos/drivers/base/kddll/kddll.h Modified: trunk/reactos/drivers/base/kddll/kdcom.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/kddll/kdcom.c…
============================================================================== --- trunk/reactos/drivers/base/kddll/kdcom.c [iso-8859-1] (original) +++ trunk/reactos/drivers/base/kddll/kdcom.c [iso-8859-1] Tue Jun 28 15:12:02 2011 @@ -8,9 +8,6 @@ #include "kddll.h" #include "kdcom.h" - -/* Define wait timeout value. */ -#define REPEAT_COUNT 100 /* serial debug connection */ #define DEFAULT_DEBUG_PORT 2 /* COM2 */ @@ -126,6 +123,10 @@ /* Check if e have a LoaderBlock */ if (LoaderBlock) { + /* HACK */ + KdpDbgPrint = LoaderBlock->u.I386.CommonDataArea; + KDDEBUG("KdDebuggerInitialize0\n"); + /* Get the Command Line */ CommandLine = LoaderBlock->LoadOptions; @@ -248,7 +249,7 @@ NTAPI KdpReceiveByte(OUT PBYTE OutByte) { - ULONG Repeats = REPEAT_COUNT; + ULONG Repeats = KdpStallScaleFactor * 100; while (Repeats--) { @@ -258,20 +259,6 @@ /* We successfully got a byte */ return KDP_PACKET_RECEIVED; } - - /* Check if phase 1 is complete */ - if (KdpPhase1Complete) - { - /* Use hal to wait 1ms */ - KeStallExecutionProcessor(1000); - } - else - { - volatile unsigned long i; - - /* Do some busy waiting */ - for (i = 0; i < 1000; i++); - } } /* Timed out */ Modified: trunk/reactos/drivers/base/kddll/kddll.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/kddll/kddll.c…
============================================================================== --- trunk/reactos/drivers/base/kddll/kddll.c [iso-8859-1] (original) +++ trunk/reactos/drivers/base/kddll/kddll.c [iso-8859-1] Tue Jun 28 15:12:02 2011 @@ -6,7 +6,6 @@ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)ewactos.org) */ -//#define KDDEBUG /* uncomment to enable debugging this dll */ #include "kddll.h" /* GLOBALS ********************************************************************/ @@ -15,6 +14,7 @@ ULONG CurrentPacketId = INITIAL_PACKET_ID | SYNC_PACKET_ID; ULONG RemotePacketId = 0; BOOLEAN KdpPhase1Complete = FALSE; +ULONG KdpStallScaleFactor = 1000; /* PRIVATE FUNCTIONS **********************************************************/ @@ -89,6 +89,7 @@ KdDebuggerInitialize1( IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL) { + KdpStallScaleFactor = KeGetPcr()->StallScaleFactor * 100; KdpPhase1Complete = TRUE; return STATUS_SUCCESS; Modified: trunk/reactos/drivers/base/kddll/kddll.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/kddll/kddll.h…
============================================================================== --- trunk/reactos/drivers/base/kddll/kddll.h [iso-8859-1] (original) +++ trunk/reactos/drivers/base/kddll/kddll.h [iso-8859-1] Tue Jun 28 15:12:02 2011 @@ -7,6 +7,8 @@ */ #pragma once + +//#define KDDEBUG /* uncomment to enable debugging this dll */ #define NOEXTAPI #include <ntifs.h> @@ -26,6 +28,7 @@ typedef ULONG (*PFNDBGPRNT)(const char *Format, ...); extern PFNDBGPRNT KdpDbgPrint; extern BOOLEAN KdpPhase1Complete; +extern ULONG KdpStallScaleFactor; typedef enum {
13 years, 5 months
1
0
0
0
[osiejka] 52486: [TRANSLATION] - CACLS, CALC and CHARMAP UTF8 conversion by Elton Chung; - FONTVIEW, LOGON russian/ukrainian UTF8 conversion and SYSDM ukrainian fix by Igor Paliychuk; - WIN32CSR cz...
by osiejka@svn.reactos.org
Author: osiejka Date: Tue Jun 28 11:42:37 2011 New Revision: 52486 URL:
http://svn.reactos.org/svn/reactos?rev=52486&view=rev
Log: [TRANSLATION] - CACLS, CALC and CHARMAP UTF8 conversion by Elton Chung; - FONTVIEW, LOGON russian/ukrainian UTF8 conversion and SYSDM ukrainian fix by Igor Paliychuk; - WIN32CSR czech translation update by Radek Liska; Added: trunk/reactos/subsystems/win32/csrss/win32csr/lang/cs-CZ.rc (with props) Modified: trunk/reactos/base/applications/cacls/lang/bg-BG.rc trunk/reactos/base/applications/cacls/lang/ca-ES.rc trunk/reactos/base/applications/cacls/lang/cs-CZ.rc trunk/reactos/base/applications/cacls/lang/da-DA.rc trunk/reactos/base/applications/cacls/lang/de-DE.rc trunk/reactos/base/applications/cacls/lang/el-GR.rc trunk/reactos/base/applications/cacls/lang/es-ES.rc trunk/reactos/base/applications/cacls/lang/fr-FR.rc trunk/reactos/base/applications/cacls/lang/it-IT.rc trunk/reactos/base/applications/cacls/lang/ja-JP.rc trunk/reactos/base/applications/cacls/lang/ko-KR.rc trunk/reactos/base/applications/cacls/lang/no-NO.rc trunk/reactos/base/applications/cacls/lang/pt-BR.rc trunk/reactos/base/applications/cacls/lang/sk-SK.rc trunk/reactos/base/applications/cacls/lang/sv-SE.rc trunk/reactos/base/applications/cacls/lang/uk-UA.rc trunk/reactos/base/applications/cacls/lang/zh-CN.rc trunk/reactos/base/applications/cacls/lang/zh-TW.rc trunk/reactos/base/applications/cacls/rsrc.rc trunk/reactos/base/applications/calc/lang/bg-BG.rc trunk/reactos/base/applications/calc/lang/cs-CZ.rc trunk/reactos/base/applications/calc/lang/de-DE.rc trunk/reactos/base/applications/calc/lang/el-GR.rc trunk/reactos/base/applications/calc/lang/es-ES.rc trunk/reactos/base/applications/calc/lang/fr-FR.rc trunk/reactos/base/applications/calc/lang/it-IT.rc trunk/reactos/base/applications/calc/lang/ja-JP.rc trunk/reactos/base/applications/calc/lang/ko-KR.rc trunk/reactos/base/applications/calc/lang/no-NO.rc trunk/reactos/base/applications/calc/lang/sk-SK.rc trunk/reactos/base/applications/calc/lang/sv-SE.rc trunk/reactos/base/applications/calc/lang/th-TH.rc trunk/reactos/base/applications/calc/resource.rc trunk/reactos/base/applications/charmap/lang/bg-BG.rc trunk/reactos/base/applications/charmap/lang/ca-ES.rc trunk/reactos/base/applications/charmap/lang/cs-CZ.rc trunk/reactos/base/applications/charmap/lang/de-DE.rc trunk/reactos/base/applications/charmap/lang/el-GR.rc trunk/reactos/base/applications/charmap/lang/es-ES.rc trunk/reactos/base/applications/charmap/lang/fr-FR.rc trunk/reactos/base/applications/charmap/lang/it-IT.rc trunk/reactos/base/applications/charmap/lang/ja-JP.rc trunk/reactos/base/applications/charmap/lang/ko-KR.rc trunk/reactos/base/applications/charmap/lang/lt-LT.rc trunk/reactos/base/applications/charmap/lang/no-NO.rc trunk/reactos/base/applications/charmap/lang/pt-BR.rc trunk/reactos/base/applications/charmap/lang/sk-SK.rc trunk/reactos/base/applications/charmap/lang/sv-SE.rc trunk/reactos/base/applications/charmap/lang/zh-CN.rc trunk/reactos/base/applications/charmap/lang/zh-TW.rc trunk/reactos/base/applications/charmap/rsrc.rc trunk/reactos/base/applications/fontview/fontview.rc trunk/reactos/base/applications/fontview/lang/ru-RU.rc trunk/reactos/base/applications/fontview/lang/uk-UA.rc trunk/reactos/base/applications/screensavers/logon/lang/ru-RU.rc trunk/reactos/base/applications/screensavers/logon/lang/uk-UA.rc trunk/reactos/base/applications/screensavers/logon/logon.rc trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc trunk/reactos/subsystems/win32/csrss/win32csr/rsrc.rc [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/base/applications/cacls/lang/bg-BG.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/ca-ES.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/cs-CZ.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/da-DA.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/el-GR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/es-ES.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/fr-FR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/ja-JP.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/ko-KR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/no-NO.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/pt-BR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/sk-SK.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/sv-SE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/uk-UA.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/zh-CN.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/lang/zh-TW.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/la…
Modified: trunk/reactos/base/applications/cacls/rsrc.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cacls/rs…
Modified: trunk/reactos/base/applications/calc/lang/bg-BG.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/lan…
Modified: trunk/reactos/base/applications/calc/lang/cs-CZ.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/lan…
Modified: trunk/reactos/base/applications/calc/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/lan…
Modified: trunk/reactos/base/applications/calc/lang/el-GR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/lan…
Modified: trunk/reactos/base/applications/calc/lang/es-ES.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/lan…
Modified: trunk/reactos/base/applications/calc/lang/fr-FR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/lan…
Modified: trunk/reactos/base/applications/calc/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/lan…
Modified: trunk/reactos/base/applications/calc/lang/ja-JP.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/lan…
Modified: trunk/reactos/base/applications/calc/lang/ko-KR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/lan…
Modified: trunk/reactos/base/applications/calc/lang/no-NO.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/lan…
Modified: trunk/reactos/base/applications/calc/lang/sk-SK.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/lan…
Modified: trunk/reactos/base/applications/calc/lang/sv-SE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/lan…
Modified: trunk/reactos/base/applications/calc/lang/th-TH.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/lan…
Modified: trunk/reactos/base/applications/calc/resource.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/calc/res…
Modified: trunk/reactos/base/applications/charmap/lang/bg-BG.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/ca-ES.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/cs-CZ.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/el-GR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/es-ES.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/fr-FR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/ja-JP.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/ko-KR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/lt-LT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/no-NO.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/pt-BR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/sk-SK.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/sv-SE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/zh-CN.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/lang/zh-TW.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/charmap/rsrc.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
Modified: trunk/reactos/base/applications/fontview/fontview.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fontview…
Modified: trunk/reactos/base/applications/fontview/lang/ru-RU.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fontview…
Modified: trunk/reactos/base/applications/fontview/lang/uk-UA.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fontview…
Modified: trunk/reactos/base/applications/screensavers/logon/lang/ru-RU.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/screensa…
Modified: trunk/reactos/base/applications/screensavers/logon/lang/uk-UA.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/screensa…
Modified: trunk/reactos/base/applications/screensavers/logon/logon.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/screensa…
Modified: trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/uk-UA.r…
Added: trunk/reactos/subsystems/win32/csrss/win32csr/lang/cs-CZ.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/rsrc.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
13 years, 5 months
1
0
0
0
← Newer
1
2
3
4
...
46
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Results per page:
10
25
50
100
200