Timo Kreuzer
e73537a4e7
Fix __readgsqword, it was using a long internally. Add volatile keyword to segment addressing intrinsics. Add "memory" to clobber list on all those that do write.
...
svn path=/branches/ros-amd64-bringup/; revision=35587
2008-08-24 02:44:29 +00:00
Timo Kreuzer
008f576282
stub out SEH, for real this time ;-)
...
svn path=/branches/ros-amd64-bringup/; revision=35586
2008-08-24 02:41:12 +00:00
Cameron Gutman
86ab49ef00
- Add myself to credits :)
...
svn path=/trunk/; revision=35585
2008-08-24 01:56:56 +00:00
Cameron Gutman
dbc052ab84
- Merge aicom-network-fixes up to r35583
...
svn path=/trunk/; revision=35584
2008-08-24 01:53:58 +00:00
Cameron Gutman
4f54a68190
- Skip ObReferenceObjectByHandle if HandleArray[i].Handle is NULL
...
- Fail if ObReferenceObjectByHandle didn't succeed
- Remove a bad ASSERT I added in my last commit
svn path=/branches/aicom-network-fixes/; revision=35583
2008-08-24 01:34:17 +00:00
Cameron Gutman
98c2a1ea67
- Fail if MmProbeAndLockPages doesn't succeed
...
- Fail if IoAllocateMdl returns NULL
- Add some ASSERTs
svn path=/branches/aicom-network-fixes/; revision=35582
2008-08-24 01:09:48 +00:00
Art Yerkes
978a879fe9
Catch failure to release the cancel spinlock. Would've spotted my error in
...
tcpip.sys.
svn path=/trunk/; revision=35581
2008-08-23 23:04:15 +00:00
Cameron Gutman
0819ff13a1
- Enable the failure debug prints in MsafdReturnWithErrno
...
- They shouldn't spam the debug log and they're a great way to tell if something is going wrong in the network stack
svn path=/trunk/; revision=35580
2008-08-23 22:42:44 +00:00
Cameron Gutman
e2c0738526
- Make sure IPAddr is non-NULL
...
- Change STATUS_UNSUCCESSFUL to STATUS_INVALID_PARAMETER
svn path=/branches/aicom-network-fixes/; revision=35579
2008-08-23 22:06:49 +00:00
Cameron Gutman
055139fc07
- Code cleanup
...
- Make sure FCB->RemoteAddress is non-NULL
svn path=/branches/aicom-network-fixes/; revision=35578
2008-08-23 21:53:37 +00:00
Cameron Gutman
2d966ffcfb
- Make sure FCB->AddressFrom is non-NULL
...
svn path=/branches/aicom-network-fixes/; revision=35577
2008-08-23 21:41:10 +00:00
Cameron Gutman
6d866748fb
- Remove a hack not needed because of r35575
...
svn path=/trunk/; revision=35576
2008-08-23 20:27:26 +00:00
Cameron Gutman
5194ea09e3
- Release the cancel spin lock before returning
...
- Revert some unintentional changes made in r35485
svn path=/trunk/; revision=35575
2008-08-23 20:21:15 +00:00
Johannes Anderwald
132a5a7354
- Refresh treeview when a folder item is deleted
...
svn path=/trunk/; revision=35572
2008-08-23 18:10:04 +00:00
Gregor Brunmar
8a1dfee7ce
This seems to be more correct
...
svn path=/trunk/; revision=35571
2008-08-23 17:52:35 +00:00
Johannes Anderwald
c607aa3f2b
- Check if source and destination is the same. Fixes creating a new directory and using the default name
...
- Prevent a potential buffer overflow in the file properties dialog
svn path=/trunk/; revision=35570
2008-08-23 17:32:17 +00:00
Johannes Anderwald
91c726edc7
- Pass the msi package in quotes
...
- Fixes launching msi packages from directories with spaces
- See bug 3342
svn path=/trunk/; revision=35569
2008-08-23 17:26:26 +00:00
Gregor Brunmar
07147e6a3c
* Refactored GetDirect3D9AdapterInfo() to make life a little easier in InitD3D9BaseDevice().
...
* Filled IDirect3DDevice9::DeviceData[] with correct info
svn path=/trunk/; revision=35568
2008-08-23 17:24:27 +00:00
Stefan Ginsberg
48021764b4
- Add THREAD_TERMINATE_HELD_MUTEX bugcode and make use of it
...
svn path=/trunk/; revision=35567
2008-08-23 17:16:16 +00:00
Aleksey Bragin
e8d5b46ac4
- Implement IopGetRegistryValue (complementary function to IopOpenRegistryKeyEx). Not used yet.
...
svn path=/trunk/; revision=35566
2008-08-23 17:11:12 +00:00
Stefan Ginsberg
5cf8b31211
- In IoAcquire/ReleaseCancelSpinLock, use the queued "IopCancelSpinLock" instead of a ros-specific "CancelSpinLock" standard spinlock
...
- Misc fixes
svn path=/trunk/; revision=35565
2008-08-23 16:30:14 +00:00
Gregor Brunmar
3291fc11c0
Added missing documentation
...
svn path=/trunk/; revision=35564
2008-08-23 15:17:00 +00:00
Gregor Brunmar
ce56b08815
* Refactored D3D9 structures a bit
...
* Started implementing IDirect3D9::CreateDevice()
svn path=/trunk/; revision=35563
2008-08-23 15:01:19 +00:00
Hervé Poussineau
94c1c807bc
Fix typo
...
svn path=/trunk/; revision=35562
2008-08-23 14:43:30 +00:00
Aleksey Bragin
fed8bf35b4
- Perform volume operations as described in http://msdn.microsoft.com/en-us/library/aa364562(VS.85).aspx : Open, Lock, Work, Dismount, Unlock, Close.
...
- Our fastfat driver doesn't support lock/unlock and dismount operations, so no improvement yet.
svn path=/trunk/; revision=35560
2008-08-23 11:41:04 +00:00
Aleksey Bragin
ccfc2dc23d
- Fix fs_isdirty prototype, since there is no need to pass DriveRoot there.
...
svn path=/trunk/; revision=35559
2008-08-23 10:49:57 +00:00
Aleksey Bragin
f460c4e31c
- Remove a hack around sending FSCTL_ to an opened volume handle, it works good enough without the need to open another handle to the file system.
...
svn path=/trunk/; revision=35558
2008-08-23 10:47:52 +00:00
Art Yerkes
6156320103
Silence debug spew.
...
svn path=/trunk/; revision=35557
2008-08-23 10:13:14 +00:00
Art Yerkes
f2bd7ae8a0
Restore cancellation for proper socket shutdown.
...
svn path=/trunk/; revision=35555
2008-08-23 09:49:57 +00:00
Hervé Poussineau
0720856576
Add new devices at start of list, not end. Order is now like in pre-r35543
...
svn path=/trunk/; revision=35554
2008-08-23 09:43:56 +00:00
Art Yerkes
30108cfd31
Should've done this a long time ago. Just noticed that we're potentially
...
sending a bunch of 0 handles into AfdSelect.
svn path=/trunk/; revision=35553
2008-08-23 09:01:29 +00:00
Aleksey Bragin
c0e1bccba7
- Silence "Font loaded" debug print, which was mistakingly promoted to DPRINT in r35184.
...
svn path=/trunk/; revision=35552
2008-08-23 08:10:15 +00:00
Art Yerkes
1a6f6971b8
Hand merge a lost change from aicom-network-fixes.
...
svn path=/trunk/; revision=35551
2008-08-23 07:39:02 +00:00
Art Yerkes
db4dc32f9f
Merge aicom-network-fixes up to 35538
...
svn path=/trunk/; revision=35550
2008-08-23 07:20:22 +00:00
Timo Kreuzer
4e33928816
Implement KiSetProcessorType, KiGetCpuVendor, KiGetFeatureBits, KiGetCacheInformation, KiSetCr0Bits and KiInitializeTss based on x86 implementation. Fix and enable Code in KiInitalizeKernel, enable call to HalInitializeProcessor.
...
svn path=/branches/ros-amd64-bringup/; revision=35549
2008-08-23 02:11:09 +00:00
Timo Kreuzer
5190b92232
Fix Ke386SaveFlags and Ke386RestoreFlags. Rename KIDT_INIT's 3rd member to IstIndex and use it in KeInitExceptions.
...
svn path=/branches/ros-amd64-bringup/; revision=35548
2008-08-23 01:31:51 +00:00
Timo Kreuzer
8082ce88e5
Setup KUSER_SHARED_DATA.
...
svn path=/branches/ros-amd64-bringup/; revision=35547
2008-08-23 01:19:34 +00:00
Timo Kreuzer
a09e2d91b6
Fix __readmsr and __writemsr on amd64
...
svn path=/branches/ros-amd64-bringup/; revision=35546
2008-08-23 01:18:07 +00:00
Hervé Poussineau
16553f0003
Remove useless 'if'
...
svn path=/trunk/; revision=35545
2008-08-22 22:13:46 +00:00
Hervé Poussineau
7380fcd1f4
LONG -> NTSTATUS
...
svn path=/trunk/; revision=35544
2008-08-22 22:11:49 +00:00
Hervé Poussineau
dcc142c4a1
Fix device node structure to be compatible with MS Windows Vista
...
Send GUID_DEVICE_ENUMERATED event
umpnpmgr: react on GUID_DEVICE_ENUMERATED, not GUID_DEVICE_ARRIVAL
IopEnumerateDevice: Set DNF_ENUMERATED and DO_BUS_ENUMERATED_DEVICE when required
IopEnumerateDevice: Continue to process PDOs, even if one failed
svn path=/trunk/; revision=35543
2008-08-22 21:43:42 +00:00
Stefan Ginsberg
03d12cf07b
- Remove a LIST_FOR_EACH
...
- ASSERTify 2 assumptions
- Rename "ListEntry" to "NextEntry" for clarification
svn path=/trunk/; revision=35542
2008-08-22 21:24:31 +00:00
Johannes Anderwald
df9f666602
* When clicking on the desktop background, there is no item selected, thus, apidl is null
...
* Fixes bug 3676
svn path=/trunk/; revision=35540
2008-08-22 20:07:14 +00:00
Cameron Gutman
fb0a6601f9
- More STATUS_UNSUCCESSFUL to STATUS_INVALID_PARAMETER changes
...
svn path=/branches/aicom-network-fixes/; revision=35538
2008-08-22 19:35:20 +00:00
Cameron Gutman
f337da0bfb
- Handle STATUS_INVALID_PARAMETER
...
svn path=/branches/aicom-network-fixes/; revision=35537
2008-08-22 19:30:33 +00:00
Cameron Gutman
e233f4f784
- Return a more accurate status (STATUS_INVALID_PARAMETER) than STATUS_UNSUCCESSFUL when a parameter is NULL
...
svn path=/branches/aicom-network-fixes/; revision=35536
2008-08-22 19:26:30 +00:00
Hervé Poussineau
60ef511bb8
DEVICE_RELATIONS->Count is ULONG
...
svn path=/trunk/; revision=35535
2008-08-22 19:08:25 +00:00
Hervé Poussineau
44fdf97ae2
Calling IoSynchronousInvalidateDeviceRelations with type TargetDeviceRelation returns success.
...
Spotted by Alex
svn path=/trunk/; revision=35534
2008-08-22 19:06:25 +00:00
Hervé Poussineau
70f34a3756
Move most of the code of IoSynchronousInvalidateDeviceRelations to IopEnumerateDevice, and use it when possible
...
Fix IoSynchronousInvalidateDeviceRelations prototype
svn path=/trunk/; revision=35533
2008-08-22 19:00:31 +00:00
Hervé Poussineau
bf702f35f2
Clean up code by removing now useless parts
...
Replace 3rd arg of IopActionInitChildServices by a global variable (removes a pointer cast)
IopStartDevice: no need to get top of stack, IopInitiatePnpIrp does it for us
svn path=/trunk/; revision=35532
2008-08-22 17:47:13 +00:00