Cameron Gutman
aed6591143
- Implement NdisMIndicateStatusComplete
...
svn path=/branches/aicom-network-fixes/; revision=36632
2008-10-03 18:16:43 +00:00
Cameron Gutman
c3bf439096
- Implement NdisMIndicateStatus
...
svn path=/branches/aicom-network-fixes/; revision=36631
2008-10-03 09:49:37 +00:00
Colin Finck
bfbc5ffd7d
- Add the other CPU_* codes (got them from a PDB)
...
- Restructure the CPU vendor check in KiGetFeatureBits with a switch statement
- Enable experimental support for Cyrix, Transmeta, Centaur and Rise CPUs (experimental = mostly untested)
- Just add CMPXCHG8B support to the feature bits for Centaur CPUs like it's already done for Rise CPUs without touching any MSRs.
The instruction already works properly by default according to two official Centaur datasheets. Also Geoz on IRC already reported that his C3 Nehemiah works with ReactOS after this patch.
- Enable the 3DNow detection code through extended CPUID also for Centaur CPUs (all CPUs from IDT WinChip C6 to VIA C3 Ezra-T supported it)
- Report the presence of AMD K6 MTRRs also for mobile AMD K6-2+/K6-III+ CPUs (model D)
svn path=/trunk/; revision=36630
2008-10-02 21:57:36 +00:00
Johannes Anderwald
44d59eb606
- Fix a bug in _ILCreateNetConnect
...
- Add IQueryInfo interface
svn path=/trunk/; revision=36627
2008-10-02 17:32:51 +00:00
Aleksey Bragin
629de52bc2
- Sync RegGetValueA/W implementation (no functional changes though, mostly comments).
...
- Port RegQueryValueExW from Wine (but leaving RegQueryValueExA as a wrapper, with a fix).
- Implement RegSetValueA/W based on Wine's implementation, and removing old, different (A and W) versions of RegSetValue.
svn path=/trunk/; revision=36623
2008-10-02 11:30:44 +00:00
Cameron Gutman
fa71aedefe
- Merge aicom-network-fixes up to r36621
...
svn path=/trunk/; revision=36622
2008-10-02 09:42:08 +00:00
Cameron Gutman
177f7f87d8
- Adapter is PLOGICAL_ADAPTER not PNDIS_MINIPORT_BLOCK
...
svn path=/branches/aicom-network-fixes/; revision=36621
2008-10-02 02:13:19 +00:00
Cameron Gutman
2e295e7d36
- Only call MiniportISR if the miniport driver called NdisMRegisterInterrupt with RequestIsr TRUE
...
- If RequestIsr is FALSE call the MiniportDisableInterrupt handler
svn path=/branches/aicom-network-fixes/; revision=36620
2008-10-02 02:04:57 +00:00
Cameron Gutman
769eadf101
- Adapter not NdisMiniportBlock is passed to ServiceRoutine
...
svn path=/branches/aicom-network-fixes/; revision=36619
2008-10-01 23:10:00 +00:00
Gregor Schneider
0a6956246f
Initialize iCodePage to 0, because if might be used uninitialized.
...
svn path=/trunk/; revision=36618
2008-10-01 20:08:50 +00:00
Gregor Schneider
b95a85f898
After entering a case on iEncoding for ANSI/UTF, iEncoding can only have those two values. Fixes Coverity CIDS 19, 20.
...
svn path=/trunk/; revision=36617
2008-10-01 19:56:51 +00:00
Christoph von Wittich
0d10840784
fix formatting
...
svn path=/trunk/; revision=36616
2008-10-01 18:19:42 +00:00
Samuel Serapion
389a6ea683
Convert to spec.
...
Fix definitions (taken from WINE).
svn path=/branches/ros-amd64-bringup/; revision=36614
2008-10-01 16:39:19 +00:00
Daniel Reimer
577deb3bf0
sync winhlp32 and wordpad with wine
...
svn path=/trunk/; revision=36613
2008-10-01 14:17:09 +00:00
Daniel Reimer
0ad74e6033
Sync winfile and write with wine
...
svn path=/trunk/; revision=36612
2008-10-01 14:14:39 +00:00
KJK::Hyperion
58fef1577f
modified ke/i386/cpu.c
...
Added CMPXCHG8B enabling/detection code for TransMeta, Centaur and Rise (source: <URL: http://www.geoffchappell.com/notes/windows/kernel/cpu/cx8.htm >). Code dead until each vendor will be officially supported
Alex and others: please review
svn path=/trunk/; revision=36610
2008-10-01 11:54:29 +00:00
Gregor Schneider
ac197ef4f3
Check DC for NULL before accessing it, fixes Coverity CID 661.
...
svn path=/trunk/; revision=36609
2008-10-01 11:48:12 +00:00
Gregor Schneider
dc3e3e8ef0
GetDIBits: destination height may be smaller than the source height, so the image size should always be calculated. Removed the hack in the bit copy phase that addressed the wrong bits buffer size.
...
This allows CopyImage to work, this can be seen in taskbar icons 1-4 for example.
Fixes two gdi32 winetests. Bugs #2225 and #3082 for more info.
Tested: QEMU VGA/8/16/24bpp, VMWare Server VMWare Driver 8/16/32bpp, VMWare Server ReactOS VBE Driver 8/16/32bpp
svn path=/trunk/; revision=36608
2008-10-01 10:49:10 +00:00
Gregor Schneider
163d36ceea
[FORMATTING], spelling, misc cleanup. No functional changes.
...
svn path=/trunk/; revision=36607
2008-10-01 10:05:02 +00:00
Gregor Schneider
bd0da13d89
hColor is not needed in IntSetCursor, fixes Coverity CID 40.
...
svn path=/trunk/; revision=36606
2008-10-01 09:57:51 +00:00
Timo Kreuzer
de42bbb865
fix usage of InterlockedIncrement
...
svn path=/branches/ros-amd64-bringup/; revision=36605
2008-10-01 09:44:53 +00:00
Johannes Anderwald
591ca1c7de
- Add resources for advanced tcp/ip configuration dialog
...
svn path=/trunk/; revision=36604
2008-09-30 20:16:00 +00:00
Johannes Anderwald
b1019f7eee
- Ttttypo
...
svn path=/trunk/; revision=36603
2008-09-30 19:09:31 +00:00
Aleksey Bragin
f45ca4adda
- Don't leak registry lock in failure branches of CmpParseKey. Spotted by Timo.
...
svn path=/trunk/; revision=36602
2008-09-30 18:44:22 +00:00
Johannes Anderwald
509b66cef5
- Add resources for TCP/IP alternate configuration dialog
...
svn path=/trunk/; revision=36601
2008-09-30 15:33:01 +00:00
Daniel Reimer
dbd0569bd7
Sync Wined3d to Wine 1.1.5 (great work done by: Kamil Hornicek)
...
svn path=/trunk/; revision=36600
2008-09-30 12:03:48 +00:00
James Tabor
f5fefad953
- Move undocumented WM_x messages to internal header. Find one, just move it in there.
...
svn path=/trunk/; revision=36597
2008-09-30 02:11:08 +00:00
James Tabor
e0aeda5ed2
- Patch by Vincent Povirk, Handle undocumented WM_POPUPSYSTENNEBU message.
...
svn path=/trunk/; revision=36596
2008-09-30 00:27:00 +00:00
Cameron Gutman
22ee49ac12
- Merge aicom-network-fixes up to r36594
...
svn path=/trunk/; revision=36595
2008-09-30 00:17:48 +00:00
Cameron Gutman
2197413b36
- Send the packet immediately if the miniport is not busy
...
- Change KeAcquireSpinLockAtDpcLevel/KeReleaseSpinLockFromDpcLevel to KeAcquireSpinLock/KeReleaseSpinLock since we aren't at DISPATCH_LEVEL
- Fix some comments
svn path=/branches/aicom-network-fixes/; revision=36594
2008-09-30 00:09:23 +00:00
Cameron Gutman
48af47e451
- Code cleanup
...
svn path=/branches/aicom-network-fixes/; revision=36593
2008-09-30 00:04:52 +00:00
Cameron Gutman
9536865b31
- Fix a memory leak
...
svn path=/branches/aicom-network-fixes/; revision=36592
2008-09-30 00:02:53 +00:00
Cameron Gutman
576e6e7961
- Use the proper flags so NDIS knows that our NIC doesn't have hardware loopback support
...
- Fixes the loopback adapter
svn path=/branches/aicom-network-fixes/; revision=36591
2008-09-29 23:57:32 +00:00
Aleksey Bragin
c3ed3870b5
- Commit the whole mapped BIOS/device registers block, not only the first 2 pages (why so, David?).
...
- Use Zw instead of Nt.
svn path=/trunk/; revision=36587
2008-09-29 09:11:55 +00:00
KJK::Hyperion
2973483318
modified dll/win32/kernel32/kernel32.def
...
modified dll/win32/kernel32/kernel32.rbuild
added dll/win32/kernel32/misc/icustubs.cpp
Export NormalizeString and IsStringNormalized from kernel32.dll. This (finally) makes normaliz.dll (50%) functional.
Link kernel32.dll to ICU. Finally. Binary size increased by about 300 KB on a debug build (this is only the beginning).
Umpteenth copy of C++ and Win32 stubs required to get ICU to link properly added to kernel32.dll.
This commit dedicated to Timo Kreuzer. <3.
svn path=/trunk/; revision=36586
2008-09-28 22:39:45 +00:00
Timo Kreuzer
76bf74c7f7
Improve memcpy. It was working correctly, but it wasted a cycle. ;-)
...
svn path=/trunk/; revision=36585
2008-09-28 21:50:05 +00:00
Timo Kreuzer
36a547b4a7
Extend ObjTypeInfo array to 32 entries.
...
Fixes Coverity CID 538
svn path=/trunk/; revision=36584
2008-09-28 21:25:24 +00:00
Stefan Ginsberg
b9f6e4a356
- Fix comments (no code change)
...
svn path=/trunk/; revision=36583
2008-09-28 20:53:51 +00:00
Cameron Gutman
472eb91e2f
- Merge aicom-network-fixes up to r36581
...
svn path=/trunk/; revision=36582
2008-09-28 20:19:27 +00:00
Cameron Gutman
f37a431c9a
- Call the ProtocolReceive handler at DISPATCH_LEVEL
...
svn path=/branches/aicom-network-fixes/; revision=36581
2008-09-28 20:05:38 +00:00
Cameron Gutman
1a255263e6
- Raise IRQL to DISPATCH_LEVEL before using KeAcquireSpinLockAtDpcLevel/KeReleaseSpinLockFromDpcLevel
...
svn path=/branches/aicom-network-fixes/; revision=36580
2008-09-28 19:58:09 +00:00
Gregor Schneider
ec00886a23
Check for NULL before using the DC.
...
Fixes Coverity CID 680.
svn path=/trunk/; revision=36579
2008-09-28 19:44:58 +00:00
Gregor Schneider
f1f31fe9f2
Handle PALETTE_LockPalette returning NULL.
...
Fixes Coverity CIDs 486 and 487.
svn path=/trunk/; revision=36578
2008-09-28 19:42:03 +00:00
Gregor Schneider
b3b0519142
A msvcrt test shouldn't test ntdll functions for correctness. Now people don't need to fix nonexistant "hidden" msvcrt bugs anymore.
...
svn path=/trunk/; revision=36577
2008-09-28 18:40:38 +00:00
Hervé Poussineau
aac6354d3b
Remove a hack, and link with C++ libraries only when required
...
Patch by Cecill Etheredge ( ijsf at gmx dot net )
svn path=/trunk/; revision=36576
2008-09-28 14:17:45 +00:00
Eric Kohl
f8998c9c84
Ooops, forgot to disable these [handle] attributes.
...
svn path=/trunk/; revision=36575
2008-09-28 13:49:47 +00:00
Eric Kohl
527202ad87
Cast returned handle values correctly.
...
svn path=/trunk/; revision=36574
2008-09-28 13:48:31 +00:00
Aleksey Bragin
5ee91c9c36
- Fix uninitialized variable usage. Fixes Coverity CID: 1293.
...
svn path=/trunk/; revision=36573
2008-09-28 11:16:41 +00:00
Aleksey Bragin
24430aea89
- Ports are counted starting from 1, with 0 being an invalid port index. Remove memory corruption by actually allocating MAX_ROOT_PORTS + 1 sized array. Fixes Coverity CID: 601.
...
svn path=/trunk/; revision=36572
2008-09-28 11:05:18 +00:00
Aleksey Bragin
faf94f044e
- It's meaningless to try to complete the IRP if irp == NULL. Fixes Coverity CID: 398
...
svn path=/trunk/; revision=36571
2008-09-28 10:57:59 +00:00