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
February 2005
----- 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
23 participants
411 discussions
Start a n
N
ew thread
[chorns] 13496: * Run build tools after parsing build files
by chorns@svn.reactos.com
* Run build tools after parsing build files * Generate roscfg.h Modified: branches/xmlbuildsystem/reactos/drivers/net/tcpip/tcpip/main.c Modified: branches/xmlbuildsystem/reactos/lib/kernel32/misc/dllmain.c Modified: branches/xmlbuildsystem/reactos/subsys/win32k/main/dllmain.c Modified: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp Modified: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.h Modified: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler .cpp Modified: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler .h Modified: branches/xmlbuildsystem/reactos/tools/rbuild/exception.cpp Modified: branches/xmlbuildsystem/reactos/tools/rbuild/exception.h Modified: branches/xmlbuildsystem/reactos/tools/rbuild/module.cpp Modified: branches/xmlbuildsystem/reactos/tools/rbuild/project.cpp Modified: branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.cpp Modified: branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.h Property changes on: branches/xmlbuildsystem/reactos ___________________________________________________________________ Name: svn:ignore - dist reactos *.sys *.exe *.dll *.cpl *.a *.o *.d *.coff *.dsp *.dsw *.aps *.ncb *.opt *.sym *.plg *.bak *.zip *.iso *.cab doxy-doc + *.sys *.exe *.dll *.cpl *.a *.o *.d *.coff *.dsp *.dsw *.aps *.ncb *.opt *.sym *.plg *.bak *.zip *.iso *.cab doxy-doc _____ Modified: branches/xmlbuildsystem/reactos/drivers/net/tcpip/tcpip/main.c --- branches/xmlbuildsystem/reactos/drivers/net/tcpip/tcpip/main.c 2005-02-11 17:04:30 UTC (rev 13495) +++ branches/xmlbuildsystem/reactos/drivers/net/tcpip/tcpip/main.c 2005-02-11 19:13:01 UTC (rev 13496) @@ -862,8 +862,6 @@ DueTime.QuadPart = -(LONGLONG)IP_TIMEOUT * 10000; KeSetTimerEx(&IPTimer, DueTime, IP_TIMEOUT, &IPTimeoutDpc); - PREPARE_TESTS - return STATUS_SUCCESS; } Property changes on: branches/xmlbuildsystem/reactos/lib/gdi32/misc ___________________________________________________________________ Name: svn:ignore - win32k.c *.o .*.d + *.o .*.d _____ Modified: branches/xmlbuildsystem/reactos/lib/kernel32/misc/dllmain.c --- branches/xmlbuildsystem/reactos/lib/kernel32/misc/dllmain.c 2005-02-11 17:04:30 UTC (rev 13495) +++ branches/xmlbuildsystem/reactos/lib/kernel32/misc/dllmain.c 2005-02-11 19:13:01 UTC (rev 13496) @@ -176,8 +176,6 @@ break; } - PREPARE_TESTS - return TRUE; } Property changes on: branches/xmlbuildsystem/reactos/lib/ntdll ___________________________________________________________________ Name: svn:ignore - temp.exp napi.asm napi.c *.tmp *.lib *.sym *.coff *.dll *.o *.a *.map doxy-doc + temp.exp *.tmp *.lib *.sym *.coff *.dll *.o *.a *.map doxy-doc Property changes on: branches/xmlbuildsystem/reactos/lib/user32/misc ___________________________________________________________________ Name: svn:ignore - win32k.c *.d *.a *.o *.sym + *.d *.a *.o *.sym Property changes on: branches/xmlbuildsystem/reactos/ntoskrnl/nt ___________________________________________________________________ Name: svn:ignore - *.d *.o zw.c + *.d *.o Property changes on: branches/xmlbuildsystem/reactos/subsys/win32k/main ___________________________________________________________________ Name: svn:ignore - svctab.c *.d *.o *.sym + *.d *.o *.sym _____ Modified: branches/xmlbuildsystem/reactos/subsys/win32k/main/dllmain.c --- branches/xmlbuildsystem/reactos/subsys/win32k/main/dllmain.c 2005-02-11 17:04:30 UTC (rev 13495) +++ branches/xmlbuildsystem/reactos/subsys/win32k/main/dllmain.c 2005-02-11 19:13:01 UTC (rev 13496) @@ -330,8 +330,6 @@ CreateStockObjects(); CreateSysColorObjects(); - PREPARE_TESTS - return STATUS_SUCCESS; } _____ Modified: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp --- branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp 2005-02-11 17:04:30 UTC (rev 13495) +++ branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp 2005-02-11 19:13:01 UTC (rev 13496) @@ -30,6 +30,7 @@ GenerateHeader (); GenerateGlobalVariables (); GenerateAllTarget (); + GenerateInitTarget (); for ( size_t i = 0; i < ProjectNode.modules.size (); i++ ) { Module& module = *ProjectNode.modules[i]; @@ -167,6 +168,7 @@ fprintf ( fMakefile, "host_ar = ar\n" ); fprintf ( fMakefile, "host_objcopy = objcopy\n" ); #ifdef WIN32 + fprintf ( fMakefile, "nmkdir = mkdir\n" ); fprintf ( fMakefile, "rm = del /f /q\n" ); fprintf ( fMakefile, "gcc = gcc\n" ); fprintf ( fMakefile, "gpp = g++\n" ); @@ -176,6 +178,7 @@ fprintf ( fMakefile, "dlltool = dlltool\n" ); fprintf ( fMakefile, "windres = windres\n" ); #else + fprintf ( fMakefile, "nmkdir = mkdir -p\n" ); fprintf ( fMakefile, "rm = rm -f\n" ); fprintf ( fMakefile, "gcc = mingw32-gcc\n" ); fprintf ( fMakefile, "gpp = mingw32-g++\n" ); @@ -235,7 +238,54 @@ fprintf ( fMakefile, "\n\t\n\n" ); } +string +MingwBackend::GetBuildToolDependencies () const +{ + string dependencies; + for ( size_t i = 0; i < ProjectNode.modules.size (); i++ ) + { + Module& module = *ProjectNode.modules[i]; + if ( module.type == BuildTool ) + { + if ( dependencies.length () > 0 ) + dependencies += " "; + dependencies += module.GetDependencyPath (); + } + } + return dependencies; +} + void +MingwBackend::GenerateInitTarget () const +{ + fprintf ( fMakefile, + "init:"); + fprintf ( fMakefile, + " $(ROS_INTERMEDIATE)." SSEP "tools" ); + fprintf ( fMakefile, + " %s", + GetBuildToolDependencies ().c_str () ); + fprintf ( fMakefile, + " %s", + "include" SSEP "reactos" SSEP "buildno.h" ); + fprintf ( fMakefile, + "\n\t\n\n" ); + + fprintf ( fMakefile, + "$(ROS_INTERMEDIATE)." SSEP "tools:\n" ); + fprintf ( fMakefile, + "ifneq ($(ROS_INTERMEDIATE),)\n" ); + fprintf ( fMakefile, + "\t${nmkdir} $(ROS_INTERMEDIATE)\n" ); + fprintf ( fMakefile, + "endif\n" ); + fprintf ( fMakefile, + "\t${nmkdir} $(ROS_INTERMEDIATE)." SSEP "tools\n" ); + fprintf ( fMakefile, + "\n" ); +} + +void MingwBackend::CheckAutomaticDependencies () { AutomaticDependency automaticDependency ( ProjectNode ); _____ Modified: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.h --- branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.h 2005-02-11 17:04:30 UTC (rev 13495) +++ branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.h 2005-02-11 19:13:01 UTC (rev 13496) @@ -28,6 +28,8 @@ void GenerateGlobalVariables () const; bool IncludeInAllTarget ( const Module& module ) const; void GenerateAllTarget () const; + std::string GetBuildToolDependencies () const; + void GenerateInitTarget () const; void CheckAutomaticDependencies (); FILE* fMakefile; }; _____ Modified: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler .cpp --- branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler .cpp 2005-02-11 17:04:30 UTC (rev 13495) +++ branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler .cpp 2005-02-11 19:13:01 UTC (rev 13496) @@ -257,6 +257,15 @@ return objectFilenames; } +bool +MingwModuleHandler::IncludeDirectoryTarget ( const string& directory ) const +{ + if ( directory == "$(ROS_INTERMEDIATE)." SSEP "tools") + return false; + else + return true; +} + void MingwModuleHandler::GenerateDirectoryTargets () const { @@ -270,7 +279,12 @@ i != directory_set.end (); i++ ) { - fprintf ( fMakefile, " %s", i->c_str () ); + if ( IncludeDirectoryTarget ( *i ) ) + { + fprintf ( fMakefile, + " %s", + i->c_str () ); + } } fprintf ( fMakefile, "\n\n" ); @@ -279,7 +293,12 @@ i != directory_set.end (); i++ ) { - fprintf ( fMakefile, "%s ", i->c_str () ); + if ( IncludeDirectoryTarget ( *i ) ) + { + fprintf ( fMakefile, + "%s ", + i->c_str () ); + } } fprintf ( fMakefile, @@ -1069,40 +1088,6 @@ return dependencies; } -string -MingwModuleHandler::GetInvocationParameters ( const Invoke& invoke ) const -{ - string parameters ( "" ); - size_t i; - for (i = 0; i < invoke.output.size (); i++) - { - if (parameters.length () > 0) - parameters += " "; - InvokeFile& invokeFile = *invoke.output[i]; - if (invokeFile.switches.length () > 0) - { - parameters += invokeFile.switches; - parameters += " "; - } - parameters += invokeFile.name; - } - - for (i = 0; i < invoke.input.size (); i++) - { - if (parameters.length () > 0) - parameters += " "; - InvokeFile& invokeFile = *invoke.input[i]; - if (invokeFile.switches.length () > 0) - { - parameters += invokeFile.switches; - parameters += " "; - } - parameters += invokeFile.name ; - } - - return parameters; -} - void MingwModuleHandler::GenerateInvocations ( const Module& module ) const { @@ -1134,7 +1119,7 @@ fprintf ( fMakefile, "\t%s %s\n\n", FixupTargetFilename ( invoke.invokeModule->GetPath () ).c_str (), - GetInvocationParameters ( invoke ).c_str () ); + invoke.GetParameters ().c_str () ); } } @@ -1145,19 +1130,37 @@ module.name.c_str () ); } +string +MingwModuleHandler::GetDefaultDependencies ( const Module& module ) const +{ + /* Avoid circular dependency */ + if ( module.type == BuildTool || module.name == "zlib" ) + return "$(ROS_INTERMEDIATE)." SSEP "tools $(ROS_INTERMEDIATE)." SSEP "lib" SSEP "zlib"; + else + return "init"; +} + void MingwModuleHandler::GeneratePreconditionDependencies ( const Module& module ) const { string preconditionDependenciesName = GetPreconditionDependenciesName ( module ); string sourceFilenames = GetSourceFilenamesWithoutGeneratedFiles ( module ); - string dependencies = GetModuleDependencies ( module ); - string s = GetInvocationDependencies ( module ); + string dependencies = GetDefaultDependencies ( module ); + string s = GetModuleDependencies ( module ); if ( s.length () > 0 ) { if ( dependencies.length () > 0 ) dependencies += " "; dependencies += s; } + + s = GetInvocationDependencies ( module ); + if ( s.length () > 0 ) + { + if ( dependencies.length () > 0 ) + dependencies += " "; + dependencies += s; + } fprintf ( fMakefile, ".PHONY: %s\n\n", @@ -1223,6 +1226,9 @@ MingwModuleHandler::GetDefinitionDependencies ( const Module& module ) const { string dependencies; + string dkNkmLibNoFixup = "dk/nkm/lib"; + dependencies += FixupTargetFilename ( dkNkmLibNoFixup ); + PassThruCacheDirectory ( dkNkmLibNoFixup + SSEP ); for ( size_t i = 0; i < module.files.size (); i++ ) { File& file = *module.files[i]; _____ Modified: branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler .h --- branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler .h 2005-02-11 17:04:30 UTC (rev 13495) +++ branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler .h 2005-02-11 19:13:01 UTC (rev 13496) @@ -21,6 +21,7 @@ static MingwModuleHandler* LookupHandler ( const std::string& location, ModuleType moduletype_ ); virtual void Process ( const Module& module ) = 0; + bool IncludeDirectoryTarget ( const std::string& directory ) const; void GenerateDirectoryTargets () const; static std::string GetObjectFilename ( const std::string& sourceFilename ); protected: @@ -46,7 +47,6 @@ const std::string* cflags, const std::string* nasmflags ) const; std::string GetInvocationDependencies ( const Module& module ) const; - std::string GetInvocationParameters ( const Invoke& invoke ) const; void GenerateInvocations ( const Module& module ) const; std::string GetPreconditionDependenciesName ( const Module& module ) const; @@ -149,6 +149,7 @@ const std::string* clags, const std::string* nasmflags ) const; std::string GetSpecObjectDependencies ( const std::string& filename ) const; + std::string GetDefaultDependencies ( const Module& module ) const; }; _____ Modified: branches/xmlbuildsystem/reactos/tools/rbuild/exception.cpp --- branches/xmlbuildsystem/reactos/tools/rbuild/exception.cpp 2005-02-11 17:04:30 UTC (rev 13495) +++ branches/xmlbuildsystem/reactos/tools/rbuild/exception.cpp 2005-02-11 19:13:01 UTC (rev 13496) @@ -33,6 +33,12 @@ } +OutOfMemoryException::OutOfMemoryException () + : Exception ( "Out of memory" ) +{ +} + + InvalidOperationException::InvalidOperationException ( const char* filename, const int linenumber ) { @@ -147,6 +153,7 @@ { } + UnknownModuleTypeException::UnknownModuleTypeException ( const string& location, int moduletype ) : InvalidBuildFileException ( location, @@ -154,3 +161,14 @@ moduletype ) { } + + +InvocationFailedException::InvocationFailedException ( const std::string& command, + int exitcode ) + : Exception ( "Failed to execute '%s' (exit code %d)", + command.c_str (), + exitcode ) +{ + Command = command; + ExitCode = exitcode; +} _____ Modified: branches/xmlbuildsystem/reactos/tools/rbuild/exception.h --- branches/xmlbuildsystem/reactos/tools/rbuild/exception.h 2005-02-11 17:04:30 UTC (rev 13495) +++ branches/xmlbuildsystem/reactos/tools/rbuild/exception.h 2005-02-11 19:13:01 UTC (rev 13496) @@ -29,6 +29,13 @@ }; +class OutOfMemoryException : public Exception +{ +public: + OutOfMemoryException (); +}; + + class FileNotFoundException : public Exception { public: @@ -105,4 +112,14 @@ int moduletype ); }; + +class InvocationFailedException : public Exception +{ +public: + InvocationFailedException ( const std::string& command, + int exitcode ); + std::string Command; + int ExitCode; +}; + #endif /* __EXCEPTION_H */ _____ Modified: branches/xmlbuildsystem/reactos/tools/rbuild/module.cpp --- branches/xmlbuildsystem/reactos/tools/rbuild/module.cpp 2005-02-11 17:04:30 UTC (rev 13495) +++ branches/xmlbuildsystem/reactos/tools/rbuild/module.cpp 2005-02-11 19:13:01 UTC (rev 13496) @@ -451,7 +451,22 @@ return false; } +void +Module::InvokeModule () const +{ + for ( size_t i = 0; i < invocations.size (); i++ ) + { + Invoke& invoke = *invocations[i]; + string command = invoke.invokeModule->GetPath () + " " + invoke.GetParameters (); + printf ( "Executing '%s'\n\n", command.c_str () ); + int exitcode = system ( command.c_str () ); + if ( exitcode != 0 ) + throw InvocationFailedException ( command, + exitcode ); + } +} + File::File ( const string& _name, bool _first ) : name(_name), first(_first) { @@ -581,7 +596,41 @@ return targets; } +string +Invoke::GetParameters () const +{ + string parameters ( "" ); + size_t i; + for ( i = 0; i < output.size (); i++ ) + { + if ( parameters.length () > 0) + parameters += " "; + InvokeFile& invokeFile = *output[i]; + if ( invokeFile.switches.length () > 0 ) + { + parameters += invokeFile.switches; + parameters += " "; + } + parameters += invokeFile.name; + } + for ( i = 0; i < input.size (); i++ ) + { + if ( parameters.length () > 0 ) + parameters += " "; + InvokeFile& invokeFile = *input[i]; + if ( invokeFile.switches.length () > 0 ) + { + parameters += invokeFile.switches; + parameters += " "; + } + parameters += invokeFile.name ; + } + + return parameters; +} + + InvokeFile::InvokeFile ( const XMLElement& _node, const string& _name ) : node (_node), _____ Modified: branches/xmlbuildsystem/reactos/tools/rbuild/project.cpp --- branches/xmlbuildsystem/reactos/tools/rbuild/project.cpp 2005-02-11 17:04:30 UTC (rev 13495) +++ branches/xmlbuildsystem/reactos/tools/rbuild/project.cpp 2005-02-11 19:13:01 UTC (rev 13496) @@ -7,15 +7,10 @@ using std::string; using std::vector; -/*Project::Project() - : node(NULL), head(NULL) -{ -}*/ - Project::Project ( const string& filename ) - : xmlfile(filename), - node(NULL), - head(NULL) + : xmlfile (filename), + node (NULL), + head (NULL) { ReadXml(); } @@ -25,26 +20,170 @@ size_t i; for ( i = 0; i < modules.size (); i++ ) delete modules[i]; - for ( i = 0; i < includes.size(); i++ ) + for ( i = 0; i < includes.size (); i++ ) delete includes[i]; - for ( i = 0; i < defines.size(); i++ ) + for ( i = 0; i < defines.size (); i++ ) delete defines[i]; - for ( i = 0; i < linkerFlags.size(); i++ ) + for ( i = 0; i < linkerFlags.size (); i++ ) delete linkerFlags[i]; - for ( i = 0; i < properties.size(); i++ ) + for ( i = 0; i < properties.size (); i++ ) delete properties[i]; - for ( i = 0; i < ifs.size(); i++ ) + for ( i = 0; i < ifs.size (); i++ ) delete ifs[i]; delete head; } +const Property* +Project::LookupProperty ( const string& name ) const +{ + for ( size_t i = 0; i < properties.size (); i++ ) + { + const Property* property = properties[i]; + if ( property->name == name ) + return property; + } + return NULL; +} + void -Project::ReadXml() +Project::WriteIfChanged ( char* outbuf, + string filename ) { + FILE* out; + unsigned int end; + char* cmpbuf; + unsigned int stat; + + out = fopen ( filename.c_str (), "rb" ); + if ( out == NULL ) + { + out = fopen ( filename.c_str (), "wb" ); + if ( out == NULL ) + throw AccessDeniedException ( filename ); + fputs ( outbuf, out ); + fclose ( out ); + return; + } + + fseek ( out, 0, SEEK_END ); + end = ftell ( out ); + cmpbuf = (char*) malloc ( end ); + if ( cmpbuf == NULL ) + { + fclose ( out ); + throw OutOfMemoryException (); + } + + fseek ( out, 0, SEEK_SET ); + stat = fread ( cmpbuf, 1, end, out ); + if ( stat != end ) + { + free ( cmpbuf ); + fclose ( out ); + throw AccessDeniedException ( filename ); + } + if ( end == strlen ( outbuf ) && memcmp ( cmpbuf, outbuf, end ) == 0 ) + { + free ( cmpbuf ); + fclose ( out ); + return; + } + + free ( cmpbuf ); + fclose ( out ); + out = fopen ( filename.c_str (), "wb" ); + if ( out == NULL ) + { + throw AccessDeniedException ( filename ); + } + + stat = fwrite ( outbuf, 1, strlen ( outbuf ), out); + if ( strlen ( outbuf ) != stat ) + { + fclose ( out ); + throw AccessDeniedException ( filename ); + } + + fclose ( out ); +} + +void +Project::SetConfigurationOption ( char* s, + string name, + string* alternativeName ) +{ + const Property* property = LookupProperty ( name ); + if ( property != NULL && property->value.length () > 0 ) + { + s = s + sprintf ( s, + "#define %s=%s\n", + property->name.c_str (), + property->value.c_str () ); + } + else if ( property != NULL ) + { + s = s + sprintf ( s, + "#define %s\n", + property->name.c_str () ); + } + else if ( alternativeName != NULL ) + { + s = s + sprintf ( s, + "#define %s\n", + alternativeName->c_str () ); + } +} + +void +Project::SetConfigurationOption ( char* s, + string name ) +{ + SetConfigurationOption ( s, name, NULL ); +} + +void +Project::WriteConfigurationFile () +{ + char* buf; + char* s; + + buf = (char*) malloc ( 10*1024 ); + if ( buf == NULL ) + throw OutOfMemoryException (); + + s = buf; + s = s + sprintf ( s, "/* Automatically generated. " ); + s = s + sprintf ( s, "Edit config.xml to change configuration */\n" ); + s = s + sprintf ( s, "#ifndef __INCLUDE_CONFIG_H\n" ); + s = s + sprintf ( s, "#define __INCLUDE_CONFIG_H\n" ); + + SetConfigurationOption ( s, "ARCH" ); + SetConfigurationOption ( s, "OPTIMIZED" ); + SetConfigurationOption ( s, "MP", new string ( "UP" ) ); + SetConfigurationOption ( s, "ACPI" ); + SetConfigurationOption ( s, "_3GB" ); + + s = s + sprintf ( s, "#endif /* __INCLUDE_CONFIG_H */\n" ); + + WriteIfChanged ( buf, "include" SSEP "roscfg.h" ); + + free ( buf ); +} + +void +Project::ExecuteInvocations () +{ + for ( size_t i = 0; i < modules.size (); i++ ) + modules[i]->InvokeModule (); +} + +void +Project::ReadXml () +{ Path path; head = XMLLoadFile ( xmlfile, path ); node = NULL; - for ( size_t i = 0; i < head->subElements.size(); i++ ) + for ( size_t i = 0; i < head->subElements.size (); i++ ) { if ( head->subElements[i]->name == "project" ) { @@ -189,7 +328,7 @@ { for ( size_t i = 0; i < modules.size (); i++ ) { - if (modules[i]->name == name) + if ( modules[i]->name == name ) return modules[i]; } _____ Modified: branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.cpp --- branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.cpp 2005-02-11 17:04:30 UTC (rev 13495) +++ branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.cpp 2005-02-11 19:13:01 UTC (rev 13496) @@ -30,6 +30,8 @@ { string projectFilename ( "ReactOS.xml" ); Project project ( projectFilename ); + project.WriteConfigurationFile (); + project.ExecuteInvocations (); Backend* backend = Backend::Factory::Create ( buildtarget, project ); backend->Process (); _____ Modified: branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.h --- branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.h 2005-02-11 17:04:30 UTC (rev 13495) +++ branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.h 2005-02-11 19:13:01 UTC (rev 13496) @@ -13,6 +13,7 @@ #include <sys/utime.h> #else #include <utime.h> +#include <process.h> #endif #include "ssprintf.h" @@ -67,10 +68,20 @@ Project ( const std::string& filename ); ~Project (); + void WriteConfigurationFile (); + void ExecuteInvocations (); void ProcessXML ( const std::string& path ); Module* LocateModule ( const std::string& name ); const Module* LocateModule ( const std::string& name ) const; private: + const Property* LookupProperty ( const std::string& name ) const; + void SetConfigurationOption ( char* s, + std::string name, + std::string* alternativeName ); + void SetConfigurationOption ( char* s, + std::string name ); + void WriteIfChanged ( char* outbuf, + std::string filename ); void ReadXml (); void ProcessXMLSubElement ( const XMLElement& e, const std::string& path, @@ -139,7 +150,8 @@ std::string GetInvocationTarget ( const int index ) const; bool HasFileWithExtensions ( const std::string& extension1, const std::string& extension2 ) const; - void ProcessXML(); + void InvokeModule () const; + void ProcessXML (); private: std::string GetDefaultModuleExtension () const; std::string GetDefaultModuleEntrypoint () const; @@ -232,6 +244,7 @@ void ProcessXML(); std::string GetTargets () const; + std::string GetParameters () const; private: void ProcessXMLSubElement ( const XMLElement& e ); void ProcessXMLSubElementInput ( const XMLElement& e );
19 years, 10 months
1
0
0
0
[ekohl] 13494: Ooops! These are the correct exports.
by ekohl@svn.reactos.com
Ooops! These are the correct exports. Modified: trunk/reactos/lib/advapi32/advapi32.def _____ Modified: trunk/reactos/lib/advapi32/advapi32.def --- trunk/reactos/lib/advapi32/advapi32.def 2005-02-11 15:52:38 UTC (rev 13493) +++ trunk/reactos/lib/advapi32/advapi32.def 2005-02-11 16:01:10 UTC (rev 13494) @@ -54,7 +54,7 @@ ConvertSidToStringSidA@8 ConvertSidToStringSidW@8 CopySid@12 -CreatePrivateObjectSecurity@24 +;CreatePrivateObjectSecurity@24 CreateProcessAsUserA@44 CreateProcessAsUserW@44 CreateServiceA@52 @@ -93,7 +93,7 @@ ;DenyAccessRightsA ;DenyAccessRightsW DeregisterEventSource@4 -DestroyPrivateObjectSecurity@4 +;DestroyPrivateObjectSecurity@4 DuplicateToken@12 DuplicateTokenEx@24 ;ElfBackupEventLogFileA@8 @@ -157,12 +157,13 @@ GetNamedSecurityInfoW@32 GetNumberOfEventLogRecords@8 GetOldestEventLogRecord@8 -GetPrivateObjectSecurity@20 +;GetPrivateObjectSecurity@20 GetSecurityDescriptorControl@12 GetSecurityDescriptorDacl@16 GetSecurityDescriptorGroup@12 GetSecurityDescriptorLength@4 GetSecurityDescriptorOwner@12 +GetSecurityDescriptorRMControl@8 GetSecurityDescriptorSacl@16 GetSecurityInfo@32 GetSecurityInfoExA@36 @@ -379,11 +380,12 @@ SetKernelObjectSecurity@12 SetNamedSecurityInfoA@28 SetNamedSecurityInfoW@28 -SetPrivateObjectSecurity@20 +;SetPrivateObjectSecurity@20 SetSecurityDescriptorControl@12 SetSecurityDescriptorDacl@16 SetSecurityDescriptorGroup@12 SetSecurityDescriptorOwner@12 +SetSecurityDescriptorRMControl@8 SetSecurityDescriptorSacl@16 SetSecurityInfo@28 SetServiceBits@16
19 years, 10 months
1
0
0
0
[ekohl] 13493: Implement RtlGetSecurityDescriptorRMControl, RtlSetSecurityDescriptorRMControl, SetSecurityDescriptorControl, GetSecurityDescriptorRMControl and SetSecurityDescriptorRMControl.
by ekohl@svn.reactos.com
Implement RtlGetSecurityDescriptorRMControl, RtlSetSecurityDescriptorRMControl, SetSecurityDescriptorControl, GetSecurityDescriptorRMControl and SetSecurityDescriptorRMControl. Modified: trunk/reactos/include/ddk/setypes.h Modified: trunk/reactos/include/ntos/rtl.h Modified: trunk/reactos/include/ntos/security.h Modified: trunk/reactos/lib/advapi32/advapi32.def Modified: trunk/reactos/lib/advapi32/sec/sec.c Modified: trunk/reactos/lib/ntdll/def/ntdll.def Modified: trunk/reactos/lib/rtl/sd.c Modified: trunk/reactos/w32api/include/winbase.h _____ Modified: trunk/reactos/include/ddk/setypes.h --- trunk/reactos/include/ddk/setypes.h 2005-02-11 12:06:29 UTC (rev 13492) +++ trunk/reactos/include/ddk/setypes.h 2005-02-11 15:52:38 UTC (rev 13493) @@ -50,22 +50,23 @@ #define FAILED_ACCESS_ACE_FLAG (0x80) /* SECURITY_DESCRIPTOR_CONTROL */ -#define SECURITY_DESCRIPTOR_REVISION (1) -#define SECURITY_DESCRIPTOR_REVISION1 (1) -#define SECURITY_DESCRIPTOR_MIN_LENGTH (20) -#define SE_OWNER_DEFAULTED (1) -#define SE_GROUP_DEFAULTED (2) -#define SE_DACL_PRESENT (4) -#define SE_DACL_DEFAULTED (8) -#define SE_SACL_PRESENT (16) -#define SE_SACL_DEFAULTED (32) -#define SE_SELF_RELATIVE (32768) +#define SECURITY_DESCRIPTOR_REVISION (1) +#define SECURITY_DESCRIPTOR_REVISION1 (1) +#define SECURITY_DESCRIPTOR_MIN_LENGTH (20) +#define SE_OWNER_DEFAULTED (0x0001) +#define SE_GROUP_DEFAULTED (0x0002) +#define SE_DACL_PRESENT (0x0004) +#define SE_DACL_DEFAULTED (0x0008) +#define SE_SACL_PRESENT (0x0010) +#define SE_SACL_DEFAULTED (0x0020) +#define SE_RM_CONTROL_VALID (0x4000) +#define SE_SELF_RELATIVE (0x8000) /* PRIVILEGE_SET */ -#define SE_PRIVILEGE_ENABLED_BY_DEFAULT (0x1L) -#define SE_PRIVILEGE_ENABLED (0x2L) -#define SE_PRIVILEGE_USED_FOR_ACCESS (0x80000000L) -#define PRIVILEGE_SET_ALL_NECESSARY (0x1) +#define SE_PRIVILEGE_ENABLED_BY_DEFAULT (0x1L) +#define SE_PRIVILEGE_ENABLED (0x2L) +#define SE_PRIVILEGE_USED_FOR_ACCESS (0x80000000L) +#define PRIVILEGE_SET_ALL_NECESSARY (0x1) /* SID */ #define SID_REVISION (1) _____ Modified: trunk/reactos/include/ntos/rtl.h --- trunk/reactos/include/ntos/rtl.h 2005-02-11 12:06:29 UTC (rev 13492) +++ trunk/reactos/include/ntos/rtl.h 2005-02-11 15:52:38 UTC (rev 13493) @@ -1337,6 +1337,10 @@ PACL* Sacl, PBOOLEAN SaclDefaulted); +BOOLEAN STDCALL +RtlGetSecurityDescriptorRMControl(PSECURITY_DESCRIPTOR SecurityDescriptor, + PUCHAR RMControl); + NTSTATUS STDCALL RtlGetSetBootStatusData( @@ -2321,6 +2325,10 @@ PACL Sacl, BOOLEAN SaclDefaulted); +VOID STDCALL +RtlSetSecurityDescriptorRMControl(PSECURITY_DESCRIPTOR SecurityDescriptor, + PUCHAR RMControl); + NTSTATUS STDCALL RtlSetInformationAcl (PACL Acl, PVOID Information, _____ Modified: trunk/reactos/include/ntos/security.h --- trunk/reactos/include/ntos/security.h 2005-02-11 12:06:29 UTC (rev 13492) +++ trunk/reactos/include/ntos/security.h 2005-02-11 15:52:38 UTC (rev 13493) @@ -36,13 +36,14 @@ /* Security descriptor control. */ #define SECURITY_DESCRIPTOR_REVISION (1) #define SECURITY_DESCRIPTOR_MIN_LENGTH (20) -#define SE_OWNER_DEFAULTED (1) -#define SE_GROUP_DEFAULTED (2) -#define SE_DACL_PRESENT (4) -#define SE_DACL_DEFAULTED (8) -#define SE_SACL_PRESENT (16) -#define SE_SACL_DEFAULTED (32) -#define SE_SELF_RELATIVE (32768) +#define SE_OWNER_DEFAULTED (0x0001) +#define SE_GROUP_DEFAULTED (0x0002) +#define SE_DACL_PRESENT (0x0004) +#define SE_DACL_DEFAULTED (0x0008) +#define SE_SACL_PRESENT (0x0010) +#define SE_SACL_DEFAULTED (0x0020) +#define SE_RM_CONTROL_VALID (0x4000) +#define SE_SELF_RELATIVE (0x8000) #endif /* This is defined in the Win 32 API headers as something else: */ _____ Modified: trunk/reactos/lib/advapi32/advapi32.def --- trunk/reactos/lib/advapi32/advapi32.def 2005-02-11 12:06:29 UTC (rev 13492) +++ trunk/reactos/lib/advapi32/advapi32.def 2005-02-11 15:52:38 UTC (rev 13493) @@ -54,7 +54,7 @@ ConvertSidToStringSidA@8 ConvertSidToStringSidW@8 CopySid@12 -;CreatePrivateObjectSecurity@24 +CreatePrivateObjectSecurity@24 CreateProcessAsUserA@44 CreateProcessAsUserW@44 CreateServiceA@52 @@ -93,7 +93,7 @@ ;DenyAccessRightsA ;DenyAccessRightsW DeregisterEventSource@4 -;DestroyPrivateObjectSecurity@4 +DestroyPrivateObjectSecurity@4 DuplicateToken@12 DuplicateTokenEx@24 ;ElfBackupEventLogFileA@8 @@ -157,7 +157,7 @@ GetNamedSecurityInfoW@32 GetNumberOfEventLogRecords@8 GetOldestEventLogRecord@8 -;GetPrivateObjectSecurity@20 +GetPrivateObjectSecurity@20 GetSecurityDescriptorControl@12 GetSecurityDescriptorDacl@16 GetSecurityDescriptorGroup@12 @@ -379,7 +379,8 @@ SetKernelObjectSecurity@12 SetNamedSecurityInfoA@28 SetNamedSecurityInfoW@28 -;SetPrivateObjectSecurity@20 +SetPrivateObjectSecurity@20 +SetSecurityDescriptorControl@12 SetSecurityDescriptorDacl@16 SetSecurityDescriptorGroup@12 SetSecurityDescriptorOwner@12 _____ Modified: trunk/reactos/lib/advapi32/sec/sec.c --- trunk/reactos/lib/advapi32/sec/sec.c 2005-02-11 12:06:29 UTC (rev 13492) +++ trunk/reactos/lib/advapi32/sec/sec.c 2005-02-11 15:52:38 UTC (rev 13493) @@ -124,7 +124,7 @@ PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID *pOwner, LPBOOL lpbOwnerDefaulted -) + ) { BOOLEAN OwnerDefaulted; NTSTATUS Status; @@ -147,6 +147,23 @@ /* * @implemented */ +DWORD +STDCALL +GetSecurityDescriptorRMControl ( + PSECURITY_DESCRIPTOR SecurityDescriptor, + PUCHAR RMControl) +{ + if (!RtlGetSecurityDescriptorRMControl(SecurityDescriptor, + RMControl)) + return ERROR_INVALID_DATA; + + return ERROR_SUCCESS; +} + + +/* + * @implemented + */ BOOL STDCALL GetSecurityDescriptorSacl ( @@ -293,6 +310,31 @@ */ BOOL STDCALL +SetSecurityDescriptorControl ( + PSECURITY_DESCRIPTOR pSecurityDescriptor, + SECURITY_DESCRIPTOR_CONTROL ControlBitsOfInterest, + SECURITY_DESCRIPTOR_CONTROL ControlBitsToSet) +{ + NTSTATUS Status; + + Status = RtlSetControlSecurityDescriptor(pSecurityDescriptor, + ControlBitsOfInterest, + ControlBitsToSet); + if (!NT_SUCCESS(Status)) + { + SetLastError (RtlNtStatusToDosError (Status)); + return FALSE; + } + + return TRUE; +} + + +/* + * @implemented + */ +BOOL +STDCALL SetSecurityDescriptorDacl ( PSECURITY_DESCRIPTOR pSecurityDescriptor, BOOL bDaclPresent, @@ -371,6 +413,22 @@ /* * @implemented */ +DWORD +STDCALL +SetSecurityDescriptorRMControl ( + PSECURITY_DESCRIPTOR SecurityDescriptor, + PUCHAR RMControl) +{ + RtlSetSecurityDescriptorRMControl(SecurityDescriptor, + RMControl); + + return ERROR_SUCCESS; +} + + +/* + * @implemented + */ BOOL STDCALL SetSecurityDescriptorSacl ( _____ Modified: trunk/reactos/lib/ntdll/def/ntdll.def --- trunk/reactos/lib/ntdll/def/ntdll.def 2005-02-11 12:06:29 UTC (rev 13492) +++ trunk/reactos/lib/ntdll/def/ntdll.def 2005-02-11 15:52:38 UTC (rev 13493) @@ -369,8 +369,6 @@ RtlDeleteAce@8 RtlDeleteAtomFromAtomTable@8 RtlDeleteCriticalSection@4 -RtlDuplicateUnicodeString@12 -RtlSetCriticalSectionSpinCount@8 ;RtlDeleteElementGenericTable ;RtlDeleteNoSplay RtlDeleteOwnersRanges@8 @@ -394,6 +392,7 @@ RtlDowncaseUnicodeChar@4 RtlDowncaseUnicodeString@12 RtlDumpResource@4 +RtlDuplicateUnicodeString@12 RtlEmptyAtomTable@8 RtlEnlargedIntegerMultiply@8 RtlEnlargedUnsignedDivide@16 @@ -462,6 +461,7 @@ RtlGetOwnerSecurityDescriptor@12 RtlGetProcessHeaps@8 RtlGetSaclSecurityDescriptor@16 +RtlGetSecurityDescriptorRMControl@8 ;RtlGetUserInfoHeap RtlGetVersion@4 RtlIdentifierAuthoritySid@4 @@ -586,6 +586,7 @@ ;RtlSetAttributesSecurityDescriptor RtlSetBits@12 RtlSetControlSecurityDescriptor@12 +RtlSetCriticalSectionSpinCount@8 RtlSetCurrentDirectory_U@4 RtlSetCurrentEnvironment@8 RtlSetDaclSecurityDescriptor@16 @@ -594,6 +595,7 @@ RtlSetInformationAcl@16 RtlSetOwnerSecurityDescriptor@12 RtlSetSaclSecurityDescriptor@16 +RtlSetSecurityDescriptorRMControl@8 ;RtlSetSecurityObject RtlSetTimeZoneInformation@4 ;RtlSetUnicodeCallouts _____ Modified: trunk/reactos/lib/rtl/sd.c --- trunk/reactos/lib/rtl/sd.c 2005-02-11 12:06:29 UTC (rev 13492) +++ trunk/reactos/lib/rtl/sd.c 2005-02-11 15:52:38 UTC (rev 13493) @@ -789,8 +789,8 @@ /* -* @unimplemented -*/ + * @unimplemented + */ NTSTATUS STDCALL RtlSelfRelativeToAbsoluteSD2(PSECURITY_DESCRIPTOR SelfRelativeSecurityDescriptor, PULONG BufferSize) @@ -870,4 +870,43 @@ return TRUE; } + +/* + * @implemented + */ +BOOLEAN STDCALL +RtlGetSecurityDescriptorRMControl(PSECURITY_DESCRIPTOR SecurityDescriptor, + PUCHAR RMControl) +{ + if (!(SecurityDescriptor->Control & SE_RM_CONTROL_VALID)) + { + *RMControl = 0; + return FALSE; + } + + *RMControl = SecurityDescriptor->Sbz1; + + return TRUE; +} + + +/* + * @implemented + */ +VOID STDCALL +RtlSetSecurityDescriptorRMControl(PSECURITY_DESCRIPTOR SecurityDescriptor, + PUCHAR RMControl) +{ + if (RMControl == NULL) + { + SecurityDescriptor->Control &= ~SE_RM_CONTROL_VALID; + SecurityDescriptor->Sbz1 = 0; + } + else + { + SecurityDescriptor->Control |= SE_RM_CONTROL_VALID; + SecurityDescriptor->Sbz1 = *RMControl; + } +} + /* EOF */ _____ Modified: trunk/reactos/w32api/include/winbase.h --- trunk/reactos/w32api/include/winbase.h 2005-02-11 12:06:29 UTC (rev 13492) +++ trunk/reactos/w32api/include/winbase.h 2005-02-11 15:52:38 UTC (rev 13493) @@ -1457,6 +1457,7 @@ BOOL WINAPI GetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID*,LPBOOL); DWORD WINAPI GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR); BOOL WINAPI GetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID*,LPBOOL); +DWORD WINAPI GetSecurityDescriptorRMControl(PSECURITY_DESCRIPTOR,PUCHAR); BOOL WINAPI GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL*,LPBOOL); DWORD WINAPI GetShortPathNameA(LPCSTR,LPSTR,DWORD); DWORD WINAPI GetShortPathNameW(LPCWSTR,LPWSTR,DWORD); @@ -1835,6 +1836,7 @@ BOOL WINAPI SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL); BOOL WINAPI SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID,BOOL); BOOL WINAPI SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID,BOOL); +DWORD WINAPI SetSecurityDescriptorRMControl(PSECURITY_DESCRIPTOR,PUCHAR); BOOL WINAPI SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL); BOOL WINAPI SetStdHandle(DWORD,HANDLE); #define SetSwapAreaSize(w) (w)
19 years, 10 months
1
0
0
0
[ekohl] 13492: - Implement RtlSetControlSecurityDescriptor
by ekohl@svn.reactos.com
- Implement RtlSetControlSecurityDescriptor - Remove property set functions from ntdll.def because they are not implemented in Win2K and above. Modified: trunk/reactos/include/ntos/rtl.h Modified: trunk/reactos/lib/ntdll/def/ntdll.def Modified: trunk/reactos/lib/rtl/sd.c _____ Modified: trunk/reactos/include/ntos/rtl.h --- trunk/reactos/include/ntos/rtl.h 2005-02-10 22:54:30 UTC (rev 13491) +++ trunk/reactos/include/ntos/rtl.h 2005-02-11 12:06:29 UTC (rev 13492) @@ -2295,6 +2295,11 @@ ); NTSTATUS STDCALL +RtlSetControlSecurityDescriptor(IN PSECURITY_DESCRIPTOR SecurityDescriptor, + IN SECURITY_DESCRIPTOR_CONTROL ControlBitsOfInterest, + IN SECURITY_DESCRIPTOR_CONTROL ControlBitsToSet); + +NTSTATUS STDCALL RtlSetDaclSecurityDescriptor (PSECURITY_DESCRIPTOR SecurityDescriptor, BOOLEAN DaclPresent, PACL Dacl, _____ Modified: trunk/reactos/lib/ntdll/def/ntdll.def --- trunk/reactos/lib/ntdll/def/ntdll.def 2005-02-10 22:54:30 UTC (rev 13491) +++ trunk/reactos/lib/ntdll/def/ntdll.def 2005-02-11 12:06:29 UTC (rev 13492) @@ -321,7 +321,6 @@ RtlCheckRegistryKey@8 RtlClearAllBits@4 RtlClearBits@12 -;RtlClosePropertySet RtlCompactHeap@8 RtlCompareMemory@12 RtlCompareMemoryUlong@12 @@ -350,7 +349,6 @@ RtlCreateEnvironment@8 RtlCreateHeap@24 RtlCreateProcessParameters@40 -;RtlCreatePropertySet RtlCreateQueryDebugBuffer@8 RtlCreateRegistryKey@8 RtlCreateSecurityDescriptor@8 @@ -404,7 +402,6 @@ RtlEnumProcessHeaps@8 ;RtlEnumerateGenericTable ;RtlEnumerateGenericTableWithoutSplaying -;RtlEnumerateProperties RtlEqualComputerName@8 RtlEqualDomainName@8 RtlEqualLuid@8 @@ -435,7 +432,6 @@ RtlFindSetBits@12 RtlFindSetBitsAndClear@12 RtlFirstFreeAce@8 -;RtlFlushPropertySet RtlFormatCurrentUserKeyPath@4 RtlFormatMessage@32 RtlFreeAnsiString@4 @@ -468,7 +464,6 @@ RtlGetSaclSecurityDescriptor@16 ;RtlGetUserInfoHeap RtlGetVersion@4 -;RtlGuidToPropertySetName RtlIdentifierAuthoritySid@4 RtlImageDirectoryEntryToData@16 RtlImageNtHeader@4 @@ -559,7 +554,6 @@ RtlPinAtomInAtomTable@8 RtlPrefixString@12 RtlPrefixUnicodeString@12 -;RtlPropertySetNameToGuid ;RtlProtectHeap RtlQueryAtomInAtomTable@24 RtlQueryEnvironmentVariable_U@12 @@ -568,9 +562,6 @@ RtlQueryProcessDebugInformation@12 ;RtlQueryProcessHeapInformation ;RtlQueryProcessLockInformation -;RtlQueryProperties -;RtlQueryPropertyNames -;RtlQueryPropertySet RtlQueryRegistryValues@20 ;RtlQuerySecurityObject ;RtlQueryTagHeap @@ -594,6 +585,7 @@ RtlSetAllBits@4 ;RtlSetAttributesSecurityDescriptor RtlSetBits@12 +RtlSetControlSecurityDescriptor@12 RtlSetCurrentDirectory_U@4 RtlSetCurrentEnvironment@8 RtlSetDaclSecurityDescriptor@16 @@ -601,9 +593,6 @@ RtlSetGroupSecurityDescriptor@12 RtlSetInformationAcl@16 RtlSetOwnerSecurityDescriptor@12 -;RtlSetProperties -;RtlSetPropertyNames -;RtlSetPropertySetClassId RtlSetSaclSecurityDescriptor@16 ;RtlSetSecurityObject RtlSetTimeZoneInformation@4 _____ Modified: trunk/reactos/lib/rtl/sd.c --- trunk/reactos/lib/rtl/sd.c 2005-02-10 22:54:30 UTC (rev 13491) +++ trunk/reactos/lib/rtl/sd.c 2005-02-11 12:06:29 UTC (rev 13492) @@ -40,6 +40,7 @@ return STATUS_SUCCESS; } + /* * @implemented */ @@ -278,9 +279,10 @@ SecurityDescriptor->Control = SecurityDescriptor->Control | SE_OWNER_DEFAULTED; } - return(STATUS_SUCCESS); + return STATUS_SUCCESS; } + /* * @implemented */ @@ -319,6 +321,7 @@ return STATUS_SUCCESS; } + /* * @implemented */ @@ -347,6 +350,7 @@ return STATUS_SUCCESS; } + /* * @implemented */ @@ -578,8 +582,7 @@ NTSTATUS STDCALL RtlAbsoluteToSelfRelativeSD(PSECURITY_DESCRIPTOR AbsSD, PSECURITY_DESCRIPTOR RelSD, - PULONG BufferLength - ) + PULONG BufferLength) { if (AbsSD->Control & SE_SELF_RELATIVE) { @@ -615,6 +618,29 @@ * @implemented */ NTSTATUS STDCALL +RtlSetControlSecurityDescriptor(IN PSECURITY_DESCRIPTOR SecurityDescriptor, + IN SECURITY_DESCRIPTOR_CONTROL ControlBitsOfInterest, + IN SECURITY_DESCRIPTOR_CONTROL ControlBitsToSet) +{ + if (SecurityDescriptor->Revision != SECURITY_DESCRIPTOR_REVISION1) + { + return STATUS_UNKNOWN_REVISION; + } + + /* Zero the 'bits of interest' */ + SecurityDescriptor->Control &= ~ControlBitsOfInterest; + + /* Set the 'bits to set' */ + SecurityDescriptor->Control |= (ControlBitsToSet & ControlBitsOfInterest); + + return STATUS_SUCCESS; +} + + +/* + * @implemented + */ +NTSTATUS STDCALL RtlGetSaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor, PBOOLEAN SaclPresent, PACL *Sacl, @@ -657,6 +683,7 @@ return STATUS_SUCCESS; } + /* * @implemented */ @@ -694,6 +721,7 @@ return STATUS_SUCCESS; } + /* * @implemented */ @@ -759,6 +787,7 @@ return STATUS_SUCCESS; } + /* * @unimplemented */ @@ -770,9 +799,10 @@ return STATUS_NOT_IMPLEMENTED; } + /* -* @implemented -*/ + * @implemented + */ BOOLEAN STDCALL RtlValidRelativeSecurityDescriptor(IN PSECURITY_DESCRIPTOR SecurityDescriptorInput, IN ULONG SecurityDescriptorLength,
19 years, 10 months
1
0
0
0
[gvg] 13491: Match packing in DDK
by gvg@svn.reactos.com
Match packing in DDK Modified: trunk/reactos/include/ddk/iotypes.h _____ Modified: trunk/reactos/include/ddk/iotypes.h --- trunk/reactos/include/ddk/iotypes.h 2005-02-10 22:08:39 UTC (rev 13490) +++ trunk/reactos/include/ddk/iotypes.h 2005-02-10 22:54:30 UTC (rev 13491) @@ -196,6 +196,8 @@ } CM_MCA_POS_DATA, *PCM_MCA_POS_DATA; +#include <pshpack1.h> + /* Int13 drive geometry data */ typedef struct _CM_INT13_DRIVE_PARAMETER @@ -207,7 +209,9 @@ USHORT NumberDrives; } CM_INT13_DRIVE_PARAMETER, *PCM_INT13_DRIVE_PARAMETER; +#include <poppack.h> + /* Extended drive geometry data */ typedef struct _CM_DISK_GEOMETRY_DEVICE_DATA
19 years, 10 months
1
0
0
0
[fireball] 13490: Deleted binaries, added ignore
by fireball@svn.reactos.com
Deleted binaries, added ignore Deleted: trunk/reactos/drivers/usb/cromwell/host/ohci.a Deleted: trunk/reactos/drivers/usb/cromwell/host/ohci.coff Deleted: trunk/reactos/drivers/usb/cromwell/host/ohci.map Deleted: trunk/reactos/drivers/usb/cromwell/host/ohci.nostrip.sys Deleted: trunk/reactos/drivers/usb/cromwell/host/ohci.sym Deleted: trunk/reactos/drivers/usb/cromwell/host/ohci.sys Property changes on: trunk/reactos/drivers/usb/cromwell/host ___________________________________________________________________ Name: svn:ignore + *.coff *.a *.d *.o *.sym *.sys *.map *.tmp _____ Deleted: trunk/reactos/drivers/usb/cromwell/host/ohci.a (Binary files differ) _____ Deleted: trunk/reactos/drivers/usb/cromwell/host/ohci.coff (Binary files differ) _____ Deleted: trunk/reactos/drivers/usb/cromwell/host/ohci.map --- trunk/reactos/drivers/usb/cromwell/host/ohci.map 2005-02-10 22:05:40 UTC (rev 13489) +++ trunk/reactos/drivers/usb/cromwell/host/ohci.map 2005-02-10 22:08:39 UTC (rev 13490) @@ -1,4524 +0,0 @@ - -ohci.nostrip.sys: file format pei-i386 - -Disassembly of section .text: - -00011000 <__end__>: - 11000: 55 push %ebp - 11001: 89 e5 mov %esp,%ebp - 11003: 83 ec 08 sub $0x8,%esp - 11006: 8b 45 08 mov 0x8(%ebp),%eax - 11009: 8b 40 04 mov 0x4(%eax),%eax - 1100c: 83 c0 48 add $0x48,%eax - 1100f: 8b 00 mov (%eax),%eax - 11011: 89 45 fc mov %eax,0xfffffffc(%ebp) - 11014: 83 7d fc ff cmpl $0xffffffff,0xfffffffc(%ebp) - 11018: 75 10 jne 1102a <__end__+0x2a> - 1101a: 83 ec 0c sub $0xc,%esp - 1101d: ff 75 08 pushl 0x8(%ebp) - 11020: e8 36 00 00 00 call 1105b <_disable> - 11025: 83 c4 10 add $0x10,%esp - 11028: eb 2c jmp 11056 <__end__+0x56> - 1102a: 8b 45 08 mov 0x8(%ebp),%eax - 1102d: 8b 80 30 02 00 00 mov 0x230(%eax),%eax - 11033: 83 e0 01 and $0x1,%eax - 11036: 85 c0 test %eax,%eax - 11038: 74 1c je 11056 <__end__+0x56> - 1103a: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 1103d: 25 00 e0 0f fc and $0xfc0fe000,%eax - 11042: 85 c0 test %eax,%eax - 11044: 74 10 je 11056 <__end__+0x56> - 11046: 8b 45 08 mov 0x8(%ebp),%eax - 11049: 8b 40 04 mov 0x4(%eax),%eax - 1104c: 83 c0 48 add $0x48,%eax - 1104f: 8b 00 mov (%eax),%eax - 11051: 89 45 fc mov %eax,0xfffffffc(%ebp) - 11054: eb e4 jmp 1103a <__end__+0x3a> - 11056: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 11059: c9 leave - 1105a: c3 ret - -0001105b <_disable>: - 1105b: 55 push %ebp - 1105c: 89 e5 mov %esp,%ebp - 1105e: 8b 45 08 mov 0x8(%ebp),%eax - 11061: c7 80 a4 01 00 00 01 movl $0x1,0x1a4(%eax) - 11068: 00 00 00 - 1106b: 8b 45 08 mov 0x8(%ebp),%eax - 1106e: c7 80 14 03 00 00 00 movl $0x0,0x314(%eax) - 11075: 00 00 00 - 11078: 5d pop %ebp - 11079: c3 ret - -0001107a <_roothub_portstatus>: - 1107a: 55 push %ebp - 1107b: 89 e5 mov %esp,%ebp - 1107d: 83 ec 04 sub $0x4,%esp - 11080: 8b 55 08 mov 0x8(%ebp),%edx - 11083: 8b 45 0c mov 0xc(%ebp),%eax - 11086: c1 e0 02 shl $0x2,%eax - 11089: 03 42 04 add 0x4(%edx),%eax - 1108c: 83 c0 54 add $0x54,%eax - 1108f: 8b 00 mov (%eax),%eax - 11091: 89 45 fc mov %eax,0xfffffffc(%ebp) - 11094: 83 7d fc ff cmpl $0xffffffff,0xfffffffc(%ebp) - 11098: 75 0d jne 110a7 <_roothub_portstatus+0x2d> - 1109a: ff 75 08 pushl 0x8(%ebp) - 1109d: e8 b9 ff ff ff call 1105b <_disable> - 110a2: 83 c4 04 add $0x4,%esp - 110a5: eb 32 jmp 110d9 <_roothub_portstatus+0x5f> - 110a7: 8b 45 08 mov 0x8(%ebp),%eax - 110aa: 8b 80 30 02 00 00 mov 0x230(%eax),%eax - 110b0: 83 e0 01 and $0x1,%eax - 110b3: 85 c0 test %eax,%eax - 110b5: 74 22 je 110d9 <_roothub_portstatus+0x5f> - 110b7: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 110ba: 25 e0 fc e0 ff and $0xffe0fce0,%eax - 110bf: 85 c0 test %eax,%eax - 110c1: 74 16 je 110d9 <_roothub_portstatus+0x5f> - 110c3: 8b 55 08 mov 0x8(%ebp),%edx - 110c6: 8b 45 0c mov 0xc(%ebp),%eax - 110c9: c1 e0 02 shl $0x2,%eax - 110cc: 03 42 04 add 0x4(%edx),%eax - 110cf: 83 c0 54 add $0x54,%eax - 110d2: 8b 00 mov (%eax),%eax - 110d4: 89 45 fc mov %eax,0xfffffffc(%ebp) - 110d7: eb de jmp 110b7 <_roothub_portstatus+0x3d> - 110d9: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 110dc: c9 leave - 110dd: c3 ret - -000110de <_ohci_hub_status_data>: - 110de: 55 push %ebp - 110df: 89 e5 mov %esp,%ebp - 110e1: 53 push %ebx - 110e2: 83 ec 24 sub $0x24,%esp - 110e5: 8b 45 08 mov 0x8(%ebp),%eax - 110e8: 89 45 f4 mov %eax,0xfffffff4(%ebp) - 110eb: 8b 45 f4 mov 0xfffffff4(%ebp),%eax - 110ee: 2d 34 02 00 00 sub $0x234,%eax - 110f3: 89 45 f8 mov %eax,0xfffffff8(%ebp) - 110f6: c7 45 ec 00 00 00 00 movl $0x0,0xffffffec(%ebp) - 110fd: c7 45 e8 01 00 00 00 movl $0x1,0xffffffe8(%ebp) - 11104: 83 ec 0c sub $0xc,%esp - 11107: ff 75 f8 pushl 0xfffffff8(%ebp) - 1110a: e8 f1 fe ff ff call 11000 <__end__> - 1110f: 83 c4 10 add $0x10,%esp - 11112: 25 ff 00 00 00 and $0xff,%eax - 11117: 89 45 f4 mov %eax,0xfffffff4(%ebp) - 1111a: 83 7d f4 0f cmpl $0xf,0xfffffff4(%ebp) - 1111e: 7e 24 jle 11144 <_ohci_hub_status_data+0x66> - 11120: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 11123: 83 b8 a4 01 00 00 00 cmpl $0x0,0x1a4(%eax) - 1112a: 74 0c je 11138 <_ohci_hub_status_data+0x5a> - 1112c: c7 45 e0 94 ff ff ff movl $0xffffff94,0xffffffe0(%ebp) - 11133: e9 d8 00 00 00 jmp 11210 <_ohci_hub_status_data+0x132> - 11138: c7 45 e0 00 00 00 00 movl $0x0,0xffffffe0(%ebp) - 1113f: e9 cc 00 00 00 jmp 11210 <_ohci_hub_status_data+0x132> - 11144: 83 ec 0c sub $0xc,%esp - 11147: ff 75 f8 pushl 0xfffffff8(%ebp) - 1114a: e8 c9 00 00 00 call 11218 <_roothub_status> - 1114f: 83 c4 10 add $0x10,%esp - 11152: 25 00 00 03 00 and $0x30000,%eax - 11157: 85 c0 test %eax,%eax - 11159: 74 0f je 1116a <_ohci_hub_status_data+0x8c> - 1115b: 8b 45 0c mov 0xc(%ebp),%eax - 1115e: c7 45 ec 01 00 00 00 movl $0x1,0xffffffec(%ebp) - 11165: c6 00 01 movb $0x1,(%eax) - 11168: eb 06 jmp 11170 <_ohci_hub_status_data+0x92> - 1116a: 8b 45 0c mov 0xc(%ebp),%eax - 1116d: c6 00 00 movb $0x0,(%eax) - 11170: 83 7d f4 07 cmpl $0x7,0xfffffff4(%ebp) - 11174: 7e 0c jle 11182 <_ohci_hub_status_data+0xa4> - 11176: 8b 45 0c mov 0xc(%ebp),%eax - 11179: 40 inc %eax - 1117a: c6 00 00 movb $0x0,(%eax) - 1117d: 8d 45 e8 lea 0xffffffe8(%ebp),%eax - 11180: ff 00 incl (%eax) - 11182: c7 45 f0 00 00 00 00 movl $0x0,0xfffffff0(%ebp) - 11189: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 1118c: 3b 45 f4 cmp 0xfffffff4(%ebp),%eax - 1118f: 7d 64 jge 111f5 <_ohci_hub_status_data+0x117> - 11191: ff 75 f0 pushl 0xfffffff0(%ebp) - 11194: ff 75 f8 pushl 0xfffffff8(%ebp) - 11197: e8 de fe ff ff call 1107a <_roothub_portstatus> - 1119c: 83 c4 08 add $0x8,%esp - 1119f: 89 45 e4 mov %eax,0xffffffe4(%ebp) - 111a2: 8d 45 e4 lea 0xffffffe4(%ebp),%eax - 111a5: 81 20 00 00 1f 00 andl $0x1f0000,(%eax) - 111ab: 83 7d e4 00 cmpl $0x0,0xffffffe4(%ebp) - 111af: 74 3d je 111ee <_ohci_hub_status_data+0x110> - 111b1: c7 45 ec 01 00 00 00 movl $0x1,0xffffffec(%ebp) - 111b8: 83 7d f0 06 cmpl $0x6,0xfffffff0(%ebp) - 111bc: 7f 17 jg 111d5 <_ohci_hub_status_data+0xf7> - 111be: 8b 5d 0c mov 0xc(%ebp),%ebx - 111c1: 8b 55 0c mov 0xc(%ebp),%edx - 111c4: 8b 4d f0 mov 0xfffffff0(%ebp),%ecx - 111c7: 41 inc %ecx - 111c8: b8 01 00 00 00 mov $0x1,%eax - 111cd: d3 e0 shl %cl,%eax - 111cf: 0a 02 or (%edx),%al - 111d1: 88 03 mov %al,(%ebx) - 111d3: eb 19 jmp 111ee <_ohci_hub_status_data+0x110> - 111d5: 8b 5d 0c mov 0xc(%ebp),%ebx - 111d8: 43 inc %ebx - 111d9: 8b 55 0c mov 0xc(%ebp),%edx - 111dc: 42 inc %edx - 111dd: 8b 4d f0 mov 0xfffffff0(%ebp),%ecx - 111e0: 83 e9 07 sub $0x7,%ecx - 111e3: b8 01 00 00 00 mov $0x1,%eax - 111e8: d3 e0 shl %cl,%eax - 111ea: 0a 02 or (%edx),%al - 111ec: 88 03 mov %al,(%ebx) - 111ee: 8d 45 f0 lea 0xfffffff0(%ebp),%eax - 111f1: ff 00 incl (%eax) - 111f3: eb 94 jmp 11189 <_ohci_hub_status_data+0xab> - 111f5: 83 7d ec 00 cmpl $0x0,0xffffffec(%ebp) - 111f9: 74 08 je 11203 <_ohci_hub_status_data+0x125> - 111fb: 8b 45 e8 mov 0xffffffe8(%ebp),%eax - 111fe: 89 45 dc mov %eax,0xffffffdc(%ebp) - 11201: eb 07 jmp 1120a <_ohci_hub_status_data+0x12c> - 11203: c7 45 dc 00 00 00 00 movl $0x0,0xffffffdc(%ebp) - 1120a: 8b 45 dc mov 0xffffffdc(%ebp),%eax - 1120d: 89 45 e0 mov %eax,0xffffffe0(%ebp) - 11210: 8b 45 e0 mov 0xffffffe0(%ebp),%eax - 11213: 8b 5d fc mov 0xfffffffc(%ebp),%ebx - 11216: c9 leave - 11217: c3 ret - -00011218 <_roothub_status>: - 11218: 55 push %ebp - 11219: 89 e5 mov %esp,%ebp - 1121b: 8b 45 08 mov 0x8(%ebp),%eax - 1121e: 8b 40 04 mov 0x4(%eax),%eax - 11221: 83 c0 50 add $0x50,%eax - 11224: 8b 00 mov (%eax),%eax - 11226: 5d pop %ebp - 11227: c3 ret - -00011228 <_ohci_hub_descriptor>: - 11228: 55 push %ebp - 11229: 89 e5 mov %esp,%ebp - 1122b: 83 ec 18 sub $0x18,%esp - 1122e: 83 ec 0c sub $0xc,%esp - 11231: ff 75 08 pushl 0x8(%ebp) - 11234: e8 c7 fd ff ff call 11000 <__end__> - 11239: 83 c4 10 add $0x10,%esp - 1123c: 89 45 fc mov %eax,0xfffffffc(%ebp) - 1123f: 0f b6 45 fc movzbl 0xfffffffc(%ebp),%eax - 11243: 89 45 f8 mov %eax,0xfffffff8(%ebp) - 11246: 8b 45 0c mov 0xc(%ebp),%eax - 11249: c6 40 01 29 movb $0x29,0x1(%eax) - 1124d: 8b 55 0c mov 0xc(%ebp),%edx - 11250: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 11253: 25 00 00 00 ff and $0xff000000,%eax - 11258: c1 e8 18 shr $0x18,%eax - 1125b: 88 42 05 mov %al,0x5(%edx) - 1125e: 8b 45 0c mov 0xc(%ebp),%eax - 11261: c6 40 06 00 movb $0x0,0x6(%eax) - 11265: 8b 55 0c mov 0xc(%ebp),%edx - 11268: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 1126b: 88 42 02 mov %al,0x2(%edx) - 1126e: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 11271: 89 45 f0 mov %eax,0xfffffff0(%ebp) - 11274: 83 7d f0 00 cmpl $0x0,0xfffffff0(%ebp) - 11278: 79 04 jns 1127e <_ohci_hub_descriptor+0x56> - 1127a: 83 45 f0 07 addl $0x7,0xfffffff0(%ebp) - 1127e: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 11281: c1 f8 03 sar $0x3,%eax - 11284: 40 inc %eax - 11285: 66 89 45 f6 mov %ax,0xfffffff6(%ebp) - 11289: 8b 55 0c mov 0xc(%ebp),%edx - 1128c: 66 8b 45 f6 mov 0xfffffff6(%ebp),%ax - 11290: 25 ff ff 00 00 and $0xffff,%eax - 11295: 01 c0 add %eax,%eax - 11297: 83 c0 07 add $0x7,%eax - 1129a: 88 02 mov %al,(%edx) - 1129c: 66 c7 45 f6 00 00 movw $0x0,0xfffffff6(%ebp) - 112a2: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 112a5: c1 e8 08 shr $0x8,%eax - 112a8: 83 e0 01 and $0x1,%eax - 112ab: 85 c0 test %eax,%eax - 112ad: 74 07 je 112b6 <_ohci_hub_descriptor+0x8e> - 112af: 8d 45 f6 lea 0xfffffff6(%ebp),%eax - 112b2: 66 83 08 01 orw $0x1,(%eax) - 112b6: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 112b9: c1 e8 0c shr $0xc,%eax - 112bc: 83 e0 01 and $0x1,%eax - 112bf: 85 c0 test %eax,%eax - 112c1: 74 09 je 112cc <_ohci_hub_descriptor+0xa4> - 112c3: 8d 45 f6 lea 0xfffffff6(%ebp),%eax - 112c6: 66 83 08 10 orw $0x10,(%eax) - 112ca: eb 14 jmp 112e0 <_ohci_hub_descriptor+0xb8> - 112cc: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 112cf: c1 e8 0b shr $0xb,%eax - 112d2: 83 e0 01 and $0x1,%eax - 112d5: 85 c0 test %eax,%eax - 112d7: 74 07 je 112e0 <_ohci_hub_descriptor+0xb8> - 112d9: 8d 45 f6 lea 0xfffffff6(%ebp),%eax - 112dc: 66 83 08 08 orw $0x8,(%eax) - 112e0: 8b 55 0c mov 0xc(%ebp),%edx - 112e3: 66 8b 45 f6 mov 0xfffffff6(%ebp),%ax - 112e7: 66 89 42 03 mov %ax,0x3(%edx) - 112eb: 83 ec 0c sub $0xc,%esp - 112ee: ff 75 08 pushl 0x8(%ebp) - 112f1: e8 3b 00 00 00 call 11331 <_roothub_b> - 112f6: 83 c4 10 add $0x10,%esp - 112f9: 89 45 fc mov %eax,0xfffffffc(%ebp) - 112fc: 8b 55 0c mov 0xc(%ebp),%edx - 112ff: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 11302: 88 42 07 mov %al,0x7(%edx) - 11305: 83 7d f8 07 cmpl $0x7,0xfffffff8(%ebp) - 11309: 7e 1d jle 11328 <_ohci_hub_descriptor+0x100> - 1130b: 8b 55 0c mov 0xc(%ebp),%edx - 1130e: 0f b7 45 fc movzwl 0xfffffffc(%ebp),%eax - 11312: c1 e8 08 shr $0x8,%eax - 11315: 88 42 08 mov %al,0x8(%edx) - 11318: 8b 55 0c mov 0xc(%ebp),%edx - 1131b: 8b 45 0c mov 0xc(%ebp),%eax - 1131e: c6 40 0a ff movb $0xff,0xa(%eax) - 11322: c6 42 09 ff movb $0xff,0x9(%edx) - 11326: eb 07 jmp 1132f <_ohci_hub_descriptor+0x107> - 11328: 8b 45 0c mov 0xc(%ebp),%eax - 1132b: c6 40 08 ff movb $0xff,0x8(%eax) - 1132f: c9 leave - 11330: c3 ret - -00011331 <_roothub_b>: - 11331: 55 push %ebp - 11332: 89 e5 mov %esp,%ebp - 11334: 8b 45 08 mov 0x8(%ebp),%eax - 11337: 8b 40 04 mov 0x4(%eax),%eax - 1133a: 83 c0 4c add $0x4c,%eax - 1133d: 8b 00 mov (%eax),%eax - 1133f: 5d pop %ebp - 11340: c3 ret - -00011341 <_ohci_hub_control>: - 11341: 55 push %ebp - 11342: 89 e5 mov %esp,%ebp - 11344: 53 push %ebx - 11345: 83 ec 34 sub $0x34,%esp - 11348: 8b 45 0c mov 0xc(%ebp),%eax - 1134b: 8b 55 10 mov 0x10(%ebp),%edx - 1134e: 8b 4d 14 mov 0x14(%ebp),%ecx - 11351: 8b 5d 1c mov 0x1c(%ebp),%ebx - 11354: 66 89 45 fa mov %ax,0xfffffffa(%ebp) - 11358: 66 89 55 f8 mov %dx,0xfffffff8(%ebp) - 1135c: 66 89 4d f6 mov %cx,0xfffffff6(%ebp) - 11360: 66 89 5d f4 mov %bx,0xfffffff4(%ebp) - 11364: 8b 45 08 mov 0x8(%ebp),%eax - 11367: 89 45 ec mov %eax,0xffffffec(%ebp) - 1136a: 8b 45 ec mov 0xffffffec(%ebp),%eax - 1136d: 2d 34 02 00 00 sub $0x234,%eax - 11372: 89 45 f0 mov %eax,0xfffffff0(%ebp) - 11375: 83 ec 0c sub $0xc,%esp - 11378: ff 75 08 pushl 0x8(%ebp) - 1137b: e8 fb 02 00 00 call 1167b <_hcd_to_bus> - 11380: 83 c4 10 add $0x10,%esp - 11383: 8b 40 24 mov 0x24(%eax),%eax - 11386: 8b 80 ac 01 00 00 mov 0x1ac(%eax),%eax - 1138c: 89 45 ec mov %eax,0xffffffec(%ebp) - 1138f: c7 45 e4 00 00 00 00 movl $0x0,0xffffffe4(%ebp) - 11396: 66 8b 45 fa mov 0xfffffffa(%ebp),%ax - 1139a: 89 c2 mov %eax,%edx - 1139c: 81 e2 ff ff 00 00 and $0xffff,%edx - 113a2: 89 55 d4 mov %edx,0xffffffd4(%ebp) - 113a5: 81 7d d4 03 23 00 00 cmpl $0x2303,0xffffffd4(%ebp) - 113ac: 0f 84 ef 01 00 00 je 115a1 <_ohci_hub_control+0x260> - 113b2: 81 7d d4 03 23 00 00 cmpl $0x2303,0xffffffd4(%ebp) - 113b9: 7f 32 jg 113ed <_ohci_hub_control+0xac> - 113bb: 81 7d d4 03 20 00 00 cmpl $0x2003,0xffffffd4(%ebp) - 113c2: 0f 84 c0 01 00 00 je 11588 <_ohci_hub_control+0x247> - 113c8: 81 7d d4 03 20 00 00 cmpl $0x2003,0xffffffd4(%ebp) - 113cf: 7f 0e jg 113df <_ohci_hub_control+0x9e> - 113d1: 81 7d d4 01 20 00 00 cmpl $0x2001,0xffffffd4(%ebp) - 113d8: 74 4d je 11427 <_ohci_hub_control+0xe6> - 113da: e9 8d 02 00 00 jmp 1166c <_ohci_hub_control+0x32b> - 113df: 81 7d d4 01 23 00 00 cmpl $0x2301,0xffffffd4(%ebp) - 113e6: 74 76 je 1145e <_ohci_hub_control+0x11d> - 113e8: e9 7f 02 00 00 jmp 1166c <_ohci_hub_control+0x32b> - 113ed: 81 7d d4 06 a0 00 00 cmpl $0xa006,0xffffffd4(%ebp) - 113f4: 0f 84 10 01 00 00 je 1150a <_ohci_hub_control+0x1c9> - 113fa: 81 7d d4 06 a0 00 00 cmpl $0xa006,0xffffffd4(%ebp) - 11401: 7f 12 jg 11415 <_ohci_hub_control+0xd4> - 11403: 81 7d d4 00 a0 00 00 cmpl $0xa000,0xffffffd4(%ebp) - 1140a: 0f 84 10 01 00 00 je 11520 <_ohci_hub_control+0x1df> - 11410: e9 57 02 00 00 jmp 1166c <_ohci_hub_control+0x32b> - 11415: 81 7d d4 00 a3 00 00 cmpl $0xa300,0xffffffd4(%ebp) - 1141c: 0f 84 1e 01 00 00 je 11540 <_ohci_hub_control+0x1ff> - 11422: e9 45 02 00 00 jmp 1166c <_ohci_hub_control+0x32b> - 11427: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 1142a: 89 c2 mov %eax,%edx - 1142c: 81 e2 ff ff 00 00 and $0xffff,%edx - 11432: 89 55 e0 mov %edx,0xffffffe0(%ebp) - 11435: 83 7d e0 00 cmpl $0x0,0xffffffe0(%ebp) - 11439: 0f 84 34 02 00 00 je 11673 <_ohci_hub_control+0x332> - 1143f: 83 7d e0 01 cmpl $0x1,0xffffffe0(%ebp) - 11443: 74 05 je 1144a <_ohci_hub_control+0x109> - 11445: e9 22 02 00 00 jmp 1166c <_ohci_hub_control+0x32b> - 1144a: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 1144d: 8b 40 04 mov 0x4(%eax),%eax - 11450: 83 c0 50 add $0x50,%eax - 11453: c7 00 00 00 02 00 movl $0x20000,(%eax) - 11459: e9 15 02 00 00 jmp 11673 <_ohci_hub_control+0x332> - 1145e: 66 83 7d f6 00 cmpw $0x0,0xfffffff6(%ebp) - 11463: 0f 84 03 02 00 00 je 1166c <_ohci_hub_control+0x32b> - 11469: 66 8b 45 f6 mov 0xfffffff6(%ebp),%ax - 1146d: 25 ff ff 00 00 and $0xffff,%eax - 11472: 3b 45 ec cmp 0xffffffec(%ebp),%eax - 11475: 0f 8f f1 01 00 00 jg 1166c <_ohci_hub_control+0x32b> - 1147b: 8d 45 f6 lea 0xfffffff6(%ebp),%eax - 1147e: 66 ff 08 decw (%eax) - 11481: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 11484: 89 c2 mov %eax,%edx - 11486: 81 e2 ff ff 00 00 and $0xffff,%edx - 1148c: 89 55 dc mov %edx,0xffffffdc(%ebp) - 1148f: 83 7d dc 14 cmpl $0x14,0xffffffdc(%ebp) - 11493: 0f 87 d3 01 00 00 ja 1166c <_ohci_hub_control+0x32b> - 11499: 8b 55 dc mov 0xffffffdc(%ebp),%edx - 1149c: 8b 04 95 60 60 01 00 mov 0x16060(,%edx,4),%eax - 114a3: ff e0 jmp *%eax - 114a5: c7 45 e8 01 00 00 00 movl $0x1,0xffffffe8(%ebp) - 114ac: eb 3d jmp 114eb <_ohci_hub_control+0x1aa> - 114ae: c7 45 e8 00 00 02 00 movl $0x20000,0xffffffe8(%ebp) - 114b5: eb 34 jmp 114eb <_ohci_hub_control+0x1aa> - 114b7: c7 45 e8 08 00 00 00 movl $0x8,0xffffffe8(%ebp) - 114be: eb 2b jmp 114eb <_ohci_hub_control+0x1aa> - 114c0: c7 45 e8 00 00 04 00 movl $0x40000,0xffffffe8(%ebp) - 114c7: eb 22 jmp 114eb <_ohci_hub_control+0x1aa> - 114c9: c7 45 e8 00 02 00 00 movl $0x200,0xffffffe8(%ebp) - 114d0: eb 19 jmp 114eb <_ohci_hub_control+0x1aa> - 114d2: c7 45 e8 00 00 01 00 movl $0x10000,0xffffffe8(%ebp) - 114d9: eb 10 jmp 114eb <_ohci_hub_control+0x1aa> - 114db: c7 45 e8 00 00 08 00 movl $0x80000,0xffffffe8(%ebp) - 114e2: eb 07 jmp 114eb <_ohci_hub_control+0x1aa> - 114e4: c7 45 e8 00 00 10 00 movl $0x100000,0xffffffe8(%ebp) - 114eb: 8b 55 f0 mov 0xfffffff0(%ebp),%edx - 114ee: 66 8b 45 f6 mov 0xfffffff6(%ebp),%ax - 114f2: 25 ff ff 00 00 and $0xffff,%eax - 114f7: c1 e0 02 shl $0x2,%eax - 114fa: 03 42 04 add 0x4(%edx),%eax - 114fd: 8d 50 54 lea 0x54(%eax),%edx - 11500: 8b 45 e8 mov 0xffffffe8(%ebp),%eax - 11503: 89 02 mov %eax,(%edx) - 11505: e9 69 01 00 00 jmp 11673 <_ohci_hub_control+0x332> - 1150a: 83 ec 08 sub $0x8,%esp - 1150d: ff 75 18 pushl 0x18(%ebp) - 11510: ff 75 f0 pushl 0xfffffff0(%ebp) - 11513: e8 10 fd ff ff call 11228 <_ohci_hub_descriptor> - 11518: 83 c4 10 add $0x10,%esp - 1151b: e9 53 01 00 00 jmp 11673 <_ohci_hub_control+0x332> - 11520: ff 75 f0 pushl 0xfffffff0(%ebp) - 11523: e8 f0 fc ff ff call 11218 <_roothub_status> - 11528: 83 c4 04 add $0x4,%esp - 1152b: 25 ff 7f ff 7f and $0x7fff7fff,%eax - 11530: 89 45 e8 mov %eax,0xffffffe8(%ebp) - 11533: 8b 55 18 mov 0x18(%ebp),%edx - 11536: 8b 45 e8 mov 0xffffffe8(%ebp),%eax - 11539: 89 02 mov %eax,(%edx) - 1153b: e9 33 01 00 00 jmp 11673 <_ohci_hub_control+0x332> - 11540: 66 83 7d f6 00 cmpw $0x0,0xfffffff6(%ebp) - 11545: 0f 84 21 01 00 00 je 1166c <_ohci_hub_control+0x32b> - 1154b: 66 8b 45 f6 mov 0xfffffff6(%ebp),%ax - 1154f: 25 ff ff 00 00 and $0xffff,%eax - 11554: 3b 45 ec cmp 0xffffffec(%ebp),%eax - 11557: 0f 8f 0f 01 00 00 jg 1166c <_ohci_hub_control+0x32b> - 1155d: 8d 45 f6 lea 0xfffffff6(%ebp),%eax - 11560: 66 ff 08 decw (%eax) - 11563: 66 8b 45 f6 mov 0xfffffff6(%ebp),%ax - 11567: 25 ff ff 00 00 and $0xffff,%eax - 1156c: 50 push %eax - 1156d: ff 75 f0 pushl 0xfffffff0(%ebp) - 11570: e8 05 fb ff ff call 1107a <_roothub_portstatus> - 11575: 83 c4 08 add $0x8,%esp - 11578: 89 45 e8 mov %eax,0xffffffe8(%ebp) - 1157b: 8b 55 18 mov 0x18(%ebp),%edx - 1157e: 8b 45 e8 mov 0xffffffe8(%ebp),%eax - 11581: 89 02 mov %eax,(%edx) - 11583: e9 eb 00 00 00 jmp 11673 <_ohci_hub_control+0x332> - 11588: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 1158b: 25 ff ff 00 00 and $0xffff,%eax - 11590: 83 c0 00 add $0x0,%eax - 11593: 83 f8 01 cmp $0x1,%eax - 11596: 0f 87 d0 00 00 00 ja 1166c <_ohci_hub_control+0x32b> - 1159c: e9 d2 00 00 00 jmp 11673 <_ohci_hub_control+0x332> - 115a1: 66 83 7d f6 00 cmpw $0x0,0xfffffff6(%ebp) - 115a6: 0f 84 c0 00 00 00 je 1166c <_ohci_hub_control+0x32b> - 115ac: 66 8b 45 f6 mov 0xfffffff6(%ebp),%ax - 115b0: 25 ff ff 00 00 and $0xffff,%eax - 115b5: 3b 45 ec cmp 0xffffffec(%ebp),%eax - 115b8: 0f 8f ae 00 00 00 jg 1166c <_ohci_hub_control+0x32b> - 115be: 8d 45 f6 lea 0xfffffff6(%ebp),%eax - 115c1: 66 ff 08 decw (%eax) - 115c4: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 115c7: 89 c2 mov %eax,%edx - 115c9: 81 e2 ff ff 00 00 and $0xffff,%edx - 115cf: 89 55 d8 mov %edx,0xffffffd8(%ebp) - 115d2: 83 7d d8 04 cmpl $0x4,0xffffffd8(%ebp) - 115d6: 74 53 je 1162b <_ohci_hub_control+0x2ea> - 115d8: 83 7d d8 04 cmpl $0x4,0xffffffd8(%ebp) - 115dc: 7f 0b jg 115e9 <_ohci_hub_control+0x2a8> - 115de: 83 7d d8 02 cmpl $0x2,0xffffffd8(%ebp) - 115e2: 74 0d je 115f1 <_ohci_hub_control+0x2b0> - 115e4: e9 83 00 00 00 jmp 1166c <_ohci_hub_control+0x32b> - 115e9: 83 7d d8 08 cmpl $0x8,0xffffffd8(%ebp) - 115ed: 74 1f je 1160e <_ohci_hub_control+0x2cd> - 115ef: eb 7b jmp 1166c <_ohci_hub_control+0x32b> - 115f1: 8b 55 f0 mov 0xfffffff0(%ebp),%edx - 115f4: 66 8b 45 f6 mov 0xfffffff6(%ebp),%ax - 115f8: 25 ff ff 00 00 and $0xffff,%eax - 115fd: c1 e0 02 shl $0x2,%eax - 11600: 03 42 04 add 0x4(%edx),%eax - 11603: 83 c0 54 add $0x54,%eax - 11606: c7 00 04 00 00 00 movl $0x4,(%eax) - 1160c: eb 65 jmp 11673 <_ohci_hub_control+0x332> - 1160e: 8b 55 f0 mov 0xfffffff0(%ebp),%edx - 11611: 66 8b 45 f6 mov 0xfffffff6(%ebp),%ax - 11615: 25 ff ff 00 00 and $0xffff,%eax - 1161a: c1 e0 02 shl $0x2,%eax - 1161d: 03 42 04 add 0x4(%edx),%eax - 11620: 83 c0 54 add $0x54,%eax - 11623: c7 00 00 01 00 00 movl $0x100,(%eax) - 11629: eb 48 jmp 11673 <_ohci_hub_control+0x332> - 1162b: 8b 55 f0 mov 0xfffffff0(%ebp),%edx - 1162e: 66 8b 45 f6 mov 0xfffffff6(%ebp),%ax - 11632: 25 ff ff 00 00 and $0xffff,%eax - 11637: c1 e0 02 shl $0x2,%eax - 1163a: 03 42 04 add 0x4(%edx),%eax - 1163d: 83 c0 54 add $0x54,%eax - 11640: 8b 00 mov (%eax),%eax - 11642: 89 45 e8 mov %eax,0xffffffe8(%ebp) - 11645: 8b 45 e8 mov 0xffffffe8(%ebp),%eax - 11648: 83 e0 01 and $0x1,%eax - 1164b: 85 c0 test %eax,%eax - 1164d: 74 24 je 11673 <_ohci_hub_control+0x332> - 1164f: 8b 55 f0 mov 0xfffffff0(%ebp),%edx - 11652: 66 8b 45 f6 mov 0xfffffff6(%ebp),%ax - 11656: 25 ff ff 00 00 and $0xffff,%eax - 1165b: c1 e0 02 shl $0x2,%eax - 1165e: 03 42 04 add 0x4(%edx),%eax - 11661: 83 c0 54 add $0x54,%eax - 11664: c7 00 10 00 00 00 movl $0x10,(%eax) - 1166a: eb 07 jmp 11673 <_ohci_hub_control+0x332> - 1166c: c7 45 e4 e0 ff ff ff movl $0xffffffe0,0xffffffe4(%ebp) - 11673: 8b 45 e4 mov 0xffffffe4(%ebp),%eax - 11676: 8b 5d fc mov 0xfffffffc(%ebp),%ebx - 11679: c9 leave - 1167a: c3 ret - -0001167b <_hcd_to_bus>: - 1167b: 55 push %ebp - 1167c: 89 e5 mov %esp,%ebp - 1167e: 8b 45 08 mov 0x8(%ebp),%eax - 11681: 5d pop %ebp - 11682: c3 ret - -00011683 <_ohci_hcd_alloc>: - 11683: 55 push %ebp - 11684: 89 e5 mov %esp,%ebp - 11686: 83 ec 08 sub $0x8,%esp - 11689: 83 ec 08 sub $0x8,%esp - 1168c: 68 18 03 00 00 push $0x318 - 11691: 6a 01 push $0x1 - 11693: e8 d8 2e 00 00 call 14570 <_ExAllocatePool@8> - 11698: 83 c4 08 add $0x8,%esp - 1169b: 89 45 fc mov %eax,0xfffffffc(%ebp) - 1169e: 83 7d fc 00 cmpl $0x0,0xfffffffc(%ebp) - 116a2: 74 22 je 116c6 <_ohci_hcd_alloc+0x43> - 116a4: 83 ec 04 sub $0x4,%esp - 116a7: 68 18 03 00 00 push $0x318 - 116ac: 6a 00 push $0x0 - 116ae: ff 75 fc pushl 0xfffffffc(%ebp) - 116b1: e8 ea 2e 00 00 call 145a0 <_memset> - 116b6: 83 c4 10 add $0x10,%esp - 116b9: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 116bc: 05 34 02 00 00 add $0x234,%eax - 116c1: 89 45 f8 mov %eax,0xfffffff8(%ebp) - 116c4: eb 07 jmp 116cd <_ohci_hcd_alloc+0x4a> - 116c6: c7 45 f8 00 00 00 00 movl $0x0,0xfffffff8(%ebp) - 116cd: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 116d0: c9 leave - 116d1: c3 ret - -000116d2 <_ohci_hcd_free>: - 116d2: 55 push %ebp - 116d3: 89 e5 mov %esp,%ebp - 116d5: 83 ec 08 sub $0x8,%esp - 116d8: 8b 45 08 mov 0x8(%ebp),%eax - 116db: 89 45 fc mov %eax,0xfffffffc(%ebp) - 116de: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 116e1: 2d 34 02 00 00 sub $0x234,%eax - 116e6: 83 ec 0c sub $0xc,%esp - 116e9: 50 push %eax - 116ea: e8 91 2e 00 00 call 14580 <_ExFreePool@4> - 116ef: 83 c4 0c add $0xc,%esp - 116f2: c9 leave - 116f3: c3 ret - -000116f4 <_ohci_mem_init>: - 116f4: 55 push %ebp - 116f5: 89 e5 mov %esp,%ebp - 116f7: 83 ec 04 sub $0x4,%esp - 116fa: 8b 45 08 mov 0x8(%ebp),%eax - 116fd: c7 80 9c 00 00 00 01 movl $0x1,0x9c(%eax) - 11704: 00 00 00 - 11707: 8b 45 08 mov 0x8(%ebp),%eax - 1170a: 83 b8 9c 00 00 00 00 cmpl $0x0,0x9c(%eax) - 11711: 75 09 jne 1171c <_ohci_mem_init+0x28> - 11713: c7 45 fc f4 ff ff ff movl $0xfffffff4,0xfffffffc(%ebp) - 1171a: eb 29 jmp 11745 <_ohci_mem_init+0x51> - 1171c: 8b 45 08 mov 0x8(%ebp),%eax - 1171f: c7 80 a0 00 00 00 01 movl $0x1,0xa0(%eax) - 11726: 00 00 00 - 11729: 8b 45 08 mov 0x8(%ebp),%eax - 1172c: 83 b8 a0 00 00 00 00 cmpl $0x0,0xa0(%eax) - 11733: 75 09 jne 1173e <_ohci_mem_init+0x4a> - 11735: c7 45 fc f4 ff ff ff movl $0xfffffff4,0xfffffffc(%ebp) - 1173c: eb 07 jmp 11745 <_ohci_mem_init+0x51> - 1173e: c7 45 fc 00 00 00 00 movl $0x0,0xfffffffc(%ebp) - 11745: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 11748: c9 leave - 11749: c3 ret - -0001174a <_ohci_mem_cleanup>: - 1174a: 55 push %ebp - 1174b: 89 e5 mov %esp,%ebp - 1174d: 8b 45 08 mov 0x8(%ebp),%eax - 11750: 83 b8 9c 00 00 00 00 cmpl $0x0,0x9c(%eax) - 11757: 74 0d je 11766 <_ohci_mem_cleanup+0x1c> - 11759: 8b 45 08 mov 0x8(%ebp),%eax - 1175c: c7 80 9c 00 00 00 00 movl $0x0,0x9c(%eax) - 11763: 00 00 00 - 11766: 8b 45 08 mov 0x8(%ebp),%eax - 11769: 83 b8 a0 00 00 00 00 cmpl $0x0,0xa0(%eax) - 11770: 74 0d je 1177f <_ohci_mem_cleanup+0x35> - 11772: 8b 45 08 mov 0x8(%ebp),%eax - 11775: c7 80 a0 00 00 00 00 movl $0x0,0xa0(%eax) - 1177c: 00 00 00 - 1177f: 5d pop %ebp - 11780: c3 ret - -00011781 <_td_alloc>: - 11781: 55 push %ebp - 11782: 89 e5 mov %esp,%ebp - 11784: 83 ec 08 sub $0x8,%esp - 11787: 83 ec 04 sub $0x4,%esp - 1178a: 8d 45 fc lea 0xfffffffc(%ebp),%eax - 1178d: 50 push %eax - 1178e: ff 75 0c pushl 0xc(%ebp) - 11791: 8b 45 08 mov 0x8(%ebp),%eax - 11794: ff b0 9c 00 00 00 pushl 0x9c(%eax) - 1179a: e8 35 00 00 00 call 117d4 <_my_pci_pool_alloc> - 1179f: 83 c4 10 add $0x10,%esp - 117a2: 89 45 f8 mov %eax,0xfffffff8(%ebp) - 117a5: 83 7d f8 00 cmpl $0x0,0xfffffff8(%ebp) - 117a9: 74 24 je 117cf <_td_alloc+0x4e> - 117ab: 83 ec 04 sub $0x4,%esp - 117ae: 6a 40 push $0x40 - 117b0: 6a 00 push $0x0 - 117b2: ff 75 f8 pushl 0xfffffff8(%ebp) - 117b5: e8 e6 2d 00 00 call 145a0 <_memset> - 117ba: 83 c4 10 add $0x10,%esp - 117bd: 8b 55 f8 mov 0xfffffff8(%ebp),%edx - 117c0: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 117c3: 89 42 08 mov %eax,0x8(%edx) - 117c6: 8b 55 f8 mov 0xfffffff8(%ebp),%edx - 117c9: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 117cc: 89 42 24 mov %eax,0x24(%edx) - 117cf: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 117d2: c9 leave - 117d3: c3 ret - -000117d4 <_my_pci_pool_alloc>: - 117d4: 55 push %ebp - 117d5: 89 e5 mov %esp,%ebp - 117d7: 83 ec 08 sub $0x8,%esp - 117da: 83 ec 08 sub $0x8,%esp - 117dd: ff 75 0c pushl 0xc(%ebp) - 117e0: 6a 01 push $0x1 - 117e2: e8 89 2d 00 00 call 14570 <_ExAllocatePool@8> - 117e7: 83 c4 08 add $0x8,%esp - 117ea: 89 45 fc mov %eax,0xfffffffc(%ebp) - 117ed: 8b 55 10 mov 0x10(%ebp),%edx - 117f0: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 117f3: 89 02 mov %eax,(%edx) - 117f5: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 117f8: c9 leave - 117f9: c3 ret - -000117fa <_td_free>: - 117fa: 55 push %ebp - 117fb: 89 e5 mov %esp,%ebp - 117fd: 83 ec 08 sub $0x8,%esp - 11800: 8b 55 0c mov 0xc(%ebp),%edx - 11803: 8b 45 0c mov 0xc(%ebp),%eax - 11806: 8b 40 24 mov 0x24(%eax),%eax - 11809: c1 e8 06 shr $0x6,%eax - 1180c: 33 42 24 xor 0x24(%edx),%eax - 1180f: 83 e0 3f and $0x3f,%eax - 11812: c1 e0 02 shl $0x2,%eax - 11815: 03 45 08 add 0x8(%ebp),%eax - 11818: 05 a4 00 00 00 add $0xa4,%eax - 1181d: 89 45 fc mov %eax,0xfffffffc(%ebp) - 11820: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 11823: 83 38 00 cmpl $0x0,(%eax) - 11826: 74 17 je 1183f <_td_free+0x45> - 11828: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 1182b: 8b 00 mov (%eax),%eax - 1182d: 3b 45 0c cmp 0xc(%ebp),%eax - 11830: 74 0d je 1183f <_td_free+0x45> - 11832: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 11835: 8b 00 mov (%eax),%eax - 11837: 83 c0 18 add $0x18,%eax - 1183a: 89 45 fc mov %eax,0xfffffffc(%ebp) - 1183d: eb e1 jmp 11820 <_td_free+0x26> - 1183f: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 11842: 83 38 00 cmpl $0x0,(%eax) - 11845: 74 0d je 11854 <_td_free+0x5a> - 11847: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 1184a: 8b 55 0c mov 0xc(%ebp),%edx - 1184d: 8b 52 18 mov 0x18(%edx),%edx - 11850: 89 10 mov %edx,(%eax) - 11852: eb 00 jmp 11854 <_td_free+0x5a> - 11854: 83 ec 0c sub $0xc,%esp - 11857: ff 75 0c pushl 0xc(%ebp) - 1185a: e8 21 2d 00 00 call 14580 <_ExFreePool@4> - 1185f: 83 c4 0c add $0xc,%esp - 11862: c9 leave - 11863: c3 ret - -00011864 <_ed_alloc>: - 11864: 55 push %ebp - 11865: 89 e5 mov %esp,%ebp - 11867: 83 ec 08 sub $0x8,%esp - 1186a: 83 ec 04 sub $0x4,%esp - 1186d: 8d 45 fc lea 0xfffffffc(%ebp),%eax - 11870: 50 push %eax - 11871: ff 75 0c pushl 0xc(%ebp) - 11874: 8b 45 08 mov 0x8(%ebp),%eax - 11877: ff b0 a0 00 00 00 pushl 0xa0(%eax) - 1187d: e8 52 ff ff ff call 117d4 <_my_pci_pool_alloc> - 11882: 83 c4 10 add $0x10,%esp - 11885: 89 45 f8 mov %eax,0xfffffff8(%ebp) - 11888: 83 7d f8 00 cmpl $0x0,0xfffffff8(%ebp) - 1188c: 74 38 je 118c6 <_ed_alloc+0x62> - 1188e: 83 ec 04 sub $0x4,%esp - 11891: 6a 40 push $0x40 - 11893: 6a 00 push $0x0 - 11895: ff 75 f8 pushl 0xfffffff8(%ebp) - 11898: e8 03 2d 00 00 call 145a0 <_memset> - 1189d: 83 c4 10 add $0x10,%esp - 118a0: 8b 55 f8 mov 0xfffffff8(%ebp),%edx - 118a3: 83 c2 20 add $0x20,%edx - 118a6: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 118a9: 83 c0 20 add $0x20,%eax - 118ac: 89 02 mov %eax,(%edx) - 118ae: 8b 55 f8 mov 0xfffffff8(%ebp),%edx - 118b1: 83 c2 20 add $0x20,%edx - 118b4: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 118b7: 83 c0 20 add $0x20,%eax - 118ba: 89 42 04 mov %eax,0x4(%edx) - 118bd: 8b 55 f8 mov 0xfffffff8(%ebp),%edx - 118c0: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 118c3: 89 42 10 mov %eax,0x10(%edx) - 118c6: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 118c9: c9 leave - 118ca: c3 ret - -000118cb <_ed_free>: - 118cb: 55 push %ebp - 118cc: 89 e5 mov %esp,%ebp - 118ce: 83 ec 08 sub $0x8,%esp - 118d1: 83 ec 0c sub $0xc,%esp - 118d4: ff 75 0c pushl 0xc(%ebp) - 118d7: e8 a4 2c 00 00 call 14580 <_ExFreePool@4> - 118dc: 83 c4 0c add $0xc,%esp - 118df: c9 leave - 118e0: c3 ret - -000118e1 <_urb_free_priv>: - 118e1: 55 push %ebp - 118e2: 89 e5 mov %esp,%ebp - 118e4: 83 ec 18 sub $0x18,%esp - 118e7: 8b 45 0c mov 0xc(%ebp),%eax - 118ea: 66 8b 40 04 mov 0x4(%eax),%ax - 118ee: 25 ff ff 00 00 and $0xffff,%eax - 118f3: 48 dec %eax - 118f4: 89 45 fc mov %eax,0xfffffffc(%ebp) - 118f7: 83 7d fc 00 cmpl $0x0,0xfffffffc(%ebp) - 118fb: 78 3a js 11937 <_urb_free_priv+0x56> - 118fd: c7 45 f8 00 00 00 00 movl $0x0,0xfffffff8(%ebp) - 11904: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 11907: 3b 45 fc cmp 0xfffffffc(%ebp),%eax - 1190a: 7f 2b jg 11937 <_urb_free_priv+0x56> - 1190c: 8b 45 0c mov 0xc(%ebp),%eax - 1190f: 8b 55 f8 mov 0xfffffff8(%ebp),%edx - 11912: 8b 44 90 0c mov 0xc(%eax,%edx,4),%eax - 11916: 89 45 f4 mov %eax,0xfffffff4(%ebp) - 11919: 83 7d f4 00 cmpl $0x0,0xfffffff4(%ebp) - 1191d: 74 11 je 11930 <_urb_free_priv+0x4f> - 1191f: 83 ec 08 sub $0x8,%esp - 11922: ff 75 f4 pushl 0xfffffff4(%ebp) - 11925: ff 75 08 pushl 0x8(%ebp) - 11928: e8 cd fe ff ff call 117fa <_td_free> - 1192d: 83 c4 10 add $0x10,%esp - 11930: 8d 45 f8 lea 0xfffffff8(%ebp),%eax - 11933: ff 00 incl (%eax) - 11935: eb cd jmp 11904 <_urb_free_priv+0x23> - 11937: 83 ec 0c sub $0xc,%esp - 1193a: ff 75 0c pushl 0xc(%ebp) - 1193d: e8 3e 2c 00 00 call 14580 <_ExFreePool@4> - 11942: 83 c4 0c add $0xc,%esp - 11945: c9 leave - 11946: c3 ret - -00011947 <_finish_urb>: - 11947: 55 push %ebp - 11948: 89 e5 mov %esp,%ebp - 1194a: 83 ec 08 sub $0x8,%esp - 1194d: 83 ec 08 sub $0x8,%esp - 11950: 8b 45 0c mov 0xc(%ebp),%eax - 11953: ff 70 08 pushl 0x8(%eax) - 11956: ff 75 08 pushl 0x8(%ebp) - 11959: e8 83 ff ff ff call 118e1 <_urb_free_priv> - 1195e: 83 c4 10 add $0x10,%esp - 11961: 8b 45 0c mov 0xc(%ebp),%eax - 11964: c7 40 08 00 00 00 00 movl $0x0,0x8(%eax) - 1196b: 8b 45 0c mov 0xc(%ebp),%eax - 1196e: c7 00 01 00 00 00 movl $0x1,(%eax) - 11974: 8b 45 0c mov 0xc(%ebp),%eax - 11977: 83 78 1c 8d cmpl $0xffffff8d,0x1c(%eax) - 1197b: 75 0a jne 11987 <_finish_urb+0x40> - 1197d: 8b 45 0c mov 0xc(%ebp),%eax - 11980: c7 40 1c 00 00 00 00 movl $0x0,0x1c(%eax) - 11987: 8b 45 0c mov 0xc(%ebp),%eax - 1198a: 8b 40 18 mov 0x18(%eax),%eax - 1198d: c1 e8 1e shr $0x1e,%eax - 11990: 83 e0 03 and $0x3,%eax - 11993: 89 45 fc mov %eax,0xfffffffc(%ebp) - 11996: 83 7d fc 00 cmpl $0x0,0xfffffffc(%ebp) - 1199a: 74 08 je 119a4 <_finish_urb+0x5d> - 1199c: 83 7d fc 01 cmpl $0x1,0xfffffffc(%ebp) - 119a0: 74 18 je 119ba <_finish_urb+0x73> - 119a2: eb 2a jmp 119ce <_finish_urb+0x87> - 119a4: 8b 45 08 mov 0x8(%ebp),%eax - 119a7: 05 34 02 00 00 add $0x234,%eax - 119ac: 50 push %eax - 119ad: e8 c9 fc ff ff call 1167b <_hcd_to_bus> - 119b2: 83 c4 04 add $0x4,%esp - 119b5: ff 48 3c decl 0x3c(%eax) - 119b8: eb 14 jmp 119ce <_finish_urb+0x87> - 119ba: 8b 45 08 mov 0x8(%ebp),%eax - 119bd: 05 34 02 00 00 add $0x234,%eax - 119c2: 50 push %eax - 119c3: e8 b3 fc ff ff call 1167b <_hcd_to_bus> - 119c8: 83 c4 04 add $0x4,%esp - 119cb: ff 48 38 decl 0x38(%eax) - 119ce: 83 ec 04 sub $0x4,%esp - 119d1: ff 75 10 pushl 0x10(%ebp) - 119d4: ff 75 0c pushl 0xc(%ebp) - 119d7: 8b 45 08 mov 0x8(%ebp),%eax - 119da: 05 34 02 00 00 add $0x234,%eax - 119df: 50 push %eax - 119e0: e8 db 2b 00 00 call 145c0 <_usb_hcd_giveback_urb@12> - 119e5: 83 c4 04 add $0x4,%esp - 119e8: c9 leave - 119e9: c3 ret - -000119ea <_balance>: - 119ea: 55 push %ebp - 119eb: 89 e5 mov %esp,%ebp - 119ed: 53 push %ebx - 119ee: 83 ec 0c sub $0xc,%esp - 119f1: c7 45 f4 e4 ff ff ff movl $0xffffffe4,0xfffffff4(%ebp) - 119f8: 83 7d 0c 20 cmpl $0x20,0xc(%ebp) - 119fc: 7e 07 jle 11a05 <_balance+0x1b> - 119fe: c7 45 0c 20 00 00 00 movl $0x20,0xc(%ebp) - 11a05: c7 45 f8 00 00 00 00 movl $0x0,0xfffffff8(%ebp) - 11a0c: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 11a0f: 3b 45 0c cmp 0xc(%ebp),%eax - 11a12: 7d 68 jge 11a7c <_balance+0x92> - 11a14: 83 7d f4 00 cmpl $0x0,0xfffffff4(%ebp) - 11a18: 78 1e js 11a38 <_balance+0x4e> - 11a1a: 8b 5d 08 mov 0x8(%ebp),%ebx - 11a1d: 8b 45 f4 mov 0xfffffff4(%ebp),%eax - 11a20: 8b 4d 08 mov 0x8(%ebp),%ecx - 11a23: 8b 55 f8 mov 0xfffffff8(%ebp),%edx - 11a26: 8b 84 83 ac 01 00 00 mov 0x1ac(%ebx,%eax,4),%eax - 11a2d: 3b 84 91 ac 01 00 00 cmp 0x1ac(%ecx,%edx,4),%eax - 11a34: 7f 02 jg 11a38 <_balance+0x4e> - 11a36: eb 3d jmp 11a75 <_balance+0x8b> - 11a38: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 11a3b: 89 45 f0 mov %eax,0xfffffff0(%ebp) - 11a3e: 83 7d f0 1f cmpl $0x1f,0xfffffff0(%ebp) - 11a42: 7f 23 jg 11a67 <_balance+0x7d> - 11a44: 8b 4d 08 mov 0x8(%ebp),%ecx - 11a47: 8b 55 f0 mov 0xfffffff0(%ebp),%edx - 11a4a: 8b 45 10 mov 0x10(%ebp),%eax - 11a4d: 03 84 91 ac 01 00 00 add 0x1ac(%ecx,%edx,4),%eax - 11a54: 3d 84 03 00 00 cmp $0x384,%eax - 11a59: 7e 02 jle 11a5d <_balance+0x73> - 11a5b: eb 0a jmp 11a67 <_balance+0x7d> - 11a5d: 8b 55 0c mov 0xc(%ebp),%edx - 11a60: 8d 45 f0 lea 0xfffffff0(%ebp),%eax - 11a63: 01 10 add %edx,(%eax) - 11a65: eb d7 jmp 11a3e <_balance+0x54> - 11a67: 83 7d f0 1f cmpl $0x1f,0xfffffff0(%ebp) - 11a6b: 7f 02 jg 11a6f <_balance+0x85> - 11a6d: eb 06 jmp 11a75 <_balance+0x8b> - 11a6f: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 11a72: 89 45 f4 mov %eax,0xfffffff4(%ebp) - 11a75: 8d 45 f8 lea 0xfffffff8(%ebp),%eax - 11a78: ff 00 incl (%eax) - 11a7a: eb 90 jmp 11a0c <_balance+0x22> - 11a7c: 8b 45 f4 mov 0xfffffff4(%ebp),%eax - 11a7f: 83 c4 0c add $0xc,%esp - 11a82: 5b pop %ebx - 11a83: 5d pop %ebp - 11a84: c3 ret - -00011a85 <_periodic_link>: - 11a85: 55 push %ebp - 11a86: 89 e5 mov %esp,%ebp - 11a88: 56 push %esi - 11a89: 53 push %ebx - 11a8a: 83 ec 10 sub $0x10,%esp - 11a8d: 8b 45 0c mov 0xc(%ebp),%eax - 11a90: 8a 40 2a mov 0x2a(%eax),%al - 11a93: 25 ff 00 00 00 and $0xff,%eax - 11a98: 89 45 f4 mov %eax,0xfffffff4(%ebp) - 11a9b: 83 7d f4 1f cmpl $0x1f,0xfffffff4(%ebp) - 11a9f: 0f 87 d8 00 00 00 ja 11b7d <_periodic_link+0xf8> - 11aa5: 8b 45 f4 mov 0xfffffff4(%ebp),%eax - 11aa8: c1 e0 02 shl $0x2,%eax - 11aab: 03 45 08 add 0x8(%ebp),%eax - 11aae: 83 c0 1c add $0x1c,%eax - 11ab1: 89 45 f0 mov %eax,0xfffffff0(%ebp) - 11ab4: 8b 55 08 mov 0x8(%ebp),%edx - 11ab7: 8b 45 f4 mov 0xfffffff4(%ebp),%eax - 11aba: c1 e0 02 shl $0x2,%eax - 11abd: 03 42 08 add 0x8(%edx),%eax - 11ac0: 89 45 ec mov %eax,0xffffffec(%ebp) - 11ac3: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 11ac6: 8b 00 mov (%eax),%eax - 11ac8: 89 45 e8 mov %eax,0xffffffe8(%ebp) - 11acb: 83 7d e8 00 cmpl $0x0,0xffffffe8(%ebp) - 11acf: 74 36 je 11b07 <_periodic_link+0x82> - 11ad1: 8b 45 0c mov 0xc(%ebp),%eax - 11ad4: 3b 45 e8 cmp 0xffffffe8(%ebp),%eax - 11ad7: 74 2e je 11b07 <_periodic_link+0x82> - 11ad9: 8b 45 0c mov 0xc(%ebp),%eax - 11adc: 8b 55 e8 mov 0xffffffe8(%ebp),%edx - 11adf: 66 8b 40 2c mov 0x2c(%eax),%ax - 11ae3: 66 3b 42 2c cmp 0x2c(%edx),%ax - 11ae7: 76 02 jbe 11aeb <_periodic_link+0x66> - 11ae9: eb 1c jmp 11b07 <_periodic_link+0x82> - 11aeb: 8b 45 e8 mov 0xffffffe8(%ebp),%eax - 11aee: 83 c0 18 add $0x18,%eax - 11af1: 89 45 f0 mov %eax,0xfffffff0(%ebp) - 11af4: 8b 45 e8 mov 0xffffffe8(%ebp),%eax - 11af7: 83 c0 0c add $0xc,%eax - 11afa: 89 45 ec mov %eax,0xffffffec(%ebp) - 11afd: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 11b00: 8b 00 mov (%eax),%eax - 11b02: 89 45 e8 mov %eax,0xffffffe8(%ebp) - 11b05: eb c4 jmp 11acb <_periodic_link+0x46> - 11b07: 8b 45 0c mov 0xc(%ebp),%eax - 11b0a: 3b 45 e8 cmp 0xffffffe8(%ebp),%eax - 11b0d: 74 2f je 11b3e <_periodic_link+0xb9> - 11b0f: 8b 55 0c mov 0xc(%ebp),%edx - 11b12: 8b 45 e8 mov 0xffffffe8(%ebp),%eax - 11b15: 89 42 18 mov %eax,0x18(%edx) - 11b18: 83 7d e8 00 cmpl $0x0,0xffffffe8(%ebp) - 11b1c: 74 0b je 11b29 <_periodic_link+0xa4> - 11b1e: 8b 45 0c mov 0xc(%ebp),%eax - 11b21: 8b 55 ec mov 0xffffffec(%ebp),%edx - 11b24: 8b 12 mov (%edx),%edx - 11b26: 89 50 0c mov %edx,0xc(%eax) - 11b29: 8b 55 f0 mov 0xfffffff0(%ebp),%edx - 11b2c: 8b 45 0c mov 0xc(%ebp),%eax - 11b2f: 89 02 mov %eax,(%edx) - 11b31: 8b 55 ec mov 0xffffffec(%ebp),%edx - 11b34: 8b 45 0c mov 0xc(%ebp),%eax - 11b37: 83 c0 10 add $0x10,%eax - 11b3a: 8b 00 mov (%eax),%eax - 11b3c: 89 02 mov %eax,(%edx) - 11b3e: 8b 5d 08 mov 0x8(%ebp),%ebx - 11b41: 8b 75 f4 mov 0xfffffff4(%ebp),%esi - 11b44: 8b 55 08 mov 0x8(%ebp),%edx - 11b47: 8b 4d f4 mov 0xfffffff4(%ebp),%ecx - 11b4a: 8b 45 0c mov 0xc(%ebp),%eax - 11b4d: 66 8b 40 2e mov 0x2e(%eax),%ax - 11b51: 25 ff ff 00 00 and $0xffff,%eax - 11b56: 03 84 8a ac 01 00 00 add 0x1ac(%edx,%ecx,4),%eax - 11b5d: 89 84 b3 ac 01 00 00 mov %eax,0x1ac(%ebx,%esi,4) - 11b64: 8b 45 0c mov 0xc(%ebp),%eax - 11b67: 66 8b 40 2c mov 0x2c(%eax),%ax - 11b6b: 89 c2 mov %eax,%edx - 11b6d: 81 e2 ff ff 00 00 and $0xffff,%edx - 11b73: 8d 45 f4 lea 0xfffffff4(%ebp),%eax - 11b76: 01 10 add %edx,(%eax) - 11b78: e9 1e ff ff ff jmp 11a9b <_periodic_link+0x16> - 11b7d: 8b 45 08 mov 0x8(%ebp),%eax - 11b80: 05 34 02 00 00 add $0x234,%eax - 11b85: 50 push %eax - 11b86: e8 f0 fa ff ff call 1167b <_hcd_to_bus> - 11b8b: 83 c4 04 add $0x4,%esp - 11b8e: 89 c3 mov %eax,%ebx - 11b90: 8b 45 0c mov 0xc(%ebp),%eax - 11b93: 8b 4d 0c mov 0xc(%ebp),%ecx - 11b96: 66 8b 40 2e mov 0x2e(%eax),%ax - 11b9a: ba 00 00 00 00 mov $0x0,%edx - 11b9f: 66 f7 71 2c divw 0x2c(%ecx) - 11ba3: 25 ff ff 00 00 and $0xffff,%eax - 11ba8: 01 43 34 add %eax,0x34(%ebx) - 11bab: 8d 65 f8 lea 0xfffffff8(%ebp),%esp - 11bae: 5b pop %ebx - 11baf: 5e pop %esi [truncated at 1000 lines; 3555 more skipped]
19 years, 10 months
1
0
0
0
[fireball] 13489: Deleted binaries, added ignore
by fireball@svn.reactos.com
Deleted binaries, added ignore Deleted: trunk/reactos/drivers/usb/cromwell/core/usbcore.a Deleted: trunk/reactos/drivers/usb/cromwell/core/usbcore.coff Deleted: trunk/reactos/drivers/usb/cromwell/core/usbcore.map Deleted: trunk/reactos/drivers/usb/cromwell/core/usbcore.nostrip.sys Deleted: trunk/reactos/drivers/usb/cromwell/core/usbcore.sym Deleted: trunk/reactos/drivers/usb/cromwell/core/usbcore.sys Property changes on: trunk/reactos/drivers/usb/cromwell/core ___________________________________________________________________ Name: svn:ignore + *.coff *.a *.d *.o *.sym *.sys *.map *.tmp _____ Deleted: trunk/reactos/drivers/usb/cromwell/core/usbcore.a (Binary files differ) _____ Deleted: trunk/reactos/drivers/usb/cromwell/core/usbcore.coff (Binary files differ) _____ Deleted: trunk/reactos/drivers/usb/cromwell/core/usbcore.map --- trunk/reactos/drivers/usb/cromwell/core/usbcore.map 2005-02-10 21:56:03 UTC (rev 13488) +++ trunk/reactos/drivers/usb/cromwell/core/usbcore.map 2005-02-10 22:05:40 UTC (rev 13489) @@ -1,11539 +0,0 @@ - -usbcore.nostrip.sys: file format pei-i386 - -Disassembly of section .text: - -00011000 <__end__>: - 11000: 55 push %ebp - 11001: 89 e5 mov %esp,%ebp - 11003: 83 ec 08 sub $0x8,%esp - 11006: 8b 45 08 mov 0x8(%ebp),%eax - 11009: 8b 40 54 mov 0x54(%eax),%eax - 1100c: 89 45 fc mov %eax,0xfffffffc(%ebp) - 1100f: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 11012: c7 40 04 01 00 00 00 movl $0x1,0x4(%eax) - 11019: 83 ec 0c sub $0xc,%esp - 1101c: ff 75 fc pushl 0xfffffffc(%ebp) - 1101f: e8 41 88 00 00 call 19865 <_my_wake_up> - 11024: 83 c4 10 add $0x10,%esp - 11027: c9 leave - 11028: c3 ret - -00011029 <_usb_start_wait_urb>: - 11029: 55 push %ebp - 1102a: 89 e5 mov %esp,%ebp - 1102c: 83 ec 18 sub $0x18,%esp - 1102f: c7 45 fc 00 00 00 00 movl $0x0,0xfffffffc(%ebp) - 11036: 8b 45 08 mov 0x8(%ebp),%eax - 11039: 8d 55 f8 lea 0xfffffff8(%ebp),%edx - 1103c: 89 50 54 mov %edx,0x54(%eax) - 1103f: 83 ec 08 sub $0x8,%esp - 11042: 6a 00 push $0x0 - 11044: ff 75 08 pushl 0x8(%ebp) - 11047: e8 57 71 00 00 call 181a3 <_usb_submit_urb@8> - 1104c: 83 c4 08 add $0x8,%esp - 1104f: 89 45 f4 mov %eax,0xfffffff4(%ebp) - 11052: 83 7d f4 00 cmpl $0x0,0xfffffff4(%ebp) - 11056: 74 19 je 11071 <_usb_start_wait_urb+0x48> - 11058: 83 ec 0c sub $0xc,%esp - 1105b: ff 75 08 pushl 0x8(%ebp) - 1105e: e8 d3 70 00 00 call 18136 <_usb_free_urb@4> - 11063: 83 c4 0c add $0xc,%esp - 11066: 8b 45 f4 mov 0xfffffff4(%ebp),%eax - 11069: 89 45 f0 mov %eax,0xfffffff0(%ebp) - 1106c: e9 bd 00 00 00 jmp 1112e <_usb_start_wait_urb+0x105> - 11071: 83 7d 0c 00 cmpl $0x0,0xc(%ebp) - 11075: 74 1f je 11096 <_usb_start_wait_urb+0x6d> - 11077: 83 7d fc 00 cmpl $0x0,0xfffffffc(%ebp) - 1107b: 75 19 jne 11096 <_usb_start_wait_urb+0x6d> - 1107d: 83 ec 0c sub $0xc,%esp - 11080: ff 75 0c pushl 0xc(%ebp) - 11083: e8 ec 87 00 00 call 19874 <_my_schedule_timeout> - 11088: 83 c4 10 add $0x10,%esp - 1108b: 89 45 0c mov %eax,0xc(%ebp) - 1108e: f0 83 44 24 00 00 lock addl $0x0,0x0(%esp,1) - 11094: eb db jmp 11071 <_usb_start_wait_urb+0x48> - 11096: 83 7d 0c 00 cmpl $0x0,0xc(%ebp) - 1109a: 75 64 jne 11100 <_usb_start_wait_urb+0xd7> - 1109c: 83 7d fc 00 cmpl $0x0,0xfffffffc(%ebp) - 110a0: 75 5e jne 11100 <_usb_start_wait_urb+0xd7> - 110a2: 8b 45 08 mov 0x8(%ebp),%eax - 110a5: 83 78 1c 8d cmpl $0xffffff8d,0x1c(%eax) - 110a9: 74 3e je 110e9 <_usb_start_wait_urb+0xc0> - 110ab: 83 ec 04 sub $0x4,%esp - 110ae: 6a 45 push $0x45 - 110b0: 68 00 b0 01 00 push $0x1b000 - 110b5: 68 0a b0 01 00 push $0x1b00a - 110ba: e8 a1 89 00 00 call 19a60 <_DbgPrint> - 110bf: 83 c4 10 add $0x10,%esp - 110c2: ff 75 0c pushl 0xc(%ebp) - 110c5: 8b 45 08 mov 0x8(%ebp),%eax - 110c8: ff 70 1c pushl 0x1c(%eax) - 110cb: 8b 45 08 mov 0x8(%ebp),%eax - 110ce: ff 70 18 pushl 0x18(%eax) - 110d1: 68 14 b0 01 00 push $0x1b014 - 110d6: e8 85 89 00 00 call 19a60 <_DbgPrint> - 110db: 83 c4 10 add $0x10,%esp - 110de: 8b 45 08 mov 0x8(%ebp),%eax - 110e1: 8b 40 1c mov 0x1c(%eax),%eax - 110e4: 89 45 f4 mov %eax,0xfffffff4(%ebp) - 110e7: eb 20 jmp 11109 <_usb_start_wait_urb+0xe0> - 110e9: 83 ec 0c sub $0xc,%esp - 110ec: ff 75 08 pushl 0x8(%ebp) - 110ef: e8 c6 73 00 00 call 184ba <_usb_unlink_urb@4> - 110f4: 83 c4 0c add $0xc,%esp - 110f7: c7 45 f4 92 ff ff ff movl $0xffffff92,0xfffffff4(%ebp) - 110fe: eb 09 jmp 11109 <_usb_start_wait_urb+0xe0> - 11100: 8b 45 08 mov 0x8(%ebp),%eax - 11103: 8b 40 1c mov 0x1c(%eax),%eax - 11106: 89 45 f4 mov %eax,0xfffffff4(%ebp) - 11109: 83 7d 10 00 cmpl $0x0,0x10(%ebp) - 1110d: 74 0b je 1111a <_usb_start_wait_urb+0xf1> - 1110f: 8b 45 10 mov 0x10(%ebp),%eax - 11112: 8b 55 08 mov 0x8(%ebp),%edx - 11115: 8b 52 30 mov 0x30(%edx),%edx - 11118: 89 10 mov %edx,(%eax) - 1111a: 83 ec 0c sub $0xc,%esp - 1111d: ff 75 08 pushl 0x8(%ebp) - 11120: e8 11 70 00 00 call 18136 <_usb_free_urb@4> - 11125: 83 c4 0c add $0xc,%esp - 11128: 8b 45 f4 mov 0xfffffff4(%ebp),%eax - 1112b: 89 45 f0 mov %eax,0xfffffff0(%ebp) - 1112e: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 11131: c9 leave - 11132: c3 ret - -00011133 <_usb_internal_control_msg>: - 11133: 55 push %ebp - 11134: 89 e5 mov %esp,%ebp - 11136: 83 ec 18 sub $0x18,%esp - 11139: 83 ec 08 sub $0x8,%esp - 1113c: 6a 00 push $0x0 - 1113e: 6a 00 push $0x0 - 11140: e8 a7 6f 00 00 call 180ec <_usb_alloc_urb@8> - 11145: 83 c4 08 add $0x8,%esp - 11148: 89 45 fc mov %eax,0xfffffffc(%ebp) - 1114b: 83 7d fc 00 cmpl $0x0,0xfffffffc(%ebp) - 1114f: 75 09 jne 1115a <_usb_internal_control_msg+0x27> - 11151: c7 45 f0 f4 ff ff ff movl $0xfffffff4,0xfffffff0(%ebp) - 11158: eb 4d jmp 111a7 <_usb_internal_control_msg+0x74> - 1115a: 6a 00 push $0x0 - 1115c: 68 00 10 01 00 push $0x11000 - 11161: ff 75 18 pushl 0x18(%ebp) - 11164: ff 75 14 pushl 0x14(%ebp) - 11167: ff 75 10 pushl 0x10(%ebp) - 1116a: ff 75 0c pushl 0xc(%ebp) - 1116d: ff 75 08 pushl 0x8(%ebp) - 11170: ff 75 fc pushl 0xfffffffc(%ebp) - 11173: e8 34 00 00 00 call 111ac <_usb_fill_control_urb> - 11178: 83 c4 20 add $0x20,%esp - 1117b: 83 ec 04 sub $0x4,%esp - 1117e: 8d 45 f4 lea 0xfffffff4(%ebp),%eax - 11181: 50 push %eax - 11182: ff 75 1c pushl 0x1c(%ebp) - 11185: ff 75 fc pushl 0xfffffffc(%ebp) - 11188: e8 9c fe ff ff call 11029 <_usb_start_wait_urb> - 1118d: 83 c4 10 add $0x10,%esp - 11190: 89 45 f8 mov %eax,0xfffffff8(%ebp) - 11193: 83 7d f8 00 cmpl $0x0,0xfffffff8(%ebp) - 11197: 79 08 jns 111a1 <_usb_internal_control_msg+0x6e> - 11199: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 1119c: 89 45 f0 mov %eax,0xfffffff0(%ebp) - 1119f: eb 06 jmp 111a7 <_usb_internal_control_msg+0x74> - 111a1: 8b 45 f4 mov 0xfffffff4(%ebp),%eax - 111a4: 89 45 f0 mov %eax,0xfffffff0(%ebp) - 111a7: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 111aa: c9 leave - 111ab: c3 ret - -000111ac <_usb_fill_control_urb>: - 111ac: 55 push %ebp - 111ad: 89 e5 mov %esp,%ebp - 111af: 8b 55 08 mov 0x8(%ebp),%edx - 111b2: 8b 45 0c mov 0xc(%ebp),%eax - 111b5: 89 42 14 mov %eax,0x14(%edx) - 111b8: 8b 55 08 mov 0x8(%ebp),%edx - 111bb: 8b 45 10 mov 0x10(%ebp),%eax - 111be: 89 42 18 mov %eax,0x18(%edx) - 111c1: 8b 55 08 mov 0x8(%ebp),%edx - 111c4: 8b 45 14 mov 0x14(%ebp),%eax - 111c7: 89 42 38 mov %eax,0x38(%edx) - 111ca: 8b 55 08 mov 0x8(%ebp),%edx - 111cd: 8b 45 18 mov 0x18(%ebp),%eax - 111d0: 89 42 24 mov %eax,0x24(%edx) - 111d3: 8b 55 08 mov 0x8(%ebp),%edx - 111d6: 8b 45 1c mov 0x1c(%ebp),%eax - 111d9: 89 42 2c mov %eax,0x2c(%edx) - 111dc: 8b 55 08 mov 0x8(%ebp),%edx - 111df: 8b 45 20 mov 0x20(%ebp),%eax - 111e2: 89 42 58 mov %eax,0x58(%edx) - 111e5: 8b 55 08 mov 0x8(%ebp),%edx - 111e8: 8b 45 24 mov 0x24(%ebp),%eax - 111eb: 89 42 54 mov %eax,0x54(%edx) - 111ee: 5d pop %ebp - 111ef: c3 ret - -000111f0 <_usb_control_msg>: - 111f0: 55 push %ebp - 111f1: 89 e5 mov %esp,%ebp - 111f3: 56 push %esi - 111f4: 53 push %ebx - 111f5: 83 ec 20 sub $0x20,%esp - 111f8: 8b 45 10 mov 0x10(%ebp),%eax - 111fb: 8b 55 14 mov 0x14(%ebp),%edx - 111fe: 8b 4d 18 mov 0x18(%ebp),%ecx - 11201: 8b 5d 1c mov 0x1c(%ebp),%ebx - 11204: 8b 75 24 mov 0x24(%ebp),%esi - 11207: 88 45 f7 mov %al,0xfffffff7(%ebp) - 1120a: 88 55 f6 mov %dl,0xfffffff6(%ebp) - 1120d: 66 89 4d f4 mov %cx,0xfffffff4(%ebp) - 11211: 66 89 5d f2 mov %bx,0xfffffff2(%ebp) - 11215: 66 89 75 f0 mov %si,0xfffffff0(%ebp) - 11219: 83 ec 08 sub $0x8,%esp - 1121c: 6a 08 push $0x8 - 1121e: 6a 01 push $0x1 - 11220: e8 0b 88 00 00 call 19a30 <_ExAllocatePool@8> - 11225: 83 c4 08 add $0x8,%esp - 11228: 89 45 ec mov %eax,0xffffffec(%ebp) - 1122b: 83 7d ec 00 cmpl $0x0,0xffffffec(%ebp) - 1122f: 75 09 jne 1123a <_usb_control_msg+0x4a> - 11231: c7 45 e4 f4 ff ff ff movl $0xfffffff4,0xffffffe4(%ebp) - 11238: eb 6a jmp 112a4 <_usb_control_msg+0xb4> - 1123a: 8b 55 ec mov 0xffffffec(%ebp),%edx - 1123d: 8a 45 f6 mov 0xfffffff6(%ebp),%al - 11240: 88 02 mov %al,(%edx) - 11242: 8b 55 ec mov 0xffffffec(%ebp),%edx - 11245: 8a 45 f7 mov 0xfffffff7(%ebp),%al - 11248: 88 42 01 mov %al,0x1(%edx) - 1124b: 8b 55 ec mov 0xffffffec(%ebp),%edx - 1124e: 8b 45 f4 mov 0xfffffff4(%ebp),%eax - 11251: 66 89 42 02 mov %ax,0x2(%edx) - 11255: 8b 55 ec mov 0xffffffec(%ebp),%edx - 11258: 66 8b 45 f2 mov 0xfffffff2(%ebp),%ax - 1125c: 66 89 42 04 mov %ax,0x4(%edx) - 11260: 8b 55 ec mov 0xffffffec(%ebp),%edx - 11263: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 11266: 66 89 42 06 mov %ax,0x6(%edx) - 1126a: 83 ec 08 sub $0x8,%esp - 1126d: ff 75 28 pushl 0x28(%ebp) - 11270: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 11273: 25 ff ff 00 00 and $0xffff,%eax - 11278: 50 push %eax - 11279: ff 75 20 pushl 0x20(%ebp) - 1127c: ff 75 ec pushl 0xffffffec(%ebp) - 1127f: ff 75 0c pushl 0xc(%ebp) - 11282: ff 75 08 pushl 0x8(%ebp) - 11285: e8 a9 fe ff ff call 11133 <_usb_internal_control_msg> - 1128a: 83 c4 20 add $0x20,%esp - 1128d: 89 45 e8 mov %eax,0xffffffe8(%ebp) - 11290: 83 ec 0c sub $0xc,%esp - 11293: ff 75 ec pushl 0xffffffec(%ebp) - 11296: e8 a5 87 00 00 call 19a40 <_ExFreePool@4> - 1129b: 83 c4 0c add $0xc,%esp - 1129e: 8b 45 e8 mov 0xffffffe8(%ebp),%eax - 112a1: 89 45 e4 mov %eax,0xffffffe4(%ebp) - 112a4: 8b 45 e4 mov 0xffffffe4(%ebp),%eax - 112a7: 8d 65 f8 lea 0xfffffff8(%ebp),%esp - 112aa: 5b pop %ebx - 112ab: 5e pop %esi - 112ac: 5d pop %ebp - 112ad: c3 ret - -000112ae <_usb_bulk_msg>: - 112ae: 55 push %ebp - 112af: 89 e5 mov %esp,%ebp - 112b1: 83 ec 08 sub $0x8,%esp - 112b4: 83 7d 14 00 cmpl $0x0,0x14(%ebp) - 112b8: 79 09 jns 112c3 <_usb_bulk_msg+0x15> - 112ba: c7 45 f8 ea ff ff ff movl $0xffffffea,0xfffffff8(%ebp) - 112c1: eb 59 jmp 1131c <_usb_bulk_msg+0x6e> - 112c3: 83 ec 08 sub $0x8,%esp - 112c6: 6a 00 push $0x0 - 112c8: 6a 00 push $0x0 - 112ca: e8 1d 6e 00 00 call 180ec <_usb_alloc_urb@8> - 112cf: 83 c4 08 add $0x8,%esp - 112d2: 89 45 fc mov %eax,0xfffffffc(%ebp) - 112d5: 83 7d fc 00 cmpl $0x0,0xfffffffc(%ebp) - 112d9: 75 09 jne 112e4 <_usb_bulk_msg+0x36> - 112db: c7 45 f8 f4 ff ff ff movl $0xfffffff4,0xfffffff8(%ebp) - 112e2: eb 38 jmp 1131c <_usb_bulk_msg+0x6e> - 112e4: 83 ec 04 sub $0x4,%esp - 112e7: 6a 00 push $0x0 - 112e9: 68 00 10 01 00 push $0x11000 - 112ee: ff 75 14 pushl 0x14(%ebp) - 112f1: ff 75 10 pushl 0x10(%ebp) - 112f4: ff 75 0c pushl 0xc(%ebp) - 112f7: ff 75 08 pushl 0x8(%ebp) - 112fa: ff 75 fc pushl 0xfffffffc(%ebp) - 112fd: e8 1f 00 00 00 call 11321 <_usb_fill_bulk_urb> - 11302: 83 c4 20 add $0x20,%esp - 11305: 83 ec 04 sub $0x4,%esp - 11308: ff 75 18 pushl 0x18(%ebp) - 1130b: ff 75 1c pushl 0x1c(%ebp) - 1130e: ff 75 fc pushl 0xfffffffc(%ebp) - 11311: e8 13 fd ff ff call 11029 <_usb_start_wait_urb> - 11316: 83 c4 10 add $0x10,%esp - 11319: 89 45 f8 mov %eax,0xfffffff8(%ebp) - 1131c: 8b 45 f8 mov 0xfffffff8(%ebp),%eax - 1131f: c9 leave - 11320: c3 ret - -00011321 <_usb_fill_bulk_urb>: - 11321: 55 push %ebp - 11322: 89 e5 mov %esp,%ebp - 11324: 8b 55 08 mov 0x8(%ebp),%edx - 11327: 8b 45 0c mov 0xc(%ebp),%eax - 1132a: 89 42 14 mov %eax,0x14(%edx) - 1132d: 8b 55 08 mov 0x8(%ebp),%edx - 11330: 8b 45 10 mov 0x10(%ebp),%eax - 11333: 89 42 18 mov %eax,0x18(%edx) - 11336: 8b 55 08 mov 0x8(%ebp),%edx - 11339: 8b 45 14 mov 0x14(%ebp),%eax - 1133c: 89 42 24 mov %eax,0x24(%edx) - 1133f: 8b 55 08 mov 0x8(%ebp),%edx - 11342: 8b 45 18 mov 0x18(%ebp),%eax - 11345: 89 42 2c mov %eax,0x2c(%edx) - 11348: 8b 55 08 mov 0x8(%ebp),%edx - 1134b: 8b 45 1c mov 0x1c(%ebp),%eax - 1134e: 89 42 58 mov %eax,0x58(%edx) - 11351: 8b 55 08 mov 0x8(%ebp),%edx - 11354: 8b 45 20 mov 0x20(%ebp),%eax - 11357: 89 42 54 mov %eax,0x54(%edx) - 1135a: 5d pop %ebp - 1135b: c3 ret - -0001135c <_usb_get_descriptor>: - 1135c: 55 push %ebp - 1135d: 89 e5 mov %esp,%ebp - 1135f: 83 ec 18 sub $0x18,%esp - 11362: 8b 45 0c mov 0xc(%ebp),%eax - 11365: 8b 55 10 mov 0x10(%ebp),%edx - 11368: 88 45 ff mov %al,0xffffffff(%ebp) - 1136b: 88 55 fe mov %dl,0xfffffffe(%ebp) - 1136e: c7 45 f8 05 00 00 00 movl $0x5,0xfffffff8(%ebp) - 11375: 83 ec 04 sub $0x4,%esp - 11378: ff 75 18 pushl 0x18(%ebp) - 1137b: 6a 00 push $0x0 - 1137d: ff 75 14 pushl 0x14(%ebp) - 11380: e8 cb 86 00 00 call 19a50 <_memset> - 11385: 83 c4 10 add $0x10,%esp - 11388: 8d 45 f8 lea 0xfffffff8(%ebp),%eax - 1138b: ff 08 decl (%eax) - 1138d: 83 7d f8 ff cmpl $0xffffffff,0xfffffff8(%ebp) - 11391: 74 69 je 113fc <_usb_get_descriptor+0xa0> - 11393: 83 ec 0c sub $0xc,%esp - 11396: 68 f4 01 00 00 push $0x1f4 - 1139b: 8b 45 18 mov 0x18(%ebp),%eax - 1139e: 25 ff ff 00 00 and $0xffff,%eax - 113a3: 50 push %eax - 113a4: ff 75 14 pushl 0x14(%ebp) - 113a7: 6a 00 push $0x0 - 113a9: b8 00 00 00 00 mov $0x0,%eax - 113ae: 8a 45 ff mov 0xffffffff(%ebp),%al - 113b1: 89 c2 mov %eax,%edx - 113b3: c1 e2 08 shl $0x8,%edx - 113b6: b8 00 00 00 00 mov $0x0,%eax - 113bb: 8a 45 fe mov 0xfffffffe(%ebp),%al - 113be: 01 d0 add %edx,%eax - 113c0: 25 ff ff 00 00 and $0xffff,%eax - 113c5: 50 push %eax - 113c6: 68 80 00 00 00 push $0x80 - 113cb: 6a 06 push $0x6 - 113cd: 6a 00 push $0x0 - 113cf: ff 75 08 pushl 0x8(%ebp) - 113d2: e8 2a 00 00 00 call 11401 <___create_pipe> - 113d7: 83 c4 08 add $0x8,%esp - 113da: 0d 80 00 00 80 or $0x80000080,%eax - 113df: 50 push %eax - 113e0: ff 75 08 pushl 0x8(%ebp) - 113e3: e8 08 fe ff ff call 111f0 <_usb_control_msg> - 113e8: 83 c4 30 add $0x30,%esp - 113eb: 89 45 f4 mov %eax,0xfffffff4(%ebp) - 113ee: 83 7d f4 00 cmpl $0x0,0xfffffff4(%ebp) - 113f2: 7f 08 jg 113fc <_usb_get_descriptor+0xa0> - 113f4: 83 7d f4 e0 cmpl $0xffffffe0,0xfffffff4(%ebp) - 113f8: 74 02 je 113fc <_usb_get_descriptor+0xa0> - 113fa: eb 8c jmp 11388 <_usb_get_descriptor+0x2c> - 113fc: 8b 45 f4 mov 0xfffffff4(%ebp),%eax - 113ff: c9 leave - 11400: c3 ret - -00011401 <___create_pipe>: - 11401: 55 push %ebp - 11402: 89 e5 mov %esp,%ebp - 11404: 8b 45 08 mov 0x8(%ebp),%eax - 11407: 8b 00 mov (%eax),%eax - 11409: c1 e0 08 shl $0x8,%eax - 1140c: 8b 55 0c mov 0xc(%ebp),%edx - 1140f: c1 e2 0f shl $0xf,%edx - 11412: 09 d0 or %edx,%eax - 11414: 5d pop %ebp - 11415: c3 ret - -00011416 <_usb_get_string>: - 11416: 55 push %ebp - 11417: 89 e5 mov %esp,%ebp - 11419: 83 ec 08 sub $0x8,%esp - 1141c: 8b 45 0c mov 0xc(%ebp),%eax - 1141f: 8b 55 10 mov 0x10(%ebp),%edx - 11422: 66 89 45 fe mov %ax,0xfffffffe(%ebp) - 11426: 88 55 fd mov %dl,0xfffffffd(%ebp) - 11429: 83 ec 0c sub $0xc,%esp - 1142c: 68 f4 01 00 00 push $0x1f4 - 11431: 8b 45 18 mov 0x18(%ebp),%eax - 11434: 25 ff ff 00 00 and $0xffff,%eax - 11439: 50 push %eax - 1143a: ff 75 14 pushl 0x14(%ebp) - 1143d: 66 8b 45 fe mov 0xfffffffe(%ebp),%ax - 11441: 25 ff ff 00 00 and $0xffff,%eax - 11446: 50 push %eax - 11447: b8 00 00 00 00 mov $0x0,%eax - 1144c: 8a 45 fd mov 0xfffffffd(%ebp),%al - 1144f: 05 00 03 00 00 add $0x300,%eax - 11454: 25 ff ff 00 00 and $0xffff,%eax - 11459: 50 push %eax - 1145a: 68 80 00 00 00 push $0x80 - 1145f: 6a 06 push $0x6 - 11461: 6a 00 push $0x0 - 11463: ff 75 08 pushl 0x8(%ebp) - 11466: e8 96 ff ff ff call 11401 <___create_pipe> - 1146b: 83 c4 08 add $0x8,%esp - 1146e: 0d 80 00 00 80 or $0x80000080,%eax - 11473: 50 push %eax - 11474: ff 75 08 pushl 0x8(%ebp) - 11477: e8 74 fd ff ff call 111f0 <_usb_control_msg> - 1147c: 83 c4 30 add $0x30,%esp - 1147f: c9 leave - 11480: c3 ret - -00011481 <_usb_get_device_descriptor>: - 11481: 55 push %ebp - 11482: 89 e5 mov %esp,%ebp - 11484: 83 ec 08 sub $0x8,%esp - 11487: 83 ec 0c sub $0xc,%esp - 1148a: 6a 12 push $0x12 - 1148c: 8b 45 08 mov 0x8(%ebp),%eax - 1148f: 05 70 01 00 00 add $0x170,%eax - 11494: 50 push %eax - 11495: 6a 00 push $0x0 - 11497: 6a 01 push $0x1 - 11499: ff 75 08 pushl 0x8(%ebp) - 1149c: e8 bb fe ff ff call 1135c <_usb_get_descriptor> - 114a1: 83 c4 20 add $0x20,%esp - 114a4: 89 45 fc mov %eax,0xfffffffc(%ebp) - 114a7: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 114aa: c9 leave - 114ab: c3 ret - -000114ac <_usb_get_status>: - 114ac: 55 push %ebp - 114ad: 89 e5 mov %esp,%ebp - 114af: 83 ec 08 sub $0x8,%esp - 114b2: 83 ec 0c sub $0xc,%esp - 114b5: 68 f4 01 00 00 push $0x1f4 - 114ba: 6a 02 push $0x2 - 114bc: ff 75 14 pushl 0x14(%ebp) - 114bf: 8b 45 10 mov 0x10(%ebp),%eax - 114c2: 25 ff ff 00 00 and $0xffff,%eax - 114c7: 50 push %eax - 114c8: 6a 00 push $0x0 - 114ca: 8b 55 0c mov 0xc(%ebp),%edx - 114cd: b0 80 mov $0x80,%al - 114cf: 09 d0 or %edx,%eax - 114d1: 25 ff 00 00 00 and $0xff,%eax - 114d6: 50 push %eax - 114d7: 6a 00 push $0x0 - 114d9: 6a 00 push $0x0 - 114db: ff 75 08 pushl 0x8(%ebp) - 114de: e8 1e ff ff ff call 11401 <___create_pipe> - 114e3: 83 c4 08 add $0x8,%esp - 114e6: 0d 80 00 00 80 or $0x80000080,%eax - 114eb: 50 push %eax - 114ec: ff 75 08 pushl 0x8(%ebp) - 114ef: e8 fc fc ff ff call 111f0 <_usb_control_msg> - 114f4: 83 c4 30 add $0x30,%esp - 114f7: c9 leave - 114f8: c3 ret - -000114f9 <_usb_set_maxpacket>: - 114f9: 55 push %ebp - 114fa: 89 e5 mov %esp,%ebp - 114fc: 53 push %ebx - 114fd: 83 ec 1c sub $0x1c,%esp - 11500: c7 45 f8 00 00 00 00 movl $0x0,0xfffffff8(%ebp) - 11507: 8b 45 08 mov 0x8(%ebp),%eax - 1150a: 8b 80 88 01 00 00 mov 0x188(%eax),%eax - 11510: 8a 40 04 mov 0x4(%eax),%al - 11513: 25 ff 00 00 00 and $0xff,%eax - 11518: 3b 45 f8 cmp 0xfffffff8(%ebp),%eax - 1151b: 0f 8e 49 01 00 00 jle 1166a <_usb_set_maxpacket+0x171> - 11521: 8b 45 08 mov 0x8(%ebp),%eax - 11524: 8b 98 88 01 00 00 mov 0x188(%eax),%ebx - 1152a: 8b 4d f8 mov 0xfffffff8(%ebp),%ecx - 1152d: 89 c8 mov %ecx,%eax - 1152f: c1 e0 02 shl $0x2,%eax - 11532: 01 c8 add %ecx,%eax - 11534: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx - 1153b: 01 d0 add %edx,%eax - 1153d: 01 c0 add %eax,%eax - 1153f: 01 c8 add %ecx,%eax - 11541: c1 e0 02 shl $0x2,%eax - 11544: 03 43 0c add 0xc(%ebx),%eax - 11547: 89 45 f0 mov %eax,0xfffffff0(%ebp) - 1154a: 8b 4d f0 mov 0xfffffff0(%ebp),%ecx - 1154d: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 11550: 8b 50 04 mov 0x4(%eax),%edx - 11553: 89 d0 mov %edx,%eax - 11555: 01 c0 add %eax,%eax - 11557: 01 d0 add %edx,%eax - 11559: c1 e0 03 shl $0x3,%eax - 1155c: 03 01 add (%ecx),%eax - 1155e: 89 45 ec mov %eax,0xffffffec(%ebp) - 11561: 8b 45 ec mov 0xffffffec(%ebp),%eax - 11564: 8b 40 0c mov 0xc(%eax),%eax - 11567: 89 45 e8 mov %eax,0xffffffe8(%ebp) - 1156a: c7 45 e4 00 00 00 00 movl $0x0,0xffffffe4(%ebp) - 11571: 8b 45 ec mov 0xffffffec(%ebp),%eax - 11574: 8a 40 04 mov 0x4(%eax),%al - 11577: 25 ff 00 00 00 and $0xff,%eax - 1157c: 3b 45 e4 cmp 0xffffffe4(%ebp),%eax - 1157f: 0f 8e db 00 00 00 jle 11660 <_usb_set_maxpacket+0x167> - 11585: 8b 55 e4 mov 0xffffffe4(%ebp),%edx - 11588: 89 d0 mov %edx,%eax - 1158a: c1 e0 02 shl $0x2,%eax - 1158d: 01 d0 add %edx,%eax - 1158f: c1 e0 02 shl $0x2,%eax - 11592: 03 45 e8 add 0xffffffe8(%ebp),%eax - 11595: 89 45 e0 mov %eax,0xffffffe0(%ebp) - 11598: 8b 45 e0 mov 0xffffffe0(%ebp),%eax - 1159b: 8a 40 02 mov 0x2(%eax),%al - 1159e: 25 ff 00 00 00 and $0xff,%eax - 115a3: 83 e0 0f and $0xf,%eax - 115a6: 89 45 f4 mov %eax,0xfffffff4(%ebp) - 115a9: 8b 45 e0 mov 0xffffffe0(%ebp),%eax - 115ac: 8a 40 03 mov 0x3(%eax),%al - 115af: 25 ff 00 00 00 and $0xff,%eax - 115b4: 83 e0 03 and $0x3,%eax - 115b7: 85 c0 test %eax,%eax - 115b9: 75 2e jne 115e9 <_usb_set_maxpacket+0xf0> - 115bb: 8b 55 08 mov 0x8(%ebp),%edx - 115be: 8b 4d f4 mov 0xfffffff4(%ebp),%ecx - 115c1: 8b 45 e0 mov 0xffffffe0(%ebp),%eax - 115c4: 66 8b 40 04 mov 0x4(%eax),%ax - 115c8: 25 ff ff 00 00 and $0xffff,%eax - 115cd: 89 44 8a 78 mov %eax,0x78(%edx,%ecx,4) - 115d1: 8b 55 08 mov 0x8(%ebp),%edx - 115d4: 8b 4d f4 mov 0xfffffff4(%ebp),%ecx - 115d7: 8b 45 e0 mov 0xffffffe0(%ebp),%eax - 115da: 66 8b 40 04 mov 0x4(%eax),%ax - 115de: 25 ff ff 00 00 and $0xffff,%eax - 115e3: 89 44 8a 38 mov %eax,0x38(%edx,%ecx,4) - 115e7: eb 6d jmp 11656 <_usb_set_maxpacket+0x15d> - 115e9: 8b 45 e0 mov 0xffffffe0(%ebp),%eax - 115ec: 80 78 02 00 cmpb $0x0,0x2(%eax) - 115f0: 78 33 js 11625 <_usb_set_maxpacket+0x12c> - 115f2: 8b 45 e0 mov 0xffffffe0(%ebp),%eax - 115f5: 66 8b 40 04 mov 0x4(%eax),%ax - 115f9: 89 c1 mov %eax,%ecx - 115fb: 81 e1 ff ff 00 00 and $0xffff,%ecx - 11601: 8b 55 08 mov 0x8(%ebp),%edx - 11604: 8b 45 f4 mov 0xfffffff4(%ebp),%eax - 11607: 3b 4c 82 78 cmp 0x78(%edx,%eax,4),%ecx - 1160b: 7e 49 jle 11656 <_usb_set_maxpacket+0x15d> - 1160d: 8b 55 08 mov 0x8(%ebp),%edx - 11610: 8b 4d f4 mov 0xfffffff4(%ebp),%ecx - 11613: 8b 45 e0 mov 0xffffffe0(%ebp),%eax - 11616: 66 8b 40 04 mov 0x4(%eax),%ax - 1161a: 25 ff ff 00 00 and $0xffff,%eax - 1161f: 89 44 8a 78 mov %eax,0x78(%edx,%ecx,4) - 11623: eb 31 jmp 11656 <_usb_set_maxpacket+0x15d> - 11625: 8b 45 e0 mov 0xffffffe0(%ebp),%eax - 11628: 66 8b 40 04 mov 0x4(%eax),%ax - 1162c: 89 c1 mov %eax,%ecx - 1162e: 81 e1 ff ff 00 00 and $0xffff,%ecx - 11634: 8b 55 08 mov 0x8(%ebp),%edx - 11637: 8b 45 f4 mov 0xfffffff4(%ebp),%eax - 1163a: 3b 4c 82 38 cmp 0x38(%edx,%eax,4),%ecx - 1163e: 7e 16 jle 11656 <_usb_set_maxpacket+0x15d> - 11640: 8b 55 08 mov 0x8(%ebp),%edx - 11643: 8b 4d f4 mov 0xfffffff4(%ebp),%ecx - 11646: 8b 45 e0 mov 0xffffffe0(%ebp),%eax - 11649: 66 8b 40 04 mov 0x4(%eax),%ax - 1164d: 25 ff ff 00 00 and $0xffff,%eax - 11652: 89 44 8a 38 mov %eax,0x38(%edx,%ecx,4) - 11656: 8d 45 e4 lea 0xffffffe4(%ebp),%eax - 11659: ff 00 incl (%eax) - 1165b: e9 11 ff ff ff jmp 11571 <_usb_set_maxpacket+0x78> - 11660: 8d 45 f8 lea 0xfffffff8(%ebp),%eax - 11663: ff 00 incl (%eax) - 11665: e9 9d fe ff ff jmp 11507 <_usb_set_maxpacket+0xe> - 1166a: 83 c4 1c add $0x1c,%esp - 1166d: 5b pop %ebx - 1166e: 5d pop %ebp - 1166f: c3 ret - -00011670 <_usb_clear_halt>: - 11670: 55 push %ebp - 11671: 89 e5 mov %esp,%ebp - 11673: 57 push %edi - 11674: 56 push %esi - 11675: 53 push %ebx - 11676: 83 ec 0c sub $0xc,%esp - 11679: 8b 45 0c mov 0xc(%ebp),%eax - 1167c: c1 f8 0f sar $0xf,%eax - 1167f: 83 e0 0f and $0xf,%eax - 11682: 89 45 ec mov %eax,0xffffffec(%ebp) - 11685: 8b 45 0c mov 0xc(%ebp),%eax - 11688: c1 e8 07 shr $0x7,%eax - 1168b: 83 e0 01 and $0x1,%eax - 1168e: 85 c0 test %eax,%eax - 11690: 74 09 je 1169b <_usb_clear_halt+0x2b> - 11692: 8d 45 ec lea 0xffffffec(%ebp),%eax - 11695: 81 08 80 00 00 00 orl $0x80,(%eax) - 1169b: 83 ec 0c sub $0xc,%esp - 1169e: 68 f4 01 00 00 push $0x1f4 - 116a3: 6a 00 push $0x0 - 116a5: 6a 00 push $0x0 - 116a7: 8b 45 ec mov 0xffffffec(%ebp),%eax - 116aa: 25 ff ff 00 00 and $0xffff,%eax - 116af: 50 push %eax - 116b0: 6a 00 push $0x0 - 116b2: 6a 02 push $0x2 - 116b4: 6a 01 push $0x1 - 116b6: 6a 00 push $0x0 - 116b8: ff 75 08 pushl 0x8(%ebp) - 116bb: e8 41 fd ff ff call 11401 <___create_pipe> - 116c0: 83 c4 08 add $0x8,%esp - 116c3: 0d 00 00 00 80 or $0x80000000,%eax - 116c8: 50 push %eax - 116c9: ff 75 08 pushl 0x8(%ebp) - 116cc: e8 1f fb ff ff call 111f0 <_usb_control_msg> - 116d1: 83 c4 30 add $0x30,%esp - 116d4: 89 45 f0 mov %eax,0xfffffff0(%ebp) - 116d7: 83 7d f0 00 cmpl $0x0,0xfffffff0(%ebp) - 116db: 79 0b jns 116e8 <_usb_clear_halt+0x78> - 116dd: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 116e0: 89 45 e8 mov %eax,0xffffffe8(%ebp) - 116e3: e9 83 00 00 00 jmp 1176b <_usb_clear_halt+0xfb> - 116e8: 8b 5d 08 mov 0x8(%ebp),%ebx - 116eb: 8b 45 0c mov 0xc(%ebp),%eax - 116ee: c1 e8 07 shr $0x7,%eax - 116f1: 83 f0 01 xor $0x1,%eax - 116f4: 89 c6 mov %eax,%esi - 116f6: 83 e6 01 and $0x1,%esi - 116f9: 8b 7d 08 mov 0x8(%ebp),%edi - 116fc: 8b 45 0c mov 0xc(%ebp),%eax - 116ff: c1 e8 07 shr $0x7,%eax - 11702: 83 f0 01 xor $0x1,%eax - 11705: 89 c2 mov %eax,%edx - 11707: 83 e2 01 and $0x1,%edx - 1170a: 8b 45 0c mov 0xc(%ebp),%eax - 1170d: c1 f8 0f sar $0xf,%eax - 11710: 89 c1 mov %eax,%ecx - 11712: 83 e1 0f and $0xf,%ecx - 11715: b8 01 00 00 00 mov $0x1,%eax - 1171a: d3 e0 shl %cl,%eax - 1171c: f7 d0 not %eax - 1171e: 23 44 97 28 and 0x28(%edi,%edx,4),%eax - 11722: 89 44 b3 28 mov %eax,0x28(%ebx,%esi,4) - 11726: 8b 5d 08 mov 0x8(%ebp),%ebx - 11729: 8b 45 0c mov 0xc(%ebp),%eax - 1172c: c1 e8 07 shr $0x7,%eax - 1172f: 83 f0 01 xor $0x1,%eax - 11732: 89 c6 mov %eax,%esi - 11734: 83 e6 01 and $0x1,%esi - 11737: 8b 7d 08 mov 0x8(%ebp),%edi - 1173a: 8b 45 0c mov 0xc(%ebp),%eax - 1173d: c1 e8 07 shr $0x7,%eax - 11740: 83 f0 01 xor $0x1,%eax - 11743: 89 c2 mov %eax,%edx - 11745: 83 e2 01 and $0x1,%edx - 11748: 8b 45 0c mov 0xc(%ebp),%eax - 1174b: c1 f8 0f sar $0xf,%eax - 1174e: 89 c1 mov %eax,%ecx - 11750: 83 e1 0f and $0xf,%ecx - 11753: b8 01 00 00 00 mov $0x1,%eax - 11758: d3 e0 shl %cl,%eax - 1175a: f7 d0 not %eax - 1175c: 23 44 97 30 and 0x30(%edi,%edx,4),%eax - 11760: 89 44 b3 30 mov %eax,0x30(%ebx,%esi,4) - 11764: c7 45 e8 00 00 00 00 movl $0x0,0xffffffe8(%ebp) - 1176b: 8b 45 e8 mov 0xffffffe8(%ebp),%eax - 1176e: 8d 65 f4 lea 0xfffffff4(%ebp),%esp - 11771: 5b pop %ebx - 11772: 5e pop %esi - 11773: 5f pop %edi - 11774: 5d pop %ebp - 11775: c3 ret - -00011776 <_usb_set_interface>: - 11776: 55 push %ebp - 11777: 89 e5 mov %esp,%ebp - 11779: 57 push %edi - 1177a: 56 push %esi - 1177b: 53 push %ebx - 1177c: 83 ec 3c sub $0x3c,%esp - 1177f: 8b 45 08 mov 0x8(%ebp),%eax - 11782: 8b 80 bc 00 00 00 mov 0xbc(%eax),%eax - 11788: 8b 40 20 mov 0x20(%eax),%eax - 1178b: 8b 40 1c mov 0x1c(%eax),%eax - 1178e: 89 45 e0 mov %eax,0xffffffe0(%ebp) - 11791: 83 ec 08 sub $0x8,%esp - 11794: ff 75 0c pushl 0xc(%ebp) - 11797: ff 75 08 pushl 0x8(%ebp) - 1179a: e8 d6 44 00 00 call 15c75 <_usb_ifnum_to_if> - 1179f: 83 c4 10 add $0x10,%esp - 117a2: 89 45 f0 mov %eax,0xfffffff0(%ebp) - 117a5: 83 7d f0 00 cmpl $0x0,0xfffffff0(%ebp) - 117a9: 75 0c jne 117b7 <_usb_set_interface+0x41> - 117ab: c7 45 d4 ea ff ff ff movl $0xffffffea,0xffffffd4(%ebp) - 117b2: e9 85 02 00 00 jmp 11a3c <_usb_set_interface+0x2c6> - 117b7: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 117ba: 83 78 08 01 cmpl $0x1,0x8(%eax) - 117be: 75 0c jne 117cc <_usb_set_interface+0x56> - 117c0: c7 45 d4 00 00 00 00 movl $0x0,0xffffffd4(%ebp) - 117c7: e9 70 02 00 00 jmp 11a3c <_usb_set_interface+0x2c6> - 117cc: 83 7d 10 00 cmpl $0x0,0x10(%ebp) - 117d0: 78 0d js 117df <_usb_set_interface+0x69> - 117d2: 8b 55 f0 mov 0xfffffff0(%ebp),%edx - 117d5: 8b 45 10 mov 0x10(%ebp),%eax - 117d8: 3b 42 08 cmp 0x8(%edx),%eax - 117db: 73 02 jae 117df <_usb_set_interface+0x69> - 117dd: eb 0c jmp 117eb <_usb_set_interface+0x75> - 117df: c7 45 d4 ea ff ff ff movl $0xffffffea,0xffffffd4(%ebp) - 117e6: e9 51 02 00 00 jmp 11a3c <_usb_set_interface+0x2c6> - 117eb: 83 ec 0c sub $0xc,%esp - 117ee: 68 f4 01 00 00 push $0x1f4 - 117f3: 6a 00 push $0x0 - 117f5: 6a 00 push $0x0 - 117f7: 8b 45 0c mov 0xc(%ebp),%eax - 117fa: 25 ff ff 00 00 and $0xffff,%eax - 117ff: 50 push %eax - 11800: 8b 4d f0 mov 0xfffffff0(%ebp),%ecx - 11803: 8b 55 10 mov 0x10(%ebp),%edx - 11806: 89 d0 mov %edx,%eax - 11808: 01 c0 add %eax,%eax - 1180a: 01 d0 add %edx,%eax - 1180c: 8d 14 c5 00 00 00 00 lea 0x0(,%eax,8),%edx - 11813: 8b 01 mov (%ecx),%eax - 11815: 8a 44 02 03 mov 0x3(%edx,%eax,1),%al - 11819: 25 ff 00 00 00 and $0xff,%eax - 1181e: 50 push %eax - 1181f: 6a 01 push $0x1 - 11821: 6a 0b push $0xb - 11823: 6a 00 push $0x0 - 11825: ff 75 08 pushl 0x8(%ebp) - 11828: e8 d4 fb ff ff call 11401 <___create_pipe> - 1182d: 83 c4 08 add $0x8,%esp - 11830: 0d 00 00 00 80 or $0x80000000,%eax - 11835: 50 push %eax - 11836: ff 75 08 pushl 0x8(%ebp) - 11839: e8 b2 f9 ff ff call 111f0 <_usb_control_msg> - 1183e: 83 c4 30 add $0x30,%esp - 11841: 89 45 e4 mov %eax,0xffffffe4(%ebp) - 11844: 83 7d e4 00 cmpl $0x0,0xffffffe4(%ebp) - 11848: 79 0b jns 11855 <_usb_set_interface+0xdf> - 1184a: 8b 45 e4 mov 0xffffffe4(%ebp),%eax - 1184d: 89 45 d4 mov %eax,0xffffffd4(%ebp) - 11850: e9 e7 01 00 00 jmp 11a3c <_usb_set_interface+0x2c6> - 11855: 8b 4d f0 mov 0xfffffff0(%ebp),%ecx - 11858: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 1185b: 8b 50 04 mov 0x4(%eax),%edx - 1185e: 89 d0 mov %edx,%eax - 11860: 01 c0 add %eax,%eax - 11862: 01 d0 add %edx,%eax - 11864: c1 e0 03 shl $0x3,%eax - 11867: 03 01 add (%ecx),%eax - 11869: 89 45 ec mov %eax,0xffffffec(%ebp) - 1186c: c7 45 e8 00 00 00 00 movl $0x0,0xffffffe8(%ebp) - 11873: 8b 45 ec mov 0xffffffec(%ebp),%eax - 11876: 8a 40 04 mov 0x4(%eax),%al - 11879: 25 ff 00 00 00 and $0xff,%eax - 1187e: 3b 45 e8 cmp 0xffffffe8(%ebp),%eax - 11881: 0f 8e 96 00 00 00 jle 1191d <_usb_set_interface+0x1a7> - 11887: 8b 4d ec mov 0xffffffec(%ebp),%ecx - 1188a: 8b 55 e8 mov 0xffffffe8(%ebp),%edx - 1188d: 89 d0 mov %edx,%eax - 1188f: c1 e0 02 shl $0x2,%eax - 11892: 01 d0 add %edx,%eax - 11894: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx - 1189b: 8b 41 0c mov 0xc(%ecx),%eax - 1189e: 8a 44 02 02 mov 0x2(%edx,%eax,1),%al - 118a2: 88 45 df mov %al,0xffffffdf(%ebp) - 118a5: 0f be 45 df movsbl 0xffffffdf(%ebp),%eax - 118a9: f7 d0 not %eax - 118ab: c1 e8 1f shr $0x1f,%eax - 118ae: 89 45 d8 mov %eax,0xffffffd8(%ebp) - 118b1: 83 7d e0 00 cmpl $0x0,0xffffffe0(%ebp) - 118b5: 74 17 je 118ce <_usb_set_interface+0x158> - 118b7: 83 ec 08 sub $0x8,%esp - 118ba: b8 00 00 00 00 mov $0x0,%eax - 118bf: 8a 45 df mov 0xffffffdf(%ebp),%al - 118c2: 50 push %eax - 118c3: ff 75 08 pushl 0x8(%ebp) - 118c6: 8b 45 e0 mov 0xffffffe0(%ebp),%eax - 118c9: ff d0 call *%eax - 118cb: 83 c4 10 add $0x10,%esp - 118ce: 8d 45 df lea 0xffffffdf(%ebp),%eax - 118d1: 80 20 0f andb $0xf,(%eax) - 118d4: b8 00 00 00 00 mov $0x0,%eax - 118d9: 8a 45 df mov 0xffffffdf(%ebp),%al - 118dc: 89 45 d0 mov %eax,0xffffffd0(%ebp) - 118df: 8b 45 d0 mov 0xffffffd0(%ebp),%eax - 118e2: c1 e0 02 shl $0x2,%eax - 118e5: 89 45 d0 mov %eax,0xffffffd0(%ebp) - 118e8: 83 7d d8 00 cmpl $0x0,0xffffffd8(%ebp) - 118ec: 74 0f je 118fd <_usb_set_interface+0x187> - 118ee: 8b 55 d0 mov 0xffffffd0(%ebp),%edx - 118f1: 03 55 08 add 0x8(%ebp),%edx - 118f4: 89 55 cc mov %edx,0xffffffcc(%ebp) - 118f7: 83 45 cc 78 addl $0x78,0xffffffcc(%ebp) - 118fb: eb 0d jmp 1190a <_usb_set_interface+0x194> - 118fd: 8b 45 d0 mov 0xffffffd0(%ebp),%eax - 11900: 03 45 08 add 0x8(%ebp),%eax - 11903: 89 45 cc mov %eax,0xffffffcc(%ebp) - 11906: 83 45 cc 38 addl $0x38,0xffffffcc(%ebp) - 1190a: 8b 55 cc mov 0xffffffcc(%ebp),%edx - 1190d: c7 02 00 00 00 00 movl $0x0,(%edx) - 11913: 8d 45 e8 lea 0xffffffe8(%ebp),%eax - 11916: ff 00 incl (%eax) - 11918: e9 56 ff ff ff jmp 11873 <_usb_set_interface+0xfd> - 1191d: 8b 55 f0 mov 0xfffffff0(%ebp),%edx - 11920: 8b 45 10 mov 0x10(%ebp),%eax - 11923: 89 42 04 mov %eax,0x4(%edx) - 11926: 8b 4d f0 mov 0xfffffff0(%ebp),%ecx - 11929: 8b 55 10 mov 0x10(%ebp),%edx - 1192c: 89 d0 mov %edx,%eax - 1192e: 01 c0 add %eax,%eax - 11930: 01 d0 add %edx,%eax - 11932: c1 e0 03 shl $0x3,%eax - 11935: 03 01 add (%ecx),%eax - 11937: 89 45 ec mov %eax,0xffffffec(%ebp) - 1193a: c7 45 e8 00 00 00 00 movl $0x0,0xffffffe8(%ebp) - 11941: 8b 45 ec mov 0xffffffec(%ebp),%eax - 11944: 8a 40 04 mov 0x4(%eax),%al - 11947: 25 ff 00 00 00 and $0xff,%eax - 1194c: 3b 45 e8 cmp 0xffffffe8(%ebp),%eax - 1194f: 0f 8e e0 00 00 00 jle 11a35 <_usb_set_interface+0x2bf> - 11955: 8b 4d ec mov 0xffffffec(%ebp),%ecx - 11958: 8b 55 e8 mov 0xffffffe8(%ebp),%edx - 1195b: 89 d0 mov %edx,%eax - 1195d: c1 e0 02 shl $0x2,%eax - 11960: 01 d0 add %edx,%eax - 11962: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx - 11969: 8b 41 0c mov 0xc(%ecx),%eax - 1196c: 8a 44 02 02 mov 0x2(%edx,%eax,1),%al - 11970: 88 45 df mov %al,0xffffffdf(%ebp) - 11973: 0f be 45 df movsbl 0xffffffdf(%ebp),%eax - 11977: f7 d0 not %eax - 11979: c1 e8 1f shr $0x1f,%eax - 1197c: 89 45 d8 mov %eax,0xffffffd8(%ebp) - 1197f: 8d 45 df lea 0xffffffdf(%ebp),%eax - 11982: 80 20 0f andb $0xf,(%eax) - 11985: 8b 5d 08 mov 0x8(%ebp),%ebx - 11988: 8b 75 d8 mov 0xffffffd8(%ebp),%esi - 1198b: 8b 7d 08 mov 0x8(%ebp),%edi - 1198e: 8b 55 d8 mov 0xffffffd8(%ebp),%edx - 11991: b9 00 00 00 00 mov $0x0,%ecx - 11996: 8a 4d df mov 0xffffffdf(%ebp),%cl - 11999: b8 01 00 00 00 mov $0x1,%eax - 1199e: d3 e0 shl %cl,%eax - 119a0: f7 d0 not %eax - 119a2: 23 44 97 28 and 0x28(%edi,%edx,4),%eax - 119a6: 89 44 b3 28 mov %eax,0x28(%ebx,%esi,4) - 119aa: b8 00 00 00 00 mov $0x0,%eax - 119af: 8a 45 df mov 0xffffffdf(%ebp),%al - 119b2: 89 45 c8 mov %eax,0xffffffc8(%ebp) - 119b5: 8b 45 c8 mov 0xffffffc8(%ebp),%eax - 119b8: c1 e0 02 shl $0x2,%eax - 119bb: 89 45 c8 mov %eax,0xffffffc8(%ebp) - 119be: 83 7d d8 00 cmpl $0x0,0xffffffd8(%ebp) - 119c2: 74 0f je 119d3 <_usb_set_interface+0x25d> - 119c4: 8b 55 c8 mov 0xffffffc8(%ebp),%edx - 119c7: 03 55 08 add 0x8(%ebp),%edx - 119ca: 89 55 c4 mov %edx,0xffffffc4(%ebp) - 119cd: 83 45 c4 78 addl $0x78,0xffffffc4(%ebp) - 119d1: eb 0d jmp 119e0 <_usb_set_interface+0x26a> - 119d3: 8b 45 c8 mov 0xffffffc8(%ebp),%eax - 119d6: 03 45 08 add 0x8(%ebp),%eax - 119d9: 89 45 c4 mov %eax,0xffffffc4(%ebp) - 119dc: 83 45 c4 38 addl $0x38,0xffffffc4(%ebp) - 119e0: 8b 4d ec mov 0xffffffec(%ebp),%ecx - 119e3: 8b 55 e8 mov 0xffffffe8(%ebp),%edx - 119e6: 89 d0 mov %edx,%eax - 119e8: c1 e0 02 shl $0x2,%eax - 119eb: 01 d0 add %edx,%eax - 119ed: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx - 119f4: 8b 41 0c mov 0xc(%ecx),%eax - 119f7: 66 8b 44 02 04 mov 0x4(%edx,%eax,1),%ax - 119fc: 25 ff ff 00 00 and $0xffff,%eax - 11a01: 8b 55 c4 mov 0xffffffc4(%ebp),%edx - 11a04: 89 02 mov %eax,(%edx) - 11a06: 8b 5d 08 mov 0x8(%ebp),%ebx - 11a09: 8b 75 d8 mov 0xffffffd8(%ebp),%esi - 11a0c: 8b 7d 08 mov 0x8(%ebp),%edi - 11a0f: 8b 55 d8 mov 0xffffffd8(%ebp),%edx - 11a12: b9 00 00 00 00 mov $0x0,%ecx - 11a17: 8a 4d df mov 0xffffffdf(%ebp),%cl - 11a1a: b8 01 00 00 00 mov $0x1,%eax - 11a1f: d3 e0 shl %cl,%eax - 11a21: f7 d0 not %eax - 11a23: 23 44 97 30 and 0x30(%edi,%edx,4),%eax - 11a27: 89 44 b3 30 mov %eax,0x30(%ebx,%esi,4) - 11a2b: 8d 45 e8 lea 0xffffffe8(%ebp),%eax - 11a2e: ff 00 incl (%eax) - 11a30: e9 0c ff ff ff jmp 11941 <_usb_set_interface+0x1cb> - 11a35: c7 45 d4 00 00 00 00 movl $0x0,0xffffffd4(%ebp) - 11a3c: 8b 45 d4 mov 0xffffffd4(%ebp),%eax - 11a3f: 8d 65 f4 lea 0xfffffff4(%ebp),%esp - 11a42: 5b pop %ebx - 11a43: 5e pop %esi - 11a44: 5f pop %edi - 11a45: 5d pop %ebp - 11a46: c3 ret - -00011a47 <_usb_set_configuration>: - 11a47: 55 push %ebp - 11a48: 89 e5 mov %esp,%ebp - 11a4a: 83 ec 18 sub $0x18,%esp - 11a4d: c7 45 f4 00 00 00 00 movl $0x0,0xfffffff4(%ebp) - 11a54: 8b 45 08 mov 0x8(%ebp),%eax - 11a57: 8b 80 bc 00 00 00 mov 0xbc(%eax),%eax - 11a5d: 8b 40 20 mov 0x20(%eax),%eax - 11a60: 8b 40 1c mov 0x1c(%eax),%eax - 11a63: 89 45 f0 mov %eax,0xfffffff0(%ebp) - 11a66: c7 45 fc 00 00 00 00 movl $0x0,0xfffffffc(%ebp) - 11a6d: 8b 45 08 mov 0x8(%ebp),%eax - 11a70: 8a 80 81 01 00 00 mov 0x181(%eax),%al - 11a76: 25 ff 00 00 00 and $0xff,%eax - 11a7b: 3b 45 fc cmp 0xfffffffc(%ebp),%eax - 11a7e: 7e 48 jle 11ac8 <_usb_set_configuration+0x81> - 11a80: 8b 4d 08 mov 0x8(%ebp),%ecx - 11a83: 8b 55 fc mov 0xfffffffc(%ebp),%edx - 11a86: 89 d0 mov %edx,%eax - 11a88: 01 c0 add %eax,%eax - 11a8a: 01 d0 add %edx,%eax - 11a8c: 8d 14 c5 00 00 00 00 lea 0x0(,%eax,8),%edx - 11a93: 8b 81 84 01 00 00 mov 0x184(%ecx),%eax - 11a99: 8a 44 02 05 mov 0x5(%edx,%eax,1),%al - 11a9d: 25 ff 00 00 00 and $0xff,%eax - 11aa2: 3b 45 0c cmp 0xc(%ebp),%eax - 11aa5: 75 1a jne 11ac1 <_usb_set_configuration+0x7a> - 11aa7: 8b 4d 08 mov 0x8(%ebp),%ecx - 11aaa: 8b 55 fc mov 0xfffffffc(%ebp),%edx - 11aad: 89 d0 mov %edx,%eax - 11aaf: 01 c0 add %eax,%eax - 11ab1: 01 d0 add %edx,%eax - 11ab3: c1 e0 03 shl $0x3,%eax - 11ab6: 03 81 84 01 00 00 add 0x184(%ecx),%eax - 11abc: 89 45 f4 mov %eax,0xfffffff4(%ebp) - 11abf: eb 07 jmp 11ac8 <_usb_set_configuration+0x81> - 11ac1: 8d 45 fc lea 0xfffffffc(%ebp),%eax - 11ac4: ff 00 incl (%eax) - 11ac6: eb a5 jmp 11a6d <_usb_set_configuration+0x26> - 11ac8: 83 7d f4 00 cmpl $0x0,0xfffffff4(%ebp) - 11acc: 75 06 jne 11ad4 <_usb_set_configuration+0x8d> - 11ace: 83 7d 0c 00 cmpl $0x0,0xc(%ebp) - 11ad2: 75 0c jne 11ae0 <_usb_set_configuration+0x99> - 11ad4: 83 7d f4 00 cmpl $0x0,0xfffffff4(%ebp) - 11ad8: 74 12 je 11aec <_usb_set_configuration+0xa5> - 11ada: 83 7d 0c 00 cmpl $0x0,0xc(%ebp) - 11ade: 75 0c jne 11aec <_usb_set_configuration+0xa5> - 11ae0: c7 45 ec ea ff ff ff movl $0xffffffea,0xffffffec(%ebp) - 11ae7: e9 f2 00 00 00 jmp 11bde <_usb_set_configuration+0x197> - 11aec: 8b 45 08 mov 0x8(%ebp),%eax - 11aef: 83 78 14 04 cmpl $0x4,0x14(%eax) - 11af3: 74 3f je 11b34 <_usb_set_configuration+0xed> - 11af5: 83 7d f0 00 cmpl $0x0,0xfffffff0(%ebp) - 11af9: 74 39 je 11b34 <_usb_set_configuration+0xed> - 11afb: c7 45 fc 01 00 00 00 movl $0x1,0xfffffffc(%ebp) - 11b02: 83 7d fc 0e cmpl $0xe,0xfffffffc(%ebp) - 11b06: 7f 2c jg 11b34 <_usb_set_configuration+0xed> - 11b08: 83 ec 08 sub $0x8,%esp - 11b0b: ff 75 fc pushl 0xfffffffc(%ebp) - 11b0e: ff 75 08 pushl 0x8(%ebp) - 11b11: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 11b14: ff d0 call *%eax - 11b16: 83 c4 10 add $0x10,%esp - 11b19: 83 ec 08 sub $0x8,%esp - 11b1c: 8b 45 fc mov 0xfffffffc(%ebp),%eax - 11b1f: 0c 80 or $0x80,%al - 11b21: 50 push %eax - 11b22: ff 75 08 pushl 0x8(%ebp) - 11b25: 8b 45 f0 mov 0xfffffff0(%ebp),%eax - 11b28: ff d0 call *%eax - 11b2a: 83 c4 10 add $0x10,%esp - 11b2d: 8d 45 fc lea 0xfffffffc(%ebp),%eax - 11b30: ff 00 incl (%eax) - 11b32: eb ce jmp 11b02 <_usb_set_configuration+0xbb> - 11b34: 8b 55 08 mov 0x8(%ebp),%edx - 11b37: 8b 45 08 mov 0x8(%ebp),%eax - 11b3a: c7 40 2c 00 00 00 00 movl $0x0,0x2c(%eax) - 11b41: c7 42 28 00 00 00 00 movl $0x0,0x28(%edx) - 11b48: 8b 55 08 mov 0x8(%ebp),%edx - 11b4b: 8b 45 08 mov 0x8(%ebp),%eax - 11b4e: c7 40 34 00 00 00 00 movl $0x0,0x34(%eax) - 11b55: c7 42 30 00 00 00 00 movl $0x0,0x30(%edx) - 11b5c: 8b 45 08 mov 0x8(%ebp),%eax - 11b5f: c7 40 14 04 00 00 00 movl $0x4,0x14(%eax) [truncated at 1000 lines; 10570 more skipped]
19 years, 10 months
1
0
0
0
[navaraf] 13488: Update ignore list.
by navaraf@svn.reactos.com
Update ignore list. Property changes on: trunk/reactos/services/umpnpmgr ___________________________________________________________________ Name: svn:ignore + umpnpmgr.a umpnpmgr.coff umpnpmgr.map umpnpmgr.nostrip.exe umpnpmgr.exe
19 years, 10 months
1
0
0
0
[weiden] 13487: removed obsolete typecast in AllocConsole()
by weiden@svn.reactos.com
removed obsolete typecast in AllocConsole() Modified: trunk/reactos/lib/kernel32/misc/console.c _____ Modified: trunk/reactos/lib/kernel32/misc/console.c --- trunk/reactos/lib/kernel32/misc/console.c 2005-02-10 11:32:06 UTC (rev 13486) +++ trunk/reactos/lib/kernel32/misc/console.c 2005-02-10 19:38:47 UTC (rev 13487) @@ -1356,7 +1356,7 @@ return FALSE; } - Request.Data.AllocConsoleRequest.CtrlDispatcher = (PCONTROLDISPATCHER) &ConsoleControlDispatcher; + Request.Data.AllocConsoleRequest.CtrlDispatcher = ConsoleControlDispatcher; Request.Type = CSRSS_ALLOC_CONSOLE; Status = CsrClientCallServer( &Request, &Reply, sizeof( CSRSS_API_REQUEST ), sizeof( CSRSS_API_REPLY ) );
19 years, 10 months
1
0
0
0
[weiden] 13486: fixed ObpCaptureObjectAttributes()
by weiden@svn.reactos.com
fixed ObpCaptureObjectAttributes() Modified: trunk/reactos/ntoskrnl/ex/evtpair.c Modified: trunk/reactos/ntoskrnl/ob/object.c _____ Modified: trunk/reactos/ntoskrnl/ex/evtpair.c --- trunk/reactos/ntoskrnl/ex/evtpair.c 2005-02-10 09:22:27 UTC (rev 13485) +++ trunk/reactos/ntoskrnl/ex/evtpair.c 2005-02-10 11:32:06 UTC (rev 13486) @@ -117,7 +117,7 @@ } } - Status = ObCreateObject(ExGetPreviousMode(), + Status = ObCreateObject(PreviousMode, ExEventPairObjectType, ObjectAttributes, PreviousMode, _____ Modified: trunk/reactos/ntoskrnl/ob/object.c --- trunk/reactos/ntoskrnl/ob/object.c 2005-02-10 09:22:27 UTC (rev 13485) +++ trunk/reactos/ntoskrnl/ob/object.c 2005-02-10 11:32:06 UTC (rev 13486) @@ -47,24 +47,16 @@ { OBJECT_ATTRIBUTES AttributesCopy; NTSTATUS Status = STATUS_SUCCESS; - + /* at least one output parameter must be != NULL! */ - ASSERT(((ULONG_PTR)CapturedObjectAttributes ^ (ULONG_PTR)ObjectName) != 0); - + ASSERT(CapturedObjectAttributes != NULL || ObjectName != NULL); + if(ObjectAttributes == NULL) { -failbasiccleanup: - if(ObjectName != NULL) - { - RtlInitUnicodeString(ObjectName, NULL); - } - if(CapturedObjectAttributes != NULL) - { - RtlZeroMemory(CapturedObjectAttributes, sizeof(CAPTURED_OBJECT_ATTRIBUTES)); - } - return Status; /* STATUS_SUCCESS */ + /* we're going to return STATUS_SUCCESS! */ + goto failbasiccleanup; } - + if(AccessMode != KernelMode) { _SEH_TRY @@ -80,21 +72,30 @@ Status = _SEH_GetExceptionCode(); } _SEH_END; - + if(!NT_SUCCESS(Status)) { - return Status; + DPRINT1("ObpCaptureObjectAttributes failed to probe object attributes\n"); + goto failbasiccleanup; } } - else if(AccessMode == KernelMode && !CaptureIfKernel) + else if(!CaptureIfKernel) { - if(ObjectAttributes->Length != sizeof(OBJECT_ATTRIBUTES)) + if(ObjectAttributes->Length == sizeof(OBJECT_ATTRIBUTES)) { - /* we don't have to capture any memory, the caller considers the passed data - as valid */ if(ObjectName != NULL) { - *ObjectName = *ObjectAttributes->ObjectName; + /* we don't have to capture any memory, the caller considers the passed data + as valid */ + if(ObjectAttributes->ObjectName != NULL) + { + *ObjectName = *ObjectAttributes->ObjectName; + } + else + { + ObjectName->Length = ObjectName->MaximumLength = 0; + ObjectName->Buffer = NULL; + } } if(CapturedObjectAttributes != NULL) { @@ -115,7 +116,7 @@ { AttributesCopy = *ObjectAttributes; } - + /* if Length isn't as expected, bail with an invalid parameter status code so the caller knows he passed garbage... */ if(AttributesCopy.Length != sizeof(OBJECT_ATTRIBUTES)) @@ -123,7 +124,7 @@ Status = STATUS_INVALID_PARAMETER; goto failbasiccleanup; } - + if(CapturedObjectAttributes != NULL) { CapturedObjectAttributes->RootDirectory = AttributesCopy.RootDirectory; @@ -147,13 +148,13 @@ CapturedObjectAttributes->SecurityDescriptor = NULL; } } - + if(ObjectName != NULL) { if(AttributesCopy.ObjectName != NULL) { UNICODE_STRING OriginalCopy; - + if(AccessMode != KernelMode) { _SEH_TRY @@ -175,7 +176,7 @@ Status = _SEH_GetExceptionCode(); } _SEH_END; - + if(NT_SUCCESS(Status)) { if(OriginalCopy.Length > 0) @@ -197,6 +198,11 @@ Status = _SEH_GetExceptionCode(); } _SEH_END; + + if(!NT_SUCCESS(Status)) + { + DPRINT1("ObpCaptureObjectAttributes failed to copy the unicode string!\n"); + } } else { @@ -209,29 +215,15 @@ Status = STATUS_OBJECT_NAME_INVALID; } } - - /* handle failure */ - if(!NT_SUCCESS(Status)) + else { -failallocatedcleanup: - if(ObjectName->Buffer) - { - ExFreePool(ObjectName->Buffer); - } - if(CapturedObjectAttributes != NULL) - { - /* cleanup allocated resources */ - SeReleaseSecurityDescriptor(CapturedObjectAttributes->SecurityDescriptor , - AccessMode, - TRUE); - } - goto failbasiccleanup; + DPRINT1("ObpCaptureObjectAttributes failed to probe the object name UNICODE_STRING structure!\n"); } } else /* AccessMode == KernelMode */ { OriginalCopy = *AttributesCopy.ObjectName; - + if(OriginalCopy.Length > 0) { ObjectName->MaximumLength = OriginalCopy.Length + sizeof(WCHAR); @@ -252,22 +244,45 @@ /* if the caller specified a root directory, there must be an object name! */ Status = STATUS_OBJECT_NAME_INVALID; } - - if(!NT_SUCCESS(Status)) - { - goto failallocatedcleanup; - } } } else { - RtlInitUnicodeString(ObjectName, NULL); + ObjectName->Length = ObjectName->MaximumLength = 0; + ObjectName->Buffer = NULL; } } - + + if(!NT_SUCCESS(Status)) + { + if(ObjectName->Buffer) + { + ExFreePool(ObjectName->Buffer); + } + if(CapturedObjectAttributes != NULL) + { + /* cleanup allocated resources */ + SeReleaseSecurityDescriptor(CapturedObjectAttributes->SecurityDescriptor , + AccessMode, + TRUE); + } + +failbasiccleanup: + if(ObjectName != NULL) + { + ObjectName->Length = ObjectName->MaximumLength = 0; + ObjectName->Buffer = NULL; + } + if(CapturedObjectAttributes != NULL) + { + RtlZeroMemory(CapturedObjectAttributes, sizeof(CAPTURED_OBJECT_ATTRIBUTES)); + } + } + return Status; } + VOID ObpReleaseObjectAttributes(IN PCAPTURED_OBJECT_ATTRIBUTES CapturedObjectAttributes OPTIONAL, IN PUNICODE_STRING ObjectName OPTIONAL, @@ -276,8 +291,7 @@ { /* WARNING - You need to pass the same parameters to this function as you passed to ObpCaptureObjectAttributes() to avoid memory leaks */ - if(AccessMode != KernelMode || - (AccessMode == KernelMode && CaptureIfKernel)) + if(AccessMode != KernelMode || CaptureIfKernel) { if(CapturedObjectAttributes != NULL && CapturedObjectAttributes->SecurityDescriptor != NULL)
19 years, 10 months
1
0
0
0
← Newer
1
...
27
28
29
30
31
32
33
...
42
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
Results per page:
10
25
50
100
200