Commit Graph

42088 Commits

Author SHA1 Message Date
Cameron Gutman
ec037e4d9d - Call SocketStateUnlock before returning
- Don't complete the IRP again in the completion routine

svn path=/branches/aicom-network-fixes/; revision=35418
2008-08-17 21:48:09 +00:00
Stefan Ginsberg
f7b3363eb2 - Fix comment header
svn path=/trunk/; revision=35414
2008-08-17 19:23:06 +00:00
Stefan Ginsberg
4353142bc2 - Rename SeInit to SeInitSystem
svn path=/trunk/; revision=35413
2008-08-17 18:34:37 +00:00
Hervé Poussineau
878ef89965 Device type can be undefined if kbdclass or mouclass is not loaded.
svn path=/trunk/; revision=35412
2008-08-17 18:11:32 +00:00
Stefan Ginsberg
4aa45a6803 - Move kernel mode implementation of RtlpGetStackLimits from crt to ntoskrnl
svn path=/trunk/; revision=35411
2008-08-17 18:01:49 +00:00
Stefan Ginsberg
4972a810f1 - Remove dead code
svn path=/trunk/; revision=35410
2008-08-17 17:38:28 +00:00
Stefan Ginsberg
10ec954654 - Remove two more files by moving their tiny contents (one stub, one 2 line function) to mm.c
svn path=/trunk/; revision=35407
2008-08-17 12:17:08 +00:00
Stefan Ginsberg
553ffd969a - Remove dead pager.c
- Remove empty aspace.c
- Move MmKernelAddressSpace to a header

svn path=/trunk/; revision=35406
2008-08-17 12:05:28 +00:00
Cameron Gutman
e070cbeb39 - Add debug prints for failure statuses
svn path=/branches/aicom-network-fixes/; revision=35404
2008-08-17 08:17:03 +00:00
Art Yerkes
8b23bceee1 Don't attempt to mount a partition that starts with a fat bootblock.
svn path=/trunk/; revision=35403
2008-08-17 05:23:10 +00:00
ReactOS Portable Systems Group
7c7314849d Make RAM disk support work on x86 as well (it is now generic):
1) Don't assert if loaded from setup. On NT this means special things, but we don't care about that for now.
	2) Add to txtsetup.sif along with the other core FS drivers. This will eventually allow installing from ramdisk as well (and later, over the network)
	3) Add to hivesys_i386.inf so that the driver is initialized.

RAM disk now works flawlessly on x86 -- just make sure to follow the previous instructions, and add <size of your RAM disk> to your total memory available to ReactOS.


svn path=/trunk/; revision=35402
2008-08-17 02:35:30 +00:00
ReactOS Portable Systems Group
3cdbb3f31d FreeLDR-side of RAM Disk support for x86 based on actual NT implementation (instead of ARM-only hacks):
1) First, remove the hack in bootmgr.c that looked for a reactos.img.
	2) Instead, read the command line to the kernel, and check for /RDIMAGEPATH. If found, load the ramdisk in the loader.
	3) This uses the same routine as the previous hack, but enhances it with actual status and progress printouts.
	4) Finally, update usetup to generate a ReactOS (RAM Disk) entry on DBG builds, under the WinLDR one.

Also fixed a bug where, on MiniTUI, the text sent to UiDrawProgressBarCenter would be ignored.

This patch does not result in working RAM disk support yet.

To test the FreeLDR side of things, you need to create a ramdisk file: this is easy.

Preferred way right now is to use qemu-img to create a standard QEMU image. Then install ReactOS on it and configure it. This is now your ramdisk.
Make your image about 100MB; this is how much ReactOS requires to install right now.

Now on your "official" QEMU image, you can delete everything except freeldr.sys and freeldr.ini. Or don't, if it's large enough.

Now add the reactos.img to your official image. You should have at least 100MB free space.

Now when you boot the ReactOS (RAM disk) entry, it should boot up until the kernel, which will panic since there's no ramdisk support yet.

Note that you can't just create a QEMU image and drop files in it -- it must be properly formatted and have the ReactOS boot sector:
The RAM disk isn't just a collection of files, it's an entire virtual drive, so that's why you must first officially install ReactOS on it.


svn path=/trunk/; revision=35401
2008-08-17 02:01:30 +00:00
James Tabor
0d12515dcb - Add timer handle type.
svn path=/trunk/; revision=35400
2008-08-17 00:46:51 +00:00
Art Yerkes
7fd0c1eb30 Merge aicom-network-fixes up to 35398
svn path=/trunk/; revision=35399
2008-08-16 22:39:01 +00:00
Cameron Gutman
54a02c3ea8 - Make sure we successfully allocated ConnectionReturnInfo and ConnectionCallInfo
- Make sure ObReferenceObjectByHandle was successful

svn path=/branches/aicom-network-fixes/; revision=35398
2008-08-16 21:16:41 +00:00
Stefan Ginsberg
0860be6816 - Remove deprecated ExfpInterlockedExchange64
svn path=/trunk/; revision=35397
2008-08-16 18:06:12 +00:00
Stefan Ginsberg
399dc7da51 - Spelling fixes
- Remove deprecated comment from resource.c
- Fix obsdcach.c comment header

svn path=/trunk/; revision=35396
2008-08-16 17:53:28 +00:00
James Tabor
a878cd2e46 Wine update to dialog.c, see bug 3644.
svn path=/trunk/; revision=35395
2008-08-16 16:01:03 +00:00
James Tabor
bafb77d60c Add check for null after allocating new DCE. See bug 3638.
svn path=/trunk/; revision=35394
2008-08-16 15:48:05 +00:00
Cameron Gutman
05a4dffa6e - Move SocketAcquireStateLock out of SEH
svn path=/branches/aicom-network-fixes/; revision=35393
2008-08-16 15:06:12 +00:00
Hervé Poussineau
1b11b8d6ce Increase lost packet count when transmit failed or receive failed for whatever reason
svn path=/trunk/; revision=35392
2008-08-16 14:30:20 +00:00
Cameron Gutman
3f184e689d - Move MmUnlockPages to the proper place (still commented out though)
svn path=/branches/aicom-network-fixes/; revision=35391
2008-08-16 14:23:58 +00:00
Stefan Ginsberg
e96d8d91ad - No need to set a variable to TRUE twice before it is used
svn path=/trunk/; revision=35390
2008-08-16 14:18:42 +00:00
Hervé Poussineau
660f76d0a1 Replace .def file by a .spec file
svn path=/trunk/; revision=35389
2008-08-16 13:18:50 +00:00
Aleksey Bragin
5833f234a8 Finta László <finta.laszlo@freemail.hu>
- Fix _allmul function, which would always give 0 if both multiplier and muliplicand's high words are 0.

svn path=/trunk/; revision=35388
2008-08-16 12:51:39 +00:00
Colin Finck
28aa57b53f Restructure the keyboard & mouse detection code:
- Truly separate i8042BasicDetect from i8042DetectKeyboard and i8042DetectMouse: It now only does the CTRL_SELF_TEST, any other specific detections are done in their respective functions
- Only set KEYBOARD_PRESENT and MOUSE_PRESENT, when all respective detections completed successfully

Might fix bug #3550

svn path=/trunk/; revision=35387
2008-08-16 12:20:18 +00:00
Hervé Poussineau
0e0ea9b0df Replace .def file by a .spec file
svn path=/trunk/; revision=35386
2008-08-16 12:03:07 +00:00
Cameron Gutman
0c3f9f9d05 - Fix another memory leak
svn path=/branches/aicom-network-fixes/; revision=35385
2008-08-16 11:59:54 +00:00
Hervé Poussineau
b38fdbfee0 Replace .def file by a .spec file
svn path=/trunk/; revision=35384
2008-08-16 11:59:16 +00:00
Hervé Poussineau
fbd12707f0 No need to export DriverEntry
svn path=/trunk/; revision=35383
2008-08-16 11:45:30 +00:00
Hervé Poussineau
b521c81620 No need to export DriverEntry
svn path=/trunk/; revision=35382
2008-08-16 11:44:23 +00:00
Hervé Poussineau
4d169f861b Replace .def file by a .spec file
svn path=/trunk/; revision=35381
2008-08-16 11:37:13 +00:00
Hervé Poussineau
09bf4fce5d Replace .def file by a .spec file
svn path=/trunk/; revision=35380
2008-08-16 11:35:58 +00:00
Hervé Poussineau
00ff637edd Replace .def file by a .spec file
svn path=/trunk/; revision=35379
2008-08-16 11:35:36 +00:00
Hervé Poussineau
016f8daf8b Remove useless file
svn path=/trunk/; revision=35378
2008-08-16 11:32:17 +00:00
Hervé Poussineau
b7b8f77dc1 Replace .def file by a .spec file
svn path=/trunk/; revision=35377
2008-08-16 11:31:39 +00:00
Hervé Poussineau
33893b9568 Replace .def file by a .spec file
svn path=/trunk/; revision=35376
2008-08-16 11:14:22 +00:00
Hervé Poussineau
9fbc7142ad Replace .def file by a .spec file
svn path=/trunk/; revision=35375
2008-08-16 11:10:14 +00:00
Hervé Poussineau
41544ac115 Remove useless file
svn path=/trunk/; revision=35374
2008-08-16 10:50:21 +00:00
Hervé Poussineau
8e971e91d3 No need to export DriverEntry
svn path=/trunk/; revision=35373
2008-08-16 10:48:20 +00:00
Hervé Poussineau
e3847788b9 Replace .def file by a .spec file
svn path=/trunk/; revision=35372
2008-08-16 10:45:25 +00:00
Colin Finck
9fb87bbf79 Mario Kacmar (kario@szm.sk)
- Print no approximate round trip times on 100% loss like Windows does

See issue #2542 for more details.

svn path=/trunk/; revision=35371
2008-08-16 10:44:53 +00:00
Hervé Poussineau
5f8b05dfa8 Remove unused file
svn path=/trunk/; revision=35370
2008-08-16 09:29:12 +00:00
Hervé Poussineau
67cefa90ad Replace .def file by a .spec file
svn path=/trunk/; revision=35369
2008-08-16 09:25:46 +00:00
Aleksey Bragin
fb67b668d9 - Move x86-specific code, which was accidentally committed to the generic part of crt library to arch specific area.
- Include x86-specific _CI* functions into libcntpr.

svn path=/trunk/; revision=35368
2008-08-16 08:15:49 +00:00
Daniel Reimer
fae32f4a71 Update ReactOS Calc to Version 1.10.
svn path=/trunk/; revision=35367
2008-08-16 08:08:55 +00:00
ReactOS Portable Systems Group
1a6f168245 Implement InterlockedComparePte and InterlockedCompareExchangePte to:
1) Avoid all the casting currently being done
	2) Allow portability with other platforms so that the code can be potentially shared later.


svn path=/trunk/; revision=35364
2008-08-16 01:58:59 +00:00
Cameron Gutman
19d28c4deb - Raise the maximum IRQL that this routine is callable to APC_LEVEL
svn path=/branches/aicom-network-fixes/; revision=35363
2008-08-16 00:28:33 +00:00
Timo Kreuzer
b00f5679d2 - fix pointer to ulong cast
svn path=/branches/ros-amd64-bringup/; revision=35362
2008-08-16 00:18:27 +00:00
Timo Kreuzer
928f5c1001 fix KIPCR
svn path=/branches/ros-amd64-bringup/; revision=35361
2008-08-16 00:17:52 +00:00