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
2025
January
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
November 2005
----- 2025 -----
January 2025
----- 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
27 participants
875 discussions
Start a n
N
ew thread
[greatlrd] 19422: implement WaveThreadSetData
by greatlrd@svn.reactos.com
implement WaveThreadSetData Modified: trunk/reactos/lib/mmdrv/wave.c _____ Modified: trunk/reactos/lib/mmdrv/wave.c --- trunk/reactos/lib/mmdrv/wave.c 2005-11-21 20:46:55 UTC (rev 19421) +++ trunk/reactos/lib/mmdrv/wave.c 2005-11-21 20:56:50 UTC (rev 19422) @@ -102,7 +102,33 @@ break; case WaveThreadSetData: - DPRINT("UNIMPLMENENT WaveThreadGetData "); + { + OVERLAPPED Overlap; + DWORD BytesReturned; + memset((PVOID)&Overlap, 0, sizeof(Overlap)); + Overlap.hEvent = pClient->Event; + + if (!DeviceIoControl(pClient->hDev, pClient->AuxParam.GetSetData.Function, + pClient->AuxParam.GetSetData.pData, pClient->AuxParam.GetSetData.DataLen, + NULL, 0, &BytesReturned, &Overlap)) + { + DWORD cbTransfer; + if (GetLastError() == ERROR_IO_PENDING) + { + if (!GetOverlappedResult(pClient->hDev, &Overlap, &cbTransfer, TRUE)) + pClient->AuxReturnCode = TranslateStatus(); + } + else + pClient->AuxReturnCode = TranslateStatus(); + + } + else + { + while (SleepEx(0, TRUE) == WAIT_IO_COMPLETION) {} + + pClient->AuxReturnCode = MMSYSERR_NOERROR; + } + } break; case WaveThreadBreakLoop:
19 years, 1 month
1
0
0
0
[navaraf] 19421: Generate .dsp files with matching !IF/!ELSEIF and !ENDIF directives to make NMAKE accept them.
by navaraf@svn.reactos.com
Generate .dsp files with matching !IF/!ELSEIF and !ENDIF directives to make NMAKE accept them. Modified: trunk/reactos/tools/rbuild/backend/msvc/msvcmaker.cpp _____ Modified: trunk/reactos/tools/rbuild/backend/msvc/msvcmaker.cpp --- trunk/reactos/tools/rbuild/backend/msvc/msvcmaker.cpp 2005-11-21 20:41:34 UTC (rev 19420) +++ trunk/reactos/tools/rbuild/backend/msvc/msvcmaker.cpp 2005-11-21 20:46:55 UTC (rev 19421) @@ -261,26 +261,21 @@ if ( !lib && !exe ) fprintf ( OUT, "MTL=midl.exe\r\n" ); fprintf ( OUT, "RSC=rc.exe\r\n" ); - int n = 0; - std::string output_dir; for ( size_t icfg = 0; icfg < cfgs.size(); icfg++ ) { std::string& cfg = cfgs[icfg]; - if ( icfg ) + if ( icfg == 0 ) { - if ( n == 0 ) - { - fprintf ( OUT, "!IF \"$(CFG)\" == \"%s\"\r\n", cfg.c_str() ); - fprintf ( OUT, "\r\n" ); - } - else - { - fprintf ( OUT, "\r\n" ); - fprintf ( OUT, "!ELSEIF \"$(CFG)\" == \"%s\"\r\n", cfg.c_str() ); - fprintf ( OUT, "\r\n" ); - } + fprintf ( OUT, "!IF \"$(CFG)\" == \"%s\"\r\n", cfg.c_str() ); + fprintf ( OUT, "\r\n" ); } + else + { + fprintf ( OUT, "\r\n" ); + fprintf ( OUT, "!ELSEIF \"$(CFG)\" == \"%s\"\r\n", cfg.c_str() ); + fprintf ( OUT, "\r\n" ); + } bool debug = !strstr ( cfg.c_str(), "Release" ); bool msvc_headers = ( 0 != strstr ( cfg.c_str(), "MSVC Headers" ) ); @@ -569,8 +564,6 @@ fprintf ( OUT, "# ADD BASE LIB32 /nologo\r\n" ); fprintf ( OUT, "# ADD LIB32 /nologo\r\n" ); } - - n++; } if ( cfgs.size() != 0 )
19 years, 1 month
1
0
0
0
[greatlrd] 19420: waveThread is not longer stub it is alive and do not have all case implement
by greatlrd@svn.reactos.com
waveThread is not longer stub it is alive and do not have all case implement Modified: trunk/reactos/lib/mmdrv/wave.c _____ Modified: trunk/reactos/lib/mmdrv/wave.c --- trunk/reactos/lib/mmdrv/wave.c 2005-11-21 19:19:13 UTC (rev 19419) +++ trunk/reactos/lib/mmdrv/wave.c 2005-11-21 20:41:34 UTC (rev 19420) @@ -18,8 +18,16 @@ #include <debug.h> #define WHDR_COMPLETE 0x80000000 +#define MAX_BUFFER_SIZE 8192 +#define MAX_WAVE_BYTES 5*MAX_BUFFER_SIZE + PWAVEALLOC WaveLists; +static MMRESULT waveReadWrite(PWAVEALLOC pClient); +void wavePartialOvl(DWORD dwErrorCode, DWORD BytesTransferred, LPOVERLAPPED pOverlapped); +void waveOvl(DWORD dwErrorCode, DWORD BytesTransferred, LPOVERLAPPED pOverlapped); +void waveLoopOvl(DWORD dwErrorCode, DWORD BytesTransferred, LPOVERLAPPED pOverlapped); +void waveBreakOvl(DWORD dwErrorCode, DWORD BytesTransferred, LPOVERLAPPED pOverlapped); /* ============================ * INTERNAL @@ -145,7 +153,7 @@ } } - //waveStart; + waveReadWrite(pClient); if (Terminate) return 1; SetEvent(pClient->AuxEvent2); @@ -174,7 +182,7 @@ } } - //waveStart; + waveReadWrite(pClient); } } @@ -183,10 +191,215 @@ } +static MMRESULT waveReadWrite(PWAVEALLOC pClient) +{ + DWORD dwSize; + BOOL Result; + + while (pClient->NextBuffer) + { + PWAVEHDR pHdr; + pHdr = pClient->NextBuffer; + + //FIXME + //assert(!(pHdr->dwFlags & (WHDR_DONE | WHDR_COMPLETE))); + //assert(pClient->DeviceQueue != NULL); + + dwSize = pHdr->dwBufferLength - pClient->BufferPosition; + if (dwSize > MAX_BUFFER_SIZE) + dwSize = MAX_BUFFER_SIZE; + + if (dwSize + pClient->BytesOutstanding <= MAX_WAVE_BYTES) + { + PWAVEOVL pWaveOvl; + + if (pClient->BufferPosition == 0) + { + if (pClient->NextBuffer && (pClient->NextBuffer->dwFlags & WHDR_BEGINLOOP) && + pClient->NextBuffer != pClient->LoopHead) + { + pClient->LoopCount = pClient->NextBuffer->dwLoops; + pClient->LoopHead = pClient->NextBuffer; + if (pClient->LoopCount > 0) + pClient->LoopCount--; + } + + if (pClient->LoopCount == 0) + pClient->LoopHead = NULL; + } + + pWaveOvl = (PWAVEOVL)HeapAlloc(Heap, HEAP_ZERO_MEMORY, sizeof(*pWaveOvl)); + + if (pWaveOvl == NULL) + return MMSYSERR_NOMEM; + + pWaveOvl->WaveHdr = pHdr; + + if (pClient->DeviceType == WaveOutDevice) + { + Result = WriteFileEx(pClient->hDev, + (PBYTE)pHdr->lpData + pClient->BufferPosition, + dwSize, + (LPOVERLAPPED)pWaveOvl, + (LPOVERLAPPED_COMPLETION_ROUTINE) + (pHdr->dwBufferLength != + pClient->BufferPosition + dwSize ? wavePartialOvl : NULL != pClient->LoopHead ? + waveLoopOvl : waveOvl)); + } + else if (pClient->DeviceType == WaveInDevice) + { + Result = ReadFileEx(pClient->hDev, (PBYTE)pHdr->lpData + pClient->BufferPosition, + dwSize, (LPOVERLAPPED)pWaveOvl, + (LPOVERLAPPED_COMPLETION_ROUTINE) + (pHdr->dwBufferLength != + pClient->BufferPosition + dwSize ? wavePartialOvl : NULL != pClient->LoopHead ? + waveLoopOvl : waveOvl)); + } + + + if (!Result && GetLastError() != ERROR_IO_PENDING) + { + HeapFree(Heap, 0, (LPSTR)pWaveOvl); + + if (pClient->BytesOutstanding == 0) + { + PWAVEHDR pHdr; + for (pHdr = pClient->DeviceQueue; pHdr != NULL; pHdr = pHdr->lpNext) + { + pHdr->dwFlags |= WHDR_COMPLETE; + } + + pClient->NextBuffer = NULL; + pClient->BufferPosition = 0; + + } + return TranslateStatus(); + + } + else + { + pClient->BufferPosition += dwSize; + pClient->BytesOutstanding += dwSize; + if (pClient->BufferPosition == pHdr->dwBufferLength) + { + + if (!pClient->LoopHead || !(pHdr->dwFlags & WHDR_ENDLOOP)) + pClient->NextBuffer = pHdr->lpNext; + else + { + if (pClient->LoopCount != 0) + { + pClient->NextBuffer = pClient->LoopHead; + pClient->LoopCount--; + } + else + { + pClient->DummyWaveOvl.WaveHdr = pClient->LoopHead; + + Result = WriteFileEx(pClient->hDev, (PVOID)pHdr->lpData, 0, + &pClient->DummyWaveOvl.Ovl, + (LPOVERLAPPED_COMPLETION_ROUTINE)waveBreakOvl); + + if (Result || GetLastError() == ERROR_IO_PENDING) + { + pClient->NextBuffer = pHdr->lpNext; + pClient->LoopHead = NULL; + + } + } + } + pClient->BufferPosition = 0; + } + } + + + } + else + break; + } + return MMSYSERR_NOERROR; +} + +void wavePartialOvl(DWORD dwErrorCode, DWORD BytesTransferred, LPOVERLAPPED pOverlapped) +{ + LPWAVEHDR pHdr; + PWAVEALLOC pClient; + + pHdr = ((PWAVEOVL)pOverlapped)->WaveHdr; + pClient = (PWAVEALLOC)pHdr->reserved; + + + /* FIXME + Assert(pHdr->dwFlags & WHDR_INQUEUE); + Assert(!(pHdr->dwFlags & WHDR_COMPLETE)); + */ + + pClient->BytesOutstanding -= MAX_BUFFER_SIZE; + + if (pClient->DeviceType == WaveInDevice) + pHdr->dwBytesRecorded += BytesTransferred; + HeapFree(Heap, 0, (LPSTR)pOverlapped); +} + +void waveBreakOvl(DWORD dwErrorCode, DWORD BytesTransferred, LPOVERLAPPED pOverlapped) +{ + ((PWAVEOVL)pOverlapped)->WaveHdr->dwFlags |= WHDR_COMPLETE; +} + +void waveLoopOvl(DWORD dwErrorCode, DWORD BytesTransferred, LPOVERLAPPED pOverlapped) +{ + DWORD dwFlags; + PWAVEHDR pHdr; + + pHdr = ((PWAVEOVL)pOverlapped)->WaveHdr; + dwFlags = pHdr->dwFlags; + waveOvl(dwErrorCode, BytesTransferred, pOverlapped); + pHdr->dwFlags = dwFlags; +} + +void waveOvl(DWORD dwErrorCode, DWORD BytesTransferred, LPOVERLAPPED pOverlapped) +{ + PWAVEHDR pHdr; + PWAVEALLOC pClient; + + pHdr = ((PWAVEOVL)pOverlapped)->WaveHdr; + pClient = (PWAVEALLOC)pHdr->reserved; + + /* FIXME + Assert(pHdr->dwFlags & WHDR_INQUEUE); + Assert(!(pHdr->dwFlags & WHDR_COMPLETE)); + */ + + pHdr->dwFlags |= WHDR_COMPLETE; + + if (pHdr->dwFlags & WHDR_BEGINLOOP) + { + PWAVEHDR pHdrSearch; + for (pHdrSearch = pClient->DeviceQueue ; pHdrSearch != pHdr ; pHdrSearch = pHdrSearch->lpNext) + { + //Assert(pHdrSearch != NULL); + pHdrSearch->dwFlags |= WHDR_COMPLETE; + } + } + + if (pHdr->dwBufferLength) + pClient->BytesOutstanding -= (pHdr->dwBufferLength - 1) % MAX_BUFFER_SIZE + 1; + + if (pClient->DeviceType == WaveInDevice) + pHdr->dwBytesRecorded += BytesTransferred; + + HeapFree(Heap, 0, (LPSTR)pOverlapped); + +} + + + + + static MMRESULT OpenWaveDevice(UINT DeviceType, DWORD id, DWORD dwUser,
19 years, 1 month
1
0
0
0
[gvg] 19419: avifil32 vendor import
by gvg@svn.reactos.com
avifil32 vendor import Added: trunk/reactos/lib/avifil32/ Deleted: trunk/reactos/lib/avifil32/.cvsignore Deleted: trunk/reactos/lib/avifil32/Makefile.in Added: trunk/reactos/lib/avifil32/avifil32.xml Modified: trunk/reactos/lib/directory.xml _____ Copied: trunk/reactos/lib/avifil32 (from rev 19418, vendor/wine/dlls/avifil32/current) Property changes on: trunk/reactos/lib/avifil32 ___________________________________________________________________ Name: svn:ignore + GNUmakefile _____ Deleted: trunk/reactos/lib/avifil32/.cvsignore --- vendor/wine/dlls/avifil32/current/.cvsignore 2005-11-21 19:15:37 UTC (rev 19418) +++ trunk/reactos/lib/avifil32/.cvsignore 2005-11-21 19:19:13 UTC (rev 19419) @@ -1,3 +0,0 @@ -Makefile -libavifil32.def -rsrc.res _____ Deleted: trunk/reactos/lib/avifil32/Makefile.in --- vendor/wine/dlls/avifil32/current/Makefile.in 2005-11-21 19:15:37 UTC (rev 19418) +++ trunk/reactos/lib/avifil32/Makefile.in 2005-11-21 19:19:13 UTC (rev 19419) @@ -1,30 +0,0 @@ -TOPSRCDIR = @top_srcdir@ -TOPOBJDIR = ../.. -SRCDIR = @srcdir@ -VPATH = @srcdir@ -MODULE = avifil32.dll -IMPORTLIB = libavifil32.$(IMPLIBEXT) -IMPORTS = msacm32 msvfw32 winmm ole32 user32 advapi32 kernel32 ntdll -EXTRALIBS = -luuid - -C_SRCS = \ - acmstream.c \ - api.c \ - avifile.c \ - editstream.c \ - extrachunk.c \ - factory.c \ - getframe.c \ - icmstream.c \ - regsvr.c \ - tmpfile.c \ - wavfile.c - -SPEC_SRCS16 = avifile.spec - -RC_SRCS = \ - rsrc.rc - -@MAKE_DLL_RULES@ - -### Dependencies: _____ Added: trunk/reactos/lib/avifil32/avifil32.xml --- vendor/wine/dlls/avifil32/current/avifil32.xml 2005-11-21 19:15:37 UTC (rev 19418) +++ trunk/reactos/lib/avifil32/avifil32.xml 2005-11-21 19:19:13 UTC (rev 19419) @@ -0,0 +1,28 @@ +<module name="avifil32" type="win32dll" baseaddress="${BASEADDRESS_AVIFIL32}" installbase="system32" installname="avifil32.dll"> + <importlibrary definition="avifil32.spec.def" /> + <include base="avifil32">.</include> + <include base="ReactOS">include/wine</include> + <define name="__USE_W32API" /> + <define name="_WIN32_WINNT">0x501</define> + <library>uuid</library> + <library>ntdll</library> + <library>winmm</library> + <library>ole32</library> + <library>msvfw32</library> + <library>msacm32</library> + <library>kernel32</library> + <library>wine</library> + <file>acmstream.c</file> + <file>api.c</file> + <file>avifile.c</file> + <file>editstream.c</file> + <file>extrachunk.c</file> + <file>factory.c</file> + <file>getframe.c</file> + <file>icmstream.c</file> + <file>regsvr.c</file> + <file>tmpfile.c</file> + <file>wavfile.c</file> + <file>rsrc.rc</file> + <file>avifil32.spec</file> +</module> Property changes on: trunk/reactos/lib/avifil32/avifil32.xml ___________________________________________________________________ Name: svn:eol-style + native _____ Modified: trunk/reactos/lib/directory.xml --- trunk/reactos/lib/directory.xml 2005-11-21 19:15:37 UTC (rev 19418) +++ trunk/reactos/lib/directory.xml 2005-11-21 19:19:13 UTC (rev 19419) @@ -17,6 +17,9 @@ <directory name="authz"> <xi:include href="authz/authz.xml" /> </directory> +<directory name="avifil32"> + <xi:include href="avifil32/avifil32.xml" /> +</directory> <directory name="cabinet"> <xi:include href="cabinet/cabinet.xml" /> </directory>
19 years, 1 month
1
0
0
0
[gvg] 19418: Remove avifil32 in preparation of vendor import
by gvg@svn.reactos.com
Remove avifil32 in preparation of vendor import Deleted: trunk/reactos/lib/avifil32/ Modified: trunk/reactos/lib/directory.xml _____ Modified: trunk/reactos/lib/directory.xml --- trunk/reactos/lib/directory.xml 2005-11-21 19:01:12 UTC (rev 19417) +++ trunk/reactos/lib/directory.xml 2005-11-21 19:15:37 UTC (rev 19418) @@ -17,9 +17,6 @@ <directory name="authz"> <xi:include href="authz/authz.xml" /> </directory> -<directory name="avifil32"> - <xi:include href="avifil32/avifil32.xml" /> -</directory> <directory name="cabinet"> <xi:include href="cabinet/cabinet.xml" /> </directory>
19 years, 1 month
1
0
0
0
[gvg] 19417: - Set eol-style
by gvg@svn.reactos.com
- Set eol-style - Tag Wine-0_9_1 Added: vendor/wine/dlls/avifil32/Wine-0_9_1/ _____ Copied: vendor/wine/dlls/avifil32/Wine-0_9_1 (from rev 19415, vendor/wine/dlls/avifil32/current) Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/Makefile.in ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/acmstream.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/api.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifil32.spec ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile.spec ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_Cs.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_De.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_En.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_Es.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_Fr.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_It.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_Ja.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_Nl.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_No.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_Pl.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_Pt.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_Ru.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_Si.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/avifile_private.h ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/editstream.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/extrachunk.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/extrachunk.h ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/factory.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/getframe.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/icmstream.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/regsvr.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/rsrc.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/tmpfile.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/Wine-0_9_1/wavfile.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/Makefile.in ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/acmstream.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/api.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifil32.spec ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile.spec ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_Cs.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_De.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_En.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_Es.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_Fr.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_It.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_Ja.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_Nl.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_No.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_Pl.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_Pt.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_Ru.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_Si.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/avifile_private.h ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/editstream.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/extrachunk.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/extrachunk.h ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/factory.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/getframe.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/icmstream.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/regsvr.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/rsrc.rc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/tmpfile.c ___________________________________________________________________ Name: svn:eol-style + native Property changes on: vendor/wine/dlls/avifil32/current/wavfile.c ___________________________________________________________________ Name: svn:eol-style + native
19 years, 1 month
1
0
0
0
[gvg] 19416: Remove Wine-0_9_1 in preparation of copy
by gvg@svn.reactos.com
Remove Wine-0_9_1 in preparation of copy Deleted: vendor/wine/dlls/avifil32/Wine-0_9_1/
19 years, 1 month
1
0
0
0
[gvg] 19415: Linux doesn't understand VOID
by gvg@svn.reactos.com
Linux doesn't understand VOID Modified: trunk/reactos/tools/rbuild/global.cpp Modified: trunk/reactos/tools/rbuild/rbuild.h _____ Modified: trunk/reactos/tools/rbuild/global.cpp --- trunk/reactos/tools/rbuild/global.cpp 2005-11-21 18:49:41 UTC (rev 19414) +++ trunk/reactos/tools/rbuild/global.cpp 2005-11-21 18:58:20 UTC (rev 19415) @@ -28,7 +28,7 @@ char cBadSep; -VOID +void InitializeEnvironment () { char *SepValue, *ExePostfixValue, *ExePrefixValue;; _____ Modified: trunk/reactos/tools/rbuild/rbuild.h --- trunk/reactos/tools/rbuild/rbuild.h 2005-11-21 18:49:41 UTC (rev 19414) +++ trunk/reactos/tools/rbuild/rbuild.h 2005-11-21 18:58:20 UTC (rev 19415) @@ -801,7 +801,7 @@ }; -extern VOID +extern void InitializeEnvironment (); extern std::string
19 years, 1 month
1
0
0
0
[greatlrd] 19414: adding code for waveTheard it is not complete yet
by greatlrd@svn.reactos.com
adding code for waveTheard it is not complete yet Modified: trunk/reactos/lib/mmdrv/wave.c _____ Modified: trunk/reactos/lib/mmdrv/wave.c --- trunk/reactos/lib/mmdrv/wave.c 2005-11-21 18:38:09 UTC (rev 19413) +++ trunk/reactos/lib/mmdrv/wave.c 2005-11-21 18:49:41 UTC (rev 19414) @@ -17,17 +17,15 @@ #define NDEBUG #include <debug.h> -PWAVEALLOC WaveLists; +#define WHDR_COMPLETE 0x80000000 +PWAVEALLOC WaveLists; + /* ============================ * INTERNAL * functions start here * ============================ */ -static DWORD waveThread(LPVOID lpParameter) -{ - return MMSYSERR_NOERROR; -} MMRESULT GetDeviceCapabilities(DWORD ID, UINT DeviceType, LPBYTE pCaps, DWORD Size) @@ -69,6 +67,126 @@ return Result; } +static DWORD waveThread(LPVOID lpParameter) +{ + + PWAVEALLOC pClient; + BOOL Terminate; + + SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL); + SetEvent(pClient->AuxEvent2); + WaitForSingleObject(pClient->AuxEvent1, INFINITE); + + for (;;) + { + switch (pClient->AuxFunction) + { + case WaveThreadAddBuffer: + DPRINT("UNIMPLMENENT WaveThreadAddBuffer "); + break; + + case WaveThreadSetState: + DPRINT("UNIMPLMENENT WaveThreadSetState "); + break; + + case WaveThreadGetData: + DPRINT("UNIMPLMENENT WaveThreadGetData "); + break; + + case WaveThreadSetData: + DPRINT("UNIMPLMENENT WaveThreadGetData "); + break; + + case WaveThreadBreakLoop: + pClient->AuxReturnCode = MMSYSERR_NOERROR; + if (pClient->LoopHead) + pClient->LoopCount = 0; + break; + + case WaveThreadClose: + if (pClient->DeviceQueue != NULL) + pClient->AuxReturnCode = WAVERR_STILLPLAYING; + else + pClient->AuxReturnCode = MMSYSERR_NOERROR; + break; + + case WaveThreadTerminate: + Terminate = TRUE; + break; + + default: + DPRINT("WaveThread Error"); + break; + + } + + pClient->AuxFunction = WaveThreadInvalid; + + while (pClient->DeviceQueue && (pClient->DeviceQueue->dwFlags & WHDR_COMPLETE)) + { + PWAVEHDR pHdr; + PWAVEALLOC pWav; + + pHdr = pClient->DeviceQueue; + pClient->DeviceQueue = pHdr->lpNext; + + pHdr->dwFlags &= ~WHDR_COMPLETE; + pHdr->dwFlags &= ~WHDR_INQUEUE; + pHdr->lpNext = NULL; + pHdr->dwFlags |= WHDR_DONE; + + pWav = (PWAVEALLOC)pHdr->reserved; + + if (pWav->dwCallback) + { + DriverCallback(pWav->dwCallback, HIWORD(pWav->dwFlags), (HDRVR)pWav->hWave, + pClient->DeviceType == WaveOutDevice ? WOM_DONE : WIM_DATA, + pWav->dwInstance, (DWORD)pHdr, 0L); + } + } + + //waveStart; + + if (Terminate) return 1; + SetEvent(pClient->AuxEvent2); + while (WaitForSingleObjectEx(pClient->AuxEvent1, INFINITE, TRUE) == WAIT_IO_COMPLETION) + { + while (pClient->DeviceQueue && (pClient->DeviceQueue->dwFlags & WHDR_COMPLETE)) + { + PWAVEHDR pHdr; + PWAVEALLOC pWav; + + pHdr = pClient->DeviceQueue; + pClient->DeviceQueue = pHdr->lpNext; + + pHdr->dwFlags &= ~WHDR_COMPLETE; + pHdr->dwFlags &= ~WHDR_INQUEUE; + pHdr->lpNext = NULL; + pHdr->dwFlags |= WHDR_DONE; + + pWav = (PWAVEALLOC)pHdr->reserved; + + if (pWav->dwCallback) + { + DriverCallback(pWav->dwCallback, HIWORD(pWav->dwFlags), (HDRVR)pWav->hWave, + pClient->DeviceType == WaveOutDevice ? WOM_DONE : WIM_DATA, + pWav->dwInstance, (DWORD)pHdr, 0L); + } + } + + //waveStart; + } + } + + + return MMSYSERR_NOERROR; +} + + + + + + static MMRESULT OpenWaveDevice(UINT DeviceType, DWORD id, DWORD dwUser,
19 years, 1 month
1
0
0
0
[ion] 19413: - Misc janitorial fixes by Brezenbak to fix some MSVC compile errors.
by ion@svn.reactos.com
- Misc janitorial fixes by Brezenbak to fix some MSVC compile errors. Modified: trunk/reactos/ntoskrnl/ex/fmutex.c Modified: trunk/reactos/ntoskrnl/ex/init.c Modified: trunk/reactos/ntoskrnl/fs/filelock.c Modified: trunk/reactos/ntoskrnl/include/internal/i386/ke.h Modified: trunk/reactos/ntoskrnl/include/internal/ke.h Modified: trunk/reactos/ntoskrnl/include/internal/ntoskrnl.h Modified: trunk/reactos/ntoskrnl/io/bootlog.c Modified: trunk/reactos/ntoskrnl/io/disk.c Modified: trunk/reactos/ntoskrnl/kd/kdio.c Modified: trunk/reactos/ntoskrnl/kdbg/kdb.h Modified: trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c Modified: trunk/reactos/ntoskrnl/ke/apc.c Modified: trunk/reactos/ntoskrnl/ke/i386/kernel.c Modified: trunk/reactos/ntoskrnl/ke/process.c Modified: trunk/reactos/ntoskrnl/ke/wait.c Modified: trunk/reactos/ntoskrnl/lpc/reply.c Modified: trunk/reactos/ntoskrnl/mm/cont.c Modified: trunk/reactos/ntoskrnl/mm/npool.c Modified: trunk/reactos/ntoskrnl/mm/rpoolmgr.h Modified: trunk/reactos/ntoskrnl/ob/sdcache.c _____ Modified: trunk/reactos/ntoskrnl/ex/fmutex.c --- trunk/reactos/ntoskrnl/ex/fmutex.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/ex/fmutex.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -81,9 +81,9 @@ FASTCALL ExAcquireFastMutex(PFAST_MUTEX FastMutex) { + KIRQL OldIrql; ASSERT_IRQL_LESS_OR_EQUAL(APC_LEVEL); - KIRQL OldIrql; - + /* Raise IRQL to APC */ OldIrql = KfRaiseIrql(APC_LEVEL); @@ -180,8 +180,8 @@ FASTCALL ExTryToAcquireFastMutex(PFAST_MUTEX FastMutex) { + KIRQL OldIrql; ASSERT_IRQL_LESS_OR_EQUAL(APC_LEVEL); - KIRQL OldIrql; /* Raise to APC_LEVEL */ OldIrql = KfRaiseIrql(APC_LEVEL); _____ Modified: trunk/reactos/ntoskrnl/ex/init.c --- trunk/reactos/ntoskrnl/ex/init.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/ex/init.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -220,7 +220,7 @@ } } -inline +__inline VOID STDCALL ExecuteRuntimeAsserts(VOID) @@ -255,7 +255,7 @@ ASSERT(sizeof(FX_SAVE_AREA) == SIZEOF_FX_SAVE_AREA); } -inline +__inline VOID STDCALL ParseAndCacheLoadedModules(VOID) @@ -303,7 +303,7 @@ } } -inline +__inline VOID STDCALL ParseCommandLine(PULONG MaxMem, _____ Modified: trunk/reactos/ntoskrnl/fs/filelock.c --- trunk/reactos/ntoskrnl/fs/filelock.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/fs/filelock.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -27,7 +27,7 @@ -inline BOOLEAN +__inline BOOLEAN IsOverlappingLock( PFILE_LOCK_INFO Lock, PLARGE_INTEGER StartOffset, @@ -48,7 +48,7 @@ } -inline BOOLEAN +__inline BOOLEAN IsSurroundingLock( PFILE_LOCK_INFO Lock, PLARGE_INTEGER StartOffset, _____ Modified: trunk/reactos/ntoskrnl/include/internal/i386/ke.h --- trunk/reactos/ntoskrnl/include/internal/i386/ke.h 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/include/internal/i386/ke.h 2005-11-21 18:38:09 UTC (rev 19413) @@ -266,9 +266,11 @@ #define Ke386GetPageTableDirectory(X) \ __asm mov eax, cr3; \ __asm mov X, eax; -#define Ke386SetPageTableDirectory(X) \ - __asm mov eax, X; \ - __asm mov cr3, eax; +static __forceinline void Ke386SetPageTableDirectory(ULONG X) +{ + __asm mov eax, X + __asm mov cr3, eax +} #else #error Unknown compiler for inline assembler #endif _____ Modified: trunk/reactos/ntoskrnl/include/internal/ke.h --- trunk/reactos/ntoskrnl/include/internal/ke.h 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/include/internal/ke.h 2005-11-21 18:38:09 UTC (rev 19413) @@ -244,7 +244,7 @@ ); KIRQL -inline +__inline FASTCALL KeAcquireDispatcherDatabaseLock(VOID); @@ -363,7 +363,7 @@ ); VOID -inline +__inline FASTCALL KiSatisfyObjectWait( PDISPATCHER_HEADER Object, @@ -371,7 +371,7 @@ ); BOOLEAN -inline +__inline FASTCALL KiIsObjectSignaled( PDISPATCHER_HEADER Object, @@ -379,7 +379,7 @@ ); VOID -inline +__inline FASTCALL KiSatisifyMultipleObjectWaits(PKWAIT_BLOCK WaitBlock); _____ Modified: trunk/reactos/ntoskrnl/include/internal/ntoskrnl.h --- trunk/reactos/ntoskrnl/include/internal/ntoskrnl.h 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/include/internal/ntoskrnl.h 2005-11-21 18:38:09 UTC (rev 19413) @@ -255,7 +255,7 @@ #define ICI_SQ(SizeQuery, SizeSet, AlignmentQuery, AlignmentSet, Flags) \ { SizeQuery, SizeSet, AlignmentQuery, AlignmentSet, Flags } -static inline NTSTATUS +static __inline NTSTATUS DefaultSetInfoBufferCheck(UINT Class, const INFORMATION_CLASS_INFO *ClassList, UINT ClassListEntries, @@ -304,7 +304,7 @@ return Status; } -static inline NTSTATUS +static __inline NTSTATUS DefaultQueryInfoBufferCheck(UINT Class, const INFORMATION_CLASS_INFO *ClassList, UINT ClassListEntries, _____ Modified: trunk/reactos/ntoskrnl/io/bootlog.c --- trunk/reactos/ntoskrnl/io/bootlog.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/io/bootlog.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -310,8 +310,11 @@ ExReleaseResourceLite(&IopBootLogResource); return; } - +#if defined (__GNUC__) Status = IopWriteLogFile(L"ReactOS "KERNEL_VERSION_STR); +#elif defined (_MSC_VER) + Status = IopWriteLogFile("ReactOS "KERNEL_VERSION_STR); +#endif if (!NT_SUCCESS(Status)) { DPRINT1("IopWriteLogFile() failed (Status %lx)\n", Status); _____ Modified: trunk/reactos/ntoskrnl/io/disk.c --- trunk/reactos/ntoskrnl/io/disk.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/io/disk.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -1070,7 +1070,7 @@ AUTO_DRIVE, DOSDEVICE_DRIVE_REMOVABLE, 0, - (LARGE_INTEGER)0LL, + RtlConvertLongToLargeInteger(0), hKey); } } @@ -1101,7 +1101,7 @@ (i < 2) ? i : AUTO_DRIVE, DOSDEVICE_DRIVE_REMOVABLE, 0, - (LARGE_INTEGER)0LL, + RtlConvertLongToLargeInteger(0), hKey); } @@ -1121,7 +1121,7 @@ AUTO_DRIVE, DOSDEVICE_DRIVE_CDROM, 0, - (LARGE_INTEGER)0LL, + RtlConvertLongToLargeInteger(0), hKey); } _____ Modified: trunk/reactos/ntoskrnl/kd/kdio.c --- trunk/reactos/ntoskrnl/kd/kdio.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/kd/kdio.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -263,10 +263,11 @@ KdpPrintString(LPSTR String, ULONG Length) { - if (!KdpDebugMode.Value) return 0; PLIST_ENTRY CurrentEntry; PKD_DISPATCH_TABLE CurrentTable; + if (!KdpDebugMode.Value) return 0; + /* Call the registered handlers */ CurrentEntry = KdProviders.Flink; while (CurrentEntry != &KdProviders) _____ Modified: trunk/reactos/ntoskrnl/kdbg/kdb.h --- trunk/reactos/ntoskrnl/kdbg/kdb.h 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/kdbg/kdb.h 2005-11-21 18:38:09 UTC (rev 19413) @@ -87,7 +87,7 @@ /* from i386/kdb_help.S */ -STDCALL VOID +VOID STDCALL KdbpStackSwitchAndCall( IN PVOID NewStack, IN VOID (*Function)(VOID)); _____ Modified: trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c --- trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -559,7 +559,7 @@ IN PLDR_DATA_TABLE_ENTRY Module) { /* Load symbols for the image if available */ - DPRINT("Loading driver %wZ symbols (driver @ %08x)\n", Filename, Module->Base); + DPRINT("Loading driver %wZ symbols (driver @ %08x)\n", Filename, Module->DllBase); Module->PatchInformation = NULL; @@ -664,7 +664,7 @@ DPRINT("Installed symbols: %s@%08x-%08x %p\n", FileName, ModuleObject->DllBase, - ModuleObject->SizeOfImage + ModuleObject->DllBase, + ModuleObject->SizeOfImage + (ULONG)ModuleObject->DllBase, ModuleObject->PatchInformation); } } _____ Modified: trunk/reactos/ntoskrnl/ke/apc.c --- trunk/reactos/ntoskrnl/ke/apc.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/ke/apc.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -1064,7 +1064,7 @@ return Status; } -static inline +static __inline VOID RepairList(PLIST_ENTRY Original, PLIST_ENTRY Copy, KPROCESSOR_MODE Mode) _____ Modified: trunk/reactos/ntoskrnl/ke/i386/kernel.c --- trunk/reactos/ntoskrnl/ke/i386/kernel.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/ke/i386/kernel.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -170,11 +170,12 @@ NTAPI KePrepareForApplicationProcessorInit(ULONG Id) { - DPRINT("KePrepareForApplicationProcessorInit(Id %d)\n", Id); PFN_TYPE PrcPfn; PKIPCR Pcr; PKIPCR BootPcr; + DPRINT("KePrepareForApplicationProcessorInit(Id %d)\n", Id); + BootPcr = (PKIPCR)KPCR_BASE; Pcr = (PKIPCR)((ULONG_PTR)KPCR_BASE + Id * PAGE_SIZE); _____ Modified: trunk/reactos/ntoskrnl/ke/process.c --- trunk/reactos/ntoskrnl/ke/process.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/ke/process.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -36,7 +36,7 @@ /* FUNCTIONS *****************************************************************/ -static inline void +static __inline void UpdatePageDirs(PKTHREAD Thread, PKPROCESS Process) { /* _____ Modified: trunk/reactos/ntoskrnl/ke/wait.c --- trunk/reactos/ntoskrnl/ke/wait.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/ke/wait.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -27,7 +27,7 @@ /* FUNCTIONS *****************************************************************/ BOOLEAN -inline +__inline FASTCALL KiCheckAlertability(BOOLEAN Alertable, PKTHREAD CurrentThread, @@ -771,7 +771,7 @@ } BOOLEAN -inline +__inline FASTCALL KiIsObjectSignaled(PDISPATCHER_HEADER Object, PKTHREAD Thread) @@ -802,7 +802,7 @@ } VOID -inline +__inline FASTCALL KiSatisifyMultipleObjectWaits(PKWAIT_BLOCK WaitBlock) { @@ -819,7 +819,7 @@ } VOID -inline +__inline FASTCALL KeInitializeDispatcherHeader(DISPATCHER_HEADER* Header, ULONG Type, @@ -835,7 +835,7 @@ } KIRQL -inline +__inline FASTCALL KeAcquireDispatcherDatabaseLock(VOID) { @@ -846,7 +846,7 @@ } VOID -inline +__inline FASTCALL KeAcquireDispatcherDatabaseLockAtDpcLevel(VOID) { @@ -854,7 +854,7 @@ } VOID -inline +__inline FASTCALL KeInitializeDispatcher(VOID) { @@ -863,7 +863,7 @@ } VOID -inline +__inline FASTCALL KeReleaseDispatcherDatabaseLock(KIRQL OldIrql) { @@ -882,7 +882,7 @@ } VOID -inline +__inline FASTCALL KeReleaseDispatcherDatabaseLockFromDpcLevel(VOID) { _____ Modified: trunk/reactos/ntoskrnl/lpc/reply.c --- trunk/reactos/ntoskrnl/lpc/reply.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/lpc/reply.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -163,7 +163,7 @@ PreviousMode = ExGetPreviousMode(); DPRINT("NtReplyWaitReceivePortEx(PortHandle %x, LpcReply %x, " - "LpcMessage %x)\n", PortHandle, LpcReply, LpcMessage); + "LpcMessage %x)\n", PortHandle, ReplyMessage, ReceiveMessage); if (PreviousMode != KernelMode) { _____ Modified: trunk/reactos/ntoskrnl/mm/cont.c --- trunk/reactos/ntoskrnl/mm/cont.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/mm/cont.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -16,7 +16,7 @@ /* FUNCTIONS *****************************************************************/ -VOID STATIC +static VOID MmFreeContinuousPage(PVOID Context, MEMORY_AREA* MemoryArea, PVOID Address, PFN_TYPE Page, SWAPENTRY SwapEntry, BOOLEAN Dirty) @@ -93,7 +93,7 @@ &MArea, FALSE, 0, - (PHYSICAL_ADDRESS)0LL); + RtlConvertLongToLargeInteger(0)); MmUnlockAddressSpace(MmGetKernelAddressSpace()); if (!NT_SUCCESS(Status)) @@ -158,9 +158,9 @@ IN PHYSICAL_ADDRESS HighestAcceptableAddress) { return MmAllocateContiguousMemorySpecifyCache(NumberOfBytes, - (PHYSICAL_ADDRESS)0LL, + RtlConvertLongToLargeInteger(0), HighestAcceptableAddress, - (PHYSICAL_ADDRESS)0LL, + RtlConvertLongToLargeInteger(0), MmCached); } _____ Modified: trunk/reactos/ntoskrnl/mm/npool.c --- trunk/reactos/ntoskrnl/mm/npool.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/mm/npool.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -1472,7 +1472,7 @@ DPRINT("freeing block %x\n",blk); POOL_TRACE("ExFreePool(block %x), size %d, caller %x\n",block,blk->hdr.Size, - block->Caller); + blk->Caller); KeAcquireSpinLock(&MmNpoolLock, &oldIrql); VALIDATE_POOL; _____ Modified: trunk/reactos/ntoskrnl/mm/rpoolmgr.h --- trunk/reactos/ntoskrnl/mm/rpoolmgr.h 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/mm/rpoolmgr.h 2005-11-21 18:38:09 UTC (rev 19413) @@ -496,7 +496,7 @@ return NextBlock; } -inline static void* +static __inline void* RHdrToBody ( void* blk ) /* * FUNCTION: Translate a block header address to the corresponding block @@ -506,7 +506,7 @@ return ( (void *) ((char*)blk + sizeof(R_USED) + R_RZ) ); } -inline static PR_USED +static __inline PR_USED RBodyToHdr ( void* addr ) { return (PR_USED) _____ Modified: trunk/reactos/ntoskrnl/ob/sdcache.c --- trunk/reactos/ntoskrnl/ob/sdcache.c 2005-11-21 18:10:55 UTC (rev 19412) +++ trunk/reactos/ntoskrnl/ob/sdcache.c 2005-11-21 18:38:09 UTC (rev 19413) @@ -52,7 +52,7 @@ } -static inline VOID +static __inline VOID ObpSdCacheLock(VOID) { /* can't acquire a fast mutex in the early boot process... */ @@ -63,7 +63,7 @@ } -static inline VOID +static __inline VOID ObpSdCacheUnlock(VOID) { /* can't acquire a fast mutex in the early boot process... */
19 years, 1 month
1
0
0
0
← Newer
1
...
35
36
37
38
39
40
41
...
88
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Results per page:
10
25
50
100
200