Commit graph

43750 commits

Author SHA1 Message Date
Amine Khaldi
cf6293b311 [CMAKE]
- Add cdrom, class2, disk and ramdisk to build.

svn path=/branches/cmake-bringup/; revision=48695
2010-09-04 13:36:49 +00:00
Amine Khaldi
f136f67feb [CMAKE]
- Add buslogic to build.
- Fix a typo.

svn path=/branches/cmake-bringup/; revision=48694
2010-09-04 13:16:29 +00:00
Amine Khaldi
dc95036f5a [CMAKE]
- Add atapi, blue, cdfs and uniata to build.

svn path=/branches/cmake-bringup/; revision=48693
2010-09-04 12:57:01 +00:00
Sir Richard
edfb344c53 [NTOS]: Remove useless variables in kernel code that were set, but never actually used (dead code, tests, copy/pasters). If a variable was set but not used because of missing/#if'ed out code, a note was added instead.
[NTOS]: In the process, fix bugs in the Event dispatcher code that used Win32 EVENT_TYPE instead of NT KOBJECTS enumeration.
[NTOS]: Fix a bug in ObpInsertHandleCount, where the object access check was being done with the previous mode, instead of honoring the probe mode, which is defined by OBJ_FORCE_ACCESS_CHECK.
[NTOS]: Fix a bug in a section function which was always returning STATUS_SUCCESS, now it returns the result of the previous Status = function assignment. If this isn't desired, then don't check for the Status anymore.
[NTOS]: Note that MDL code does not support SkipBytes argument. If it is used, MDL could be invalid.
[NTOS]: Add checks for VerifierAllocation and set it when needed (WIP).
[NTOS]: Clarify what _WORKING_LINKER_ is, and the legal risks in continuing to use a linker that builds non-Microsoft drivers when used with headers whose EULA specify that they can only be used for Microsoft drivers.

svn path=/trunk/; revision=48692
2010-09-04 08:17:17 +00:00
Amine Khaldi
abf5238858 [CMAKE]
- Add battc, acpica and acpi to build.

svn path=/branches/cmake-bringup/; revision=48691
2010-09-03 14:33:39 +00:00
Amine Khaldi
f61be19dd9 [CMAKE]
- Improve gendib build.
- Add gendib generated source files.
- Add win32k to build. Dedicated to Timo ;)

svn path=/branches/cmake-bringup/; revision=48690
2010-09-03 00:03:00 +00:00
Amine Khaldi
50bf553ad0 [CMAKE]
- Add ftfd driver to build.

svn path=/branches/cmake-bringup/; revision=48689
2010-09-02 22:38:36 +00:00
Amine Khaldi
1c24a9bbdd [FREELDR]
- Use fathelp.S from r43775 (amd64 branch by timo)
[CMAKE]
- Improve hal, ntoskrnl and freeldr/setupldr build.

svn path=/branches/cmake-bringup/; revision=48688
2010-09-02 21:00:02 +00:00
Amine Khaldi
c988b66126 [FREELDR]
- Convert fat12/16 boot sector helper code to gas syntax. Brought to you by the Arty.
[CMAKE]
- Add freeldr and setupldr to build.

svn path=/branches/cmake-bringup/; revision=48687
2010-09-02 17:39:45 +00:00
Cameron Gutman
93ae36ab99 [OSKITTCP]
- Check for a shutdown connection that we missed a few times
- Remove some junk and stop playing with flags behind oskit's back
- Fix an invalid parameter check
- Enable a check to ensure that accept doesn't get called for a socket that isn't listening
- Use the queue manipulation function instead of manually changing the queue
- Signal that we accepted/connected a socket
[IP]
- Set the network mask and destination address in TCPGetInterfaceData

svn path=/trunk/; revision=48686
2010-09-02 04:18:17 +00:00
Aleksey Bragin
33fffd0b38 [PSDK]
- Add BS_TYPEMASK definition.

svn path=/trunk/; revision=48678
2010-09-01 13:40:35 +00:00
Amine Khaldi
b1e8d151a2 [CMAKE]
- Add mini_hal to build.

svn path=/branches/cmake-bringup/; revision=48672
2010-08-31 23:48:26 +00:00
Amine Khaldi
aec35b5416 [CMAKE]
- libcntpr needs buildno.h

svn path=/branches/cmake-bringup/; revision=48671
2010-08-31 21:24:12 +00:00
Amine Khaldi
10cf790c3c [CMAKE]
- Add boot sectors to build.

svn path=/branches/cmake-bringup/; revision=48669
2010-08-31 18:40:19 +00:00
Amine Khaldi
28f74e6701 [CMAKE]
- Add scsiport to build.

svn path=/branches/cmake-bringup/; revision=48668
2010-08-31 17:55:28 +00:00
Amine Khaldi
ea213941ac [CMAKE]
- Add bootvid, kddll, kdcom, nmidebug and null drivers to build.

svn path=/branches/cmake-bringup/; revision=48666
2010-08-31 16:30:02 +00:00
Amine Khaldi
d84e219b0b [CMAKE]
- Add input drivers (i8042prt, kbdclass, mouclass and sermouse) to build.

svn path=/branches/cmake-bringup/; revision=48664
2010-08-31 14:05:07 +00:00
Amine Khaldi
b28db78efe [CMAKE]
- Improve handling buildno.h

svn path=/branches/cmake-bringup/; revision=48663
2010-08-31 13:25:10 +00:00
Amine Khaldi
c961b36495 [CMAKE]
- Add placeholders for the remaining dlls.

svn path=/branches/cmake-bringup/; revision=48662
2010-08-31 11:11:11 +00:00
Amine Khaldi
5712f8489b [CMAKE]
- Add beep driver to build.

svn path=/branches/cmake-bringup/; revision=48661
2010-08-31 10:34:15 +00:00
Amine Khaldi
b41fc0f134 [CMAKE]
- Add ze kirnel to build.

svn path=/branches/cmake-bringup/; revision=48659
2010-08-30 14:31:44 +00:00
Amine Khaldi
def27fd0d4 [CMAKE]
- Improve rossym lib.

svn path=/branches/cmake-bringup/; revision=48658
2010-08-30 14:30:09 +00:00
Amine Khaldi
ef43524fff [CRT]
- Fix __MINGW_MSC_PREREQ logic.

svn path=/trunk/; revision=48657
2010-08-30 13:48:40 +00:00
Amine Khaldi
5ba1569888 [CMAKE]
- Improve pseh.

svn path=/branches/cmake-bringup/; revision=48656
2010-08-30 13:00:41 +00:00
Amine Khaldi
8719ae188a [CMAKE]
- Improve rtl.

svn path=/branches/cmake-bringup/; revision=48655
2010-08-30 12:37:44 +00:00
Michael Martin
9b7e628d96 Patch by Pierre Schweitzer.
[CDFS]
- Several fixes for directory information query.
- Fixed a null access memory under certain circumstances.
- Added support for media ejection.
[FASTFAT]
- Fixed calls to CcMapData(), CcPinRead().
- Fixed an endless loop in FCB management under certain circumstances.
[NTOSKRNL]
- Fixed wrong prototype for IopParseDevice().

svn path=/trunk/; revision=48654
2010-08-30 11:51:17 +00:00
Amine Khaldi
5598df126e [CMAKE]
- Improve ntdll.

svn path=/branches/cmake-bringup/; revision=48652
2010-08-29 21:32:32 +00:00
Sir Richard
c574f50663 [NTOS]: Add an extra layer of protection for freed nonpaged pool: write a 4-byte signature on freed blocks, and assert its valid on checked builds. Use a slightly less egocentric ASCII value than on Windows (name of the developer who wrote the first memory manager).
svn path=/trunk/; revision=48651
2010-08-29 19:32:25 +00:00
Sir Richard
b85ab20f13 [NTOS]: Missed a bunch of codepaths, protected pool "should" work now.
svn path=/trunk/; revision=48650
2010-08-29 19:27:58 +00:00
Sir Richard
cf28a01e5e [NTOS]: Add DRIVER_CAUGHT_MODIFYING_FREED_POOL bugcheck code.
[NTOS]: Add support for protected freed nonpaged pool. This is controlled through MmProtectFreedNonPagedPool, which is initialized based on a registry value (see cmdata.c). This is not "Special Pool", but a useful debugging feature Windows implements that we now have too, since I noticed a lot of mj's work was with freed pool access.
NB. It's 3AM and I have not tested this, it should be off in trunk by default, you'll need to try turning it on and testing it. Hope it helps.
--This line, and those low, will be ignored--

M    ntoskrnl/mm/ARM3/pagfault.c
M    ntoskrnl/mm/ARM3/pool.c
M    include/reactos/mc/bugcodes.mc

svn path=/trunk/; revision=48649
2010-08-29 19:13:08 +00:00
Cameron Gutman
1afef0ace6 [ACPI]
- Read and report ACPI_RESOURCE_TYPE_FIXED_MEMORY32

svn path=/trunk/; revision=48648
2010-08-29 18:40:33 +00:00
Amine Khaldi
252d2d95f5 [CMAKE]
- Improve kernel32.

svn path=/branches/cmake-bringup/; revision=48647
2010-08-29 18:32:17 +00:00
Michael Martin
52929981d9 [cdfs]
- Working with Pierre Schweitzer for yet another NonPaged Pool corruption fix. When copying VolumeLabel the VolumeLabelLength is in Unicode, so theres no need to mulitply it by size of WCHAR. 

svn path=/trunk/; revision=48646
2010-08-29 17:46:18 +00:00
Amine Khaldi
a867182e64 [CMAKE]
- Add hal (yes, hal) to build.

svn path=/branches/cmake-bringup/; revision=48645
2010-08-29 17:30:24 +00:00
Amine Khaldi
1e684c2d24 [CMAKE]
- Add samsrv, sccbase, schannel, sensapi, serialui, shdoclc, shfolder, shlwapi, slbcsp, smdll, sndblst, snmpapi, spoolss, srclient, sxs, t2embed, tapi32, tapiui, traffic, updspapi, url, usp10 and uxtheme to build.
- Add mlang, mpr, and shell32 import libs.
- Fix shdoclc and shlwapi translations (patches will be sent upstream).
- Improve mmebuddy.

svn path=/branches/cmake-bringup/; revision=48644
2010-08-29 14:13:38 +00:00
Amine Khaldi
a999e307d8 [CMAKE]
- Rewrite crt and libcntpr targets, with support for other than i386.
- Bring-in logf.c from trunk.

svn path=/branches/cmake-bringup/; revision=48643
2010-08-29 11:07:31 +00:00
Timo Kreuzer
69814e0c5b [NTOSKRNL]
Modified version of r48640: 
- update the NodeHint to the root node when deleting a node
- remove this code from MmCleanProcessAddressSpace

svn path=/trunk/; revision=48642
2010-08-29 08:35:54 +00:00
Michael Martin
fbf071095a [ntoskrnl]
- Revert 48640, as it was incorrect.

svn path=/trunk/; revision=48641
2010-08-29 07:18:47 +00:00
Michael Martin
690399c881 [ntoskrnl]
- When a node is removed, check the NodeHint of the table to see if it matches the one being removed. If so update the NodeHint to the PreviousNode. FIxes VAD corruption messages.

svn path=/trunk/; revision=48640
2010-08-29 07:00:52 +00:00
Cameron Gutman
73e641d29b - Disable ACPI again
svn path=/trunk/; revision=48639
2010-08-29 03:51:21 +00:00
Cameron Gutman
2450e46a56 [NTOSKRNL]
- Fix a regression in ACPI function from r48581
- Enable ACPI for testing purposes (will be disabled next commit)

svn path=/trunk/; revision=48638
2010-08-29 03:48:59 +00:00
Cameron Gutman
c8ff03d682 [TCPIP]
- Don't allocate pool if there is nothing in the route table
- Fixes bug 5493

svn path=/trunk/; revision=48637
2010-08-29 02:29:10 +00:00
Michael Martin
a3370efc0a [win32k]
- Mouse messages can be sent before the desktop is initialized. Check for this and return false if its not. FIxes assert when moving mouse before desktop is up.

svn path=/trunk/; revision=48636
2010-08-28 23:55:27 +00:00
Michael Martin
a5bab7504e [input/i8042prt]
- Fix a check when queuing the mouse packet. Check that the buffer size (MouseInBuffer) is not greater or equal to MouseDataQueueSize. Fixes a NonPagedPool corruption that occurs when the mouse is moved before the desktop window is up and running.

svn path=/trunk/; revision=48635
2010-08-28 23:23:43 +00:00
Amine Khaldi
d73bc1f2e0 [CMAKE]
- Include crt headers when compiling RC files.

svn path=/branches/cmake-bringup/; revision=48634
2010-08-28 17:41:06 +00:00
Amine Khaldi
2aa2457be2 [CMAKE]
- Add mscoree, msg711.acm, msgina, msgsm32.acm, msimg32, msnet32, mssign32, mssip32, msvcrt20, msvcrt40, msvfw32, msvidc32, mswsock, nddeapi, netapi32, newdev, ntdsapi, ntlanman, ntprint, olecli32, oledlg, olesvr32, olethk32, pidgen, powrprof, printui, query, rasapi32, rasdlg, rasman, resutils and samlib to build.

svn path=/branches/cmake-bringup/; revision=48633
2010-08-28 13:20:03 +00:00
Michael Martin
87e8d75f00 [ntoskrnl/ps]
- When deleting a Process remove the Process from the MmProcessList. Fixes random NonPaged Pool corruptions.  Thanks aicom for assistance.

svn path=/trunk/; revision=48632
2010-08-28 00:26:02 +00:00
Michael Martin
a9e0dc23a4 [ntoskrnl/ps]
- Acquire and Release RundownProtection on the Parent Pocess not the newly created Pcess when setting the SectionObject.

svn path=/trunk/; revision=48631
2010-08-27 22:18:10 +00:00
Timo Kreuzer
3a325683bc [WIN32K]
- Rework EngSetPointerShape, to first allocate the neccessary surfaces, before deleting the old ones. Also check in IntShowMousePointer if a saving surface is present. This way a failure to allocate a surface will not result in a crash, but keep the old mouse pointer.

See issue #5402 for more details.

svn path=/trunk/; revision=48630
2010-08-27 10:57:54 +00:00
Timo Kreuzer
cb6ae2faab [USER32]
- Revert r47238 as requested by Giannis: "this commit breaks any program that wants to subclass mdi client windows"

svn path=/trunk/; revision=48629
2010-08-27 10:20:25 +00:00