reactos.git
9 years agoAdd missing file
Timo Kreuzer [Sun, 13 Jun 2010 01:32:13 +0000 (01:32 +0000)]
Add missing file

svn path=/trunk/; revision=47771

9 years ago[CRT]
Timo Kreuzer [Sun, 13 Jun 2010 01:24:42 +0000 (01:24 +0000)]
[CRT]
- CRT update part 1/x
- sync C++ / exception related CRT code with wine
- add support for non-underscored symbols
- Patch by Samuel Serapion, slightly modified by me

svn path=/trunk/; revision=47770

9 years ago[fbtusb]
Sylvain Petreolle [Sat, 12 Jun 2010 20:08:29 +0000 (20:08 +0000)]
[fbtusb]
Fix include casing.

svn path=/trunk/; revision=47769

9 years ago[PSDK]
Timo Kreuzer [Sat, 12 Jun 2010 15:09:34 +0000 (15:09 +0000)]
[PSDK]
- ntstatus.h: add STATUS_INVALID_CRUNTIME_PARAMETER
- winnt.h: fix 64 bit definition of SLIST_ENTRY

svn path=/trunk/; revision=47768

9 years ago- Add some missing file-headers.
Amine Khaldi [Sat, 12 Jun 2010 14:55:02 +0000 (14:55 +0000)]
- Add some missing file-headers.

svn path=/trunk/; revision=47767

9 years ago[USBD]
Eric Kohl [Sat, 12 Jun 2010 12:20:41 +0000 (12:20 +0000)]
[USBD]
Replace DWORD by ULONG to make usbd.sys build without errors.

svn path=/trunk/; revision=47766

9 years ago[VFATLIB]
Eric Kohl [Sat, 12 Jun 2010 11:20:58 +0000 (11:20 +0000)]
[VFATLIB]
- Get rid of the hard-coded sector size as large sector (4KB) harddisks are already available.
- When a partition is formatted, choose the FAT type according to the partition type. The size of the partition does not matter here as it is up to the caller to set the right partition type according to its size.

svn path=/trunk/; revision=47765

9 years ago[FORMATTING]
Eric Kohl [Sat, 12 Jun 2010 10:25:18 +0000 (10:25 +0000)]
[FORMATTING]
Fix indentation. No code changes.

svn path=/trunk/; revision=47764

9 years ago[WDMAUD_KERNEL]
Johannes Anderwald [Sat, 12 Jun 2010 10:21:03 +0000 (10:21 +0000)]
[WDMAUD_KERNEL]
- Fix possible buffer overflow
[MMIXER]
- Add sanity checks

svn path=/trunk/; revision=47763

9 years agoBug 5457: updated slovak translations by Mario Kacmar.
Daniel Reimer [Sat, 12 Jun 2010 09:58:22 +0000 (09:58 +0000)]
Bug 5457: updated slovak translations by Mario Kacmar.

svn path=/trunk/; revision=47762

9 years ago[FBTUSB]
Cameron Gutman [Sat, 12 Jun 2010 00:29:09 +0000 (00:29 +0000)]
[FBTUSB]
- Import the FreeBT USB generic bluetooth driver (abandoned)
- Some slight modifications to make it build
- WMI is currently commented out because our WMI headers are lacking (particularly wmistr.h)
- Not building by default for now

svn path=/trunk/; revision=47761

9 years ago[USBD]
Cameron Gutman [Sat, 12 Jun 2010 00:23:18 +0000 (00:23 +0000)]
[USBD]
- Fix the spec file
- Fixes usbd build

svn path=/trunk/; revision=47760

9 years ago[PSDK]
Timo Kreuzer [Fri, 11 Jun 2010 21:48:13 +0000 (21:48 +0000)]
[PSDK]
Fix a typo (_AMD64 -> _AMD64_)

svn path=/trunk/; revision=47759

9 years ago[FORMATTING]
Eric Kohl [Fri, 11 Jun 2010 21:21:27 +0000 (21:21 +0000)]
[FORMATTING]
Fix indentation. No code changes.

svn path=/trunk/; revision=47758

9 years ago[XDK/DDK]
Amine Khaldi [Fri, 11 Jun 2010 17:00:49 +0000 (17:00 +0000)]
[XDK/DDK]
- Relax INTERLOCKED_RESULT inclusion guard.

svn path=/trunk/; revision=47756

9 years ago[PSDK]
Amine Khaldi [Fri, 11 Jun 2010 13:52:46 +0000 (13:52 +0000)]
[PSDK]
- Add some missing file-headers.

svn path=/trunk/; revision=47755

9 years ago[WDMAUD_KERNEL]
Johannes Anderwald [Fri, 11 Jun 2010 12:28:10 +0000 (12:28 +0000)]
[WDMAUD_KERNEL]
- Perform all allocations / frees in dedicated alloc / free function

svn path=/trunk/; revision=47754

9 years ago[PSDK]
Amine Khaldi [Fri, 11 Jun 2010 12:10:58 +0000 (12:10 +0000)]
[PSDK]
- Copy atsmedia.h from our dxsdk to our psdk (replacing the one that's already there)
- Add some missing file-headers.

svn path=/trunk/; revision=47753

9 years ago[SHELL32]
Gabriel Ilardi [Fri, 11 Jun 2010 09:13:49 +0000 (09:13 +0000)]
[SHELL32]
- Correctly show accessed and modified times in file properties dialog (they were exchanged).

svn path=/trunk/; revision=47752

9 years ago[USETUP]
Eric Kohl [Fri, 11 Jun 2010 04:13:29 +0000 (04:13 +0000)]
[USETUP]
- Set the type of the install partition even if it was not created by usetup.
This fixes bug #4368.

svn path=/trunk/; revision=47751

9 years ago[FRAGINATOR]
Amine Khaldi [Thu, 10 Jun 2010 23:29:42 +0000 (23:29 +0000)]
[FRAGINATOR]
- Add Ukrainian translation.

Patch by Igor Paliychuk - igor-hkr[at]mail[dot]ru

svn path=/trunk/; revision=47750

9 years ago[BROWSEUI]
Amine Khaldi [Thu, 10 Jun 2010 23:28:50 +0000 (23:28 +0000)]
[BROWSEUI]
- Add Ukrainian translation.
[KERNEL32]
- Add Ukrainian translation.

Patch by Igor Paliychuk - igor-hkr[at]mail[dot]ru

svn path=/trunk/; revision=47749

9 years ago[WIN32K]
Jérôme Gardou [Thu, 10 Jun 2010 22:15:05 +0000 (22:15 +0000)]
[WIN32K]
Merge GDIOBJ related changes from yarotows
  - GDIOBJ_(Share)LockObj : return NULL on NULL input, avoiding debug spew
  - Set NULL process owner when setting READY_TO_DIE flag of a gdiobj
  - So now GDIOBJ_ShareUnlockObj can claim ownership before trying to delete the object

svn path=/trunk/; revision=47748

9 years ago[WIN32K] Use GDITAG_RBRUSH instead of hardcoding the tag
Gregor Schneider [Thu, 10 Jun 2010 20:45:58 +0000 (20:45 +0000)]
[WIN32K] Use GDITAG_RBRUSH instead of hardcoding the tag

svn path=/trunk/; revision=47745

9 years ago[PSDK]
Amine Khaldi [Thu, 10 Jun 2010 20:31:21 +0000 (20:31 +0000)]
[PSDK]
- Move the amd64 check before the i386 one, and also check for __i386__

svn path=/trunk/; revision=47744

9 years ago[WIN32K] Tag the remaining untagged pool allocations
Gregor Schneider [Thu, 10 Jun 2010 19:58:39 +0000 (19:58 +0000)]
[WIN32K] Tag the remaining untagged pool allocations

svn path=/trunk/; revision=47743

9 years ago[WIN32K]
Gregor Schneider [Thu, 10 Jun 2010 19:33:04 +0000 (19:33 +0000)]
[WIN32K]
- Tag even more pool allocations
- Remove dead code, adjust comments

svn path=/trunk/; revision=47742

9 years ago[WIN32K] Tag more pool allocations
Gregor Schneider [Thu, 10 Jun 2010 19:20:57 +0000 (19:20 +0000)]
[WIN32K] Tag more pool allocations

svn path=/trunk/; revision=47741

9 years ago[NETSHELL]
Pierre Schweitzer [Thu, 10 Jun 2010 18:58:46 +0000 (18:58 +0000)]
[NETSHELL]
Updated French translation

[PAINT]
Updated French translation

[SHELL32]
Updated French translation

[SPIDER]
Added French translation

[SYSSETUP]
Updated French translation

svn path=/trunk/; revision=47740

9 years ago[USER32_WINETEST]
Amine Khaldi [Thu, 10 Jun 2010 16:06:10 +0000 (16:06 +0000)]
[USER32_WINETEST]
- Re-enable generated.c tests.
This commit (the previous one too) is a result of the header work reintegration.

svn path=/trunk/; revision=47738

9 years ago[NTDLL_WINETEST]
Amine Khaldi [Thu, 10 Jun 2010 15:55:07 +0000 (15:55 +0000)]
[NTDLL_WINETEST]
- Re-enable generated.c tests.

svn path=/trunk/; revision=47737

9 years ago[PSDK]
Amine Khaldi [Thu, 10 Jun 2010 15:35:16 +0000 (15:35 +0000)]
[PSDK]
- Deduplicate/improve architecture related definitions.

svn path=/trunk/; revision=47736

9 years ago[DHCPCSVC]
Cameron Gutman [Thu, 10 Jun 2010 04:38:04 +0000 (04:38 +0000)]
[DHCPCSVC]
- Implement adapter discovery after startup (currently does not work because the iphlpapi code is not implemented)

svn path=/trunk/; revision=47732

9 years ago[ROSTESTS]
Jérôme Gardou [Thu, 10 Jun 2010 00:17:06 +0000 (00:17 +0000)]
[ROSTESTS]
test what happens when a DC is saved and a bitmap is selected into it.

svn path=/trunk/; revision=47730

9 years ago[ACPI]
Cameron Gutman [Wed, 9 Jun 2010 23:02:34 +0000 (23:02 +0000)]
[ACPI]
- Create a resource list for the PCI root bus (even though it doesn't use any resources according to ACPI) and fill it with a bus number resource descriptor
- Fixes PCI device detection with ACPI enabled

svn path=/trunk/; revision=47729

9 years ago- Fix localspl and localui build.
Amine Khaldi [Wed, 9 Jun 2010 22:28:14 +0000 (22:28 +0000)]
- Fix localspl and localui build.

svn path=/trunk/; revision=47728

9 years agoReintegrate header-work branch. Important changes include continued work on headers...
Amine Khaldi [Wed, 9 Jun 2010 22:24:32 +0000 (22:24 +0000)]
Reintegrate header-work branch. Important changes include continued work on headers and progress on compiling for ARM.

svn path=/trunk/; revision=47727

9 years ago[ACPI]
Cameron Gutman [Wed, 9 Jun 2010 22:15:17 +0000 (22:15 +0000)]
[ACPI]
- Store the interrupt data as the vector and level
- Fixes resource conflict issues

svn path=/trunk/; revision=47726

9 years ago[NTOSKRNL]
Cameron Gutman [Wed, 9 Jun 2010 21:53:42 +0000 (21:53 +0000)]
[NTOSKRNL]
- Set the resource list pointer to NULL after we free it
- Fixes a double-free issue in the resource conflict resolution code

svn path=/trunk/; revision=47725

9 years ago[PCI]
Cameron Gutman [Wed, 9 Jun 2010 20:12:27 +0000 (20:12 +0000)]
[PCI]
- Implement IRP_MN_REMOVE_DEVICE handling for FDOs

svn path=/trunk/; revision=47723

9 years ago[NTOSKRNL]
Cameron Gutman [Wed, 9 Jun 2010 20:04:39 +0000 (20:04 +0000)]
[NTOSKRNL]
- Implement IRP_MN_REMOVE_DEVICE handling for PnP root PDOs

svn path=/trunk/; revision=47722

9 years agoSync uo to HEAD (r47720). backups/header-work@57446
Amine Khaldi [Wed, 9 Jun 2010 18:58:14 +0000 (18:58 +0000)]
Sync uo to HEAD (r47720).

svn path=/branches/header-work/; revision=47721

9 years ago- Add some header guards.
Amine Khaldi [Wed, 9 Jun 2010 18:30:37 +0000 (18:30 +0000)]
- Add some header guards.

svn path=/branches/header-work/; revision=47720

9 years ago- Temporarily move those headers from PSDK to DDK (due to svn awesomeness).
Amine Khaldi [Wed, 9 Jun 2010 17:33:59 +0000 (17:33 +0000)]
- Temporarily move those headers from PSDK to DDK (due to svn awesomeness).

svn path=/branches/header-work/; revision=47718

9 years ago- Update ReactOS-amd64.rbuild
Amine Khaldi [Wed, 9 Jun 2010 17:22:54 +0000 (17:22 +0000)]
- Update ReactOS-amd64.rbuild

svn path=/branches/header-work/; revision=47717

9 years ago[DDK]
Amine Khaldi [Wed, 9 Jun 2010 17:19:06 +0000 (17:19 +0000)]
[DDK]
- Replace dciddi.h with the one from mingw-w64
[PSDK]
- Get rid of duplicate dciddi.h

svn path=/branches/header-work/; revision=47716

9 years ago[MMIXER]
Johannes Anderwald [Wed, 9 Jun 2010 16:51:16 +0000 (16:51 +0000)]
[MMIXER]
- Handle failure of device enumeration
- Add sanity check

svn path=/trunk/; revision=47715

9 years ago[KS]
Johannes Anderwald [Wed, 9 Jun 2010 14:44:46 +0000 (14:44 +0000)]
[KS]
- Perform all allocations / frees in dedicated alloc / free function

svn path=/trunk/; revision=47714

9 years ago[KS]
Johannes Anderwald [Wed, 9 Jun 2010 14:16:05 +0000 (14:16 +0000)]
[KS]
- Fix memory leak

svn path=/trunk/; revision=47713

9 years agoI don't like this, but add the treeview refresh hack.
Ged Murphy [Wed, 9 Jun 2010 13:31:02 +0000 (13:31 +0000)]
I don't like this, but add the treeview refresh hack.
I don't see this bug on my (windows) build but others are reporting it still happens on the (linux) build machine iso.
Maybe it's because linux is akin to the devil? Yes, I like this, let's blame linux!

svn path=/trunk/; revision=47712

9 years ago[PORTCLS]
Johannes Anderwald [Wed, 9 Jun 2010 13:27:19 +0000 (13:27 +0000)]
[PORTCLS]
- Check if resource list has been allocated

svn path=/trunk/; revision=47711

9 years ago- Leftover from the sync.
Amine Khaldi [Wed, 9 Jun 2010 12:07:22 +0000 (12:07 +0000)]
- Leftover from the sync.

svn path=/branches/header-work/; revision=47710

9 years ago- Add "bootcdregtest" in the list of well-known targets.
Aleksey Bragin [Wed, 9 Jun 2010 10:34:35 +0000 (10:34 +0000)]
- Add "bootcdregtest" in the list of well-known targets.

svn path=/trunk/; revision=47708

9 years agoThis bug seems to have gone now. Tried to replicate it the devmgmt treeview.
Ged Murphy [Wed, 9 Jun 2010 08:09:35 +0000 (08:09 +0000)]
This bug seems to have gone now. Tried to replicate it the devmgmt treeview.

svn path=/trunk/; revision=47706

9 years agoMerge second part of the comctl32 Wine 1.2 sync.
Ged Murphy [Wed, 9 Jun 2010 08:04:35 +0000 (08:04 +0000)]
Merge second part of the comctl32 Wine 1.2 sync.
All code currently omits the reactos specific patches. It's been a long time since we synched this lib so it's possible we no longer need them. Time will tell.

svn path=/trunk/; revision=47705

9 years ago[IP]
Cameron Gutman [Wed, 9 Jun 2010 04:45:17 +0000 (04:45 +0000)]
[IP]
- Handle socket operations that can be completed immediately before terminating the socket to avoid losing data sitting in the receive buffer

svn path=/trunk/; revision=47704

9 years agoSync trunk (r47699)
Timo Kreuzer [Tue, 8 Jun 2010 22:20:26 +0000 (22:20 +0000)]
Sync trunk (r47699)

svn path=/branches/header-work/; revision=47700

9 years agoMerge RtlIpv4StringToAddressW fix from network branch.
Sylvain Petreolle [Tue, 8 Jun 2010 20:24:15 +0000 (20:24 +0000)]
Merge RtlIpv4StringToAddressW fix from network branch.

svn path=/trunk/; revision=47699

9 years agoSync trunk head (r47697).
Amine Khaldi [Tue, 8 Jun 2010 20:04:37 +0000 (20:04 +0000)]
Sync trunk head (r47697).

svn path=/branches/header-work/; revision=47698

9 years ago[PSDK]
Timo Kreuzer [Tue, 8 Jun 2010 14:31:31 +0000 (14:31 +0000)]
[PSDK]
Merge 47681 and 47682 from header branch
- Add missing file headers
- Fix defintition of POINTER_64
- by Amine Khaldi

svn path=/trunk/; revision=47697

9 years agoMove UTF8 to the bottom of the file. Thanks to Christoph for the tip
Ged Murphy [Tue, 8 Jun 2010 11:09:32 +0000 (11:09 +0000)]
Move UTF8 to the bottom of the file. Thanks to Christoph for the tip

svn path=/trunk/; revision=47696

9 years agoPart 1 of the comctl32 sync. I'll do it in 2 stages for testing purposes as it's...
Ged Murphy [Tue, 8 Jun 2010 10:21:26 +0000 (10:21 +0000)]
Part 1 of the comctl32 sync. I'll do it in 2 stages for testing purposes as it's a very large patch.
This part includes alpha support for imagelists and tango icons for the common toolbars
I'll do the second part later today. It has a propsheet bug and I'm a bit busy at the mo.

svn path=/trunk/; revision=47695

9 years agoAdd missing info needed for the comctl32 sync
Ged Murphy [Tue, 8 Jun 2010 10:16:34 +0000 (10:16 +0000)]
Add missing info needed for the comctl32 sync

svn path=/trunk/; revision=47694

9 years ago[KERNEL32], [WIN32CSR]
Jeffrey Morlan [Tue, 8 Jun 2010 06:38:14 +0000 (06:38 +0000)]
[KERNEL32], [WIN32CSR]
- Implement ReadConsoleW's CONSOLE_READCONSOLE_CONTROL structure.
- Make pressing Insert during line input work

svn path=/trunk/; revision=47693

9 years agorevert 47688 and 47689
Timo Kreuzer [Tue, 8 Jun 2010 01:37:58 +0000 (01:37 +0000)]
revert 47688 and 47689

svn path=/trunk/; revision=47691

9 years ago[BOOTCD]
Timo Kreuzer [Tue, 8 Jun 2010 00:19:34 +0000 (00:19 +0000)]
[BOOTCD]
Add cabman to bootcd. This is for diagnostic purposes.

svn path=/trunk/; revision=47689

9 years ago[ZLIB]
Timo Kreuzer [Mon, 7 Jun 2010 23:39:37 +0000 (23:39 +0000)]
[ZLIB]
Revert r47411. This is a test to see if it fixes the sysreg crash in 1st stage.

svn path=/trunk/; revision=47688

9 years ago[WDMAUD_KERNEL]
Johannes Anderwald [Mon, 7 Jun 2010 23:00:04 +0000 (23:00 +0000)]
[WDMAUD_KERNEL]
- Extend the mdl hack

svn path=/trunk/; revision=47687

9 years agoRevert 47685.
Sylvain Petreolle [Mon, 7 Jun 2010 21:38:49 +0000 (21:38 +0000)]
Revert 47685.

svn path=/trunk/; revision=47686

9 years agoEnable debug in usetup. This will be reverted in next commit.
Sylvain Petreolle [Mon, 7 Jun 2010 21:36:37 +0000 (21:36 +0000)]
Enable debug in usetup. This will be reverted in next commit.

svn path=/trunk/; revision=47685

9 years ago[HAL]: Use Bus Handler support for HalFindBusAddressTranslation. Implement HalpContex...
Sir Richard [Mon, 7 Jun 2010 21:36:31 +0000 (21:36 +0000)]
[HAL]: Use Bus Handler support for HalFindBusAddressTranslation. Implement HalpContextToBusHandler to support this. Seems to work fine with bootvid (only user).
       All the HAL's bus functions now use Bus Handlers on Legacy systems. There are still big issues with PCI cards.
       eVb: PCI-x should work now.
       More PCI-related HAL patches may follow later.

svn path=/trunk/; revision=47684

9 years ago[HAL]: Use Bus Handlers for HalpAssignSlotResources. Warn that current PCI Slot assig...
Sir Richard [Mon, 7 Jun 2010 21:26:09 +0000 (21:26 +0000)]
[HAL]: Use Bus Handlers for HalpAssignSlotResources. Warn that current PCI Slot assignment code is frelled.
[HAL]: Add PAGED_CODE();
[HAL]: Fix HALACPI build break.

svn path=/trunk/; revision=47683

9 years ago[PSDK]
Amine Khaldi [Mon, 7 Jun 2010 21:19:24 +0000 (21:19 +0000)]
[PSDK]
- Update/improve some usb related headers' headers.

svn path=/branches/header-work/; revision=47682

9 years ago[PSDK]
Amine Khaldi [Mon, 7 Jun 2010 21:15:05 +0000 (21:15 +0000)]
[PSDK]
- Fix a "FIXME! HACK!!!"

svn path=/branches/header-work/; revision=47681

9 years ago[HAL]: Implement HalAdjustResourceList using Bus Handler support. Previous HAL said...
Sir Richard [Mon, 7 Jun 2010 21:06:16 +0000 (21:06 +0000)]
[HAL]: Implement HalAdjustResourceList using Bus Handler support. Previous HAL said this was "deprecated" and faked success. Although correct on ACPI HALs, this is a legacy HALs, so Bus Handlers have a chance to do ajdustment.

svn path=/trunk/; revision=47680

9 years ago[HAL]: Implement HalTranslateBusAddress using Bus Handler support. The old HAL would...
Sir Richard [Mon, 7 Jun 2010 21:01:53 +0000 (21:01 +0000)]
[HAL]: Implement HalTranslateBusAddress using Bus Handler support. The old HAL would just return whatever the caller gave (no translation was done). For example, with the new HAL, this now results in the translation of 0xCF800 in I/O space to fail (not sure which driver requests this), because this is not a valid I/O address on PC/AT systems (highest is 0xFFFF).
       This change also allows for the PCI driver to override the translation mechanism (which will piggy-back to the system bus translator) with its own. Please test.

svn path=/trunk/; revision=47679

9 years ago[HAL]: Implement ISA BUS address translation.
Sir Richard [Mon, 7 Jun 2010 20:59:46 +0000 (20:59 +0000)]
[HAL]: Implement ISA BUS address translation.

svn path=/trunk/; revision=47678

9 years ago[HAL]: Implement system bus address translation.
Sir Richard [Mon, 7 Jun 2010 20:59:00 +0000 (20:59 +0000)]
[HAL]: Implement system bus address translation.

svn path=/trunk/; revision=47677

9 years ago[HAL]: Implement Bus Handler support for HalGetInterruptVector too. The new functiona...
Sir Richard [Mon, 7 Jun 2010 20:39:11 +0000 (20:39 +0000)]
[HAL]: Implement Bus Handler support for HalGetInterruptVector too. The new functionality now includes support for checking against reserved HAL vectors instead of blindling assining IRQLs/Vectors to callers. A warning is printed on the debug log when the old HAL would've returned different values. Please test. If you have issues, the problem is in the DRIVERS, not this code.

svn path=/trunk/; revision=47676

9 years ago[HAL]: Implement PCI Vector/IRQL translation too.
Sir Richard [Mon, 7 Jun 2010 20:37:45 +0000 (20:37 +0000)]
[HAL]: Implement PCI Vector/IRQL translation too.

svn path=/trunk/; revision=47675

9 years ago[HALMP]: MP HAL should have HalpDefaultInterruptAffinity too.
Sir Richard [Mon, 7 Jun 2010 20:37:19 +0000 (20:37 +0000)]
[HALMP]: MP HAL should have HalpDefaultInterruptAffinity too.

svn path=/trunk/; revision=47674

9 years ago[HAL]: Forgot file.
Sir Richard [Mon, 7 Jun 2010 20:35:02 +0000 (20:35 +0000)]
[HAL]: Forgot file.

svn path=/trunk/; revision=47673

9 years ago[HAL]: Implement system bus (and ISA) vector/interrupt translation.
Sir Richard [Mon, 7 Jun 2010 20:34:41 +0000 (20:34 +0000)]
[HAL]: Implement system bus (and ISA) vector/interrupt translation.

svn path=/trunk/; revision=47672

9 years ago[HAL]: Use Bus Handler support for HalSetBusDataByOffset. Please report any problems.
Sir Richard [Mon, 7 Jun 2010 20:13:05 +0000 (20:13 +0000)]
[HAL]: Use Bus Handler support for HalSetBusDataByOffset. Please report any problems.

svn path=/trunk/; revision=47671

9 years ago[HAL]: First use of bus handler support: HalGetBusDataByOffset now uses bus handlers...
Sir Richard [Mon, 7 Jun 2010 20:10:53 +0000 (20:10 +0000)]
[HAL]: First use of bus handler support: HalGetBusDataByOffset now uses bus handlers. Please report any problems.

svn path=/trunk/; revision=47670

9 years ago[HAL]: I don't like to swear, but F*CK this MiniHAL bullsh*t!
Sir Richard [Mon, 7 Jun 2010 18:30:20 +0000 (18:30 +0000)]
[HAL]: I don't like to swear, but F*CK this MiniHAL bullsh*t!

svn path=/trunk/; revision=47668

9 years agoSync up to trunk head (r47666)
Amine Khaldi [Mon, 7 Jun 2010 17:15:29 +0000 (17:15 +0000)]
Sync up to trunk head (r47666)

svn path=/branches/header-work/; revision=47667

9 years ago[HAL]: Plug in the data from pcidata.c that was committed months ago to display a...
Sir Richard [Mon, 7 Jun 2010 17:01:56 +0000 (17:01 +0000)]
[HAL]: Plug in the data from pcidata.c that was committed months ago to display a beautiful enumeration of all PCI devices on the machine. This will allow debug logs not only to contain nearly full hardware information, but also identify the VM the tester/reporter is using (based on the device's subsystem ID).
[HAL]: Display all the warning DPRINTs in-line with the PCI enumeration code, resulting in a much easier to read and comprehensive review of the machine.

svn path=/trunk/; revision=47666

9 years ago[HAL]: Implement HalpGetPciBridgeConfig to detect PCI-to-PCI/CardBus bridges, warn...
Sir Richard [Mon, 7 Jun 2010 16:44:12 +0000 (16:44 +0000)]
[HAL]: Implement HalpGetPciBridgeConfig to detect PCI-to-PCI/CardBus bridges, warn if they are found.
[HAL]: Modify the debug messages to be more accurate as to what exactly is unsupported.

svn path=/trunk/; revision=47665

9 years ago[HAL]: Implement partly HalpFixupPciSupportedRanges to detect PCI Bridges, and PCI...
Sir Richard [Mon, 7 Jun 2010 16:15:01 +0000 (16:15 +0000)]
[HAL]: Implement partly HalpFixupPciSupportedRanges to detect PCI Bridges, and PCI-to-PCI Bridges. The point is we want buses to be cramped down to the addresses supported by the parent bus/bridge. This is NOT currently done, so we warn users of these systems.

svn path=/trunk/; revision=47664

9 years ago[HAL]: Detect, check for, and warn about, chipset hacks that need to be applied for...
Sir Richard [Mon, 7 Jun 2010 15:34:35 +0000 (15:34 +0000)]
[HAL]: Detect, check for, and warn about, chipset hacks that need to be applied for the machine.

svn path=/trunk/; revision=47662

9 years agoSync trunk.
Amine Khaldi [Mon, 7 Jun 2010 15:30:17 +0000 (15:30 +0000)]
Sync trunk.

svn path=/branches/header-work/; revision=47661

9 years ago[NTOS]: Check registry for our CardList, check if the PCI hardware matches any entry...
Sir Richard [Mon, 7 Jun 2010 15:09:44 +0000 (15:09 +0000)]
[NTOS]: Check registry for our CardList, check if the PCI hardware matches any entry in there that specifies it has full/extended address decoding, and write the registry flag for it.

svn path=/trunk/; revision=47660

9 years ago[HAL]: Detect IDE controllers. Their interrupts should not be masked.
Sir Richard [Mon, 7 Jun 2010 15:02:49 +0000 (15:02 +0000)]
[HAL]: Detect IDE controllers. Their interrupts should not be masked.

svn path=/trunk/; revision=47659

9 years ago[win32k]
Michael Martin [Mon, 7 Jun 2010 13:37:43 +0000 (13:37 +0000)]
[win32k]
- Change the number of windowless timers from 1024 to 32768.
- When destroying windowless timers, clear the bit number (IDEvent) in the bitmap so the bit number can be reused.
- Only create a windowless timer if there is no windowless timer matching IDEvent.
- Fixes case where applications create too many windowless timers and/or run out of windowless timers.

svn path=/trunk/; revision=47658

9 years ago[MSAFD]
Cameron Gutman [Mon, 7 Jun 2010 05:40:08 +0000 (05:40 +0000)]
[MSAFD]
- Fix a bug in GetSocketStructure that resulted in us missing the last entry of the list
- Remove an "optimization" which was supposed to find an unused socket entry (which it almost never did) but now just corrupts the linked list by trashing our NextSocket pointer

svn path=/trunk/; revision=47656

9 years ago[HAL]: Detect, initialize, and create bus handlers for, all PCI buses that are found...
Sir Richard [Mon, 7 Jun 2010 03:23:48 +0000 (03:23 +0000)]
[HAL]: Detect, initialize, and create bus handlers for, all PCI buses that are found on the machine.
[HAL]: Detect PCI-to-PCI Bridges, Extended CardBus Addressing, read Chipset Hacks from Registry, and scan for IRQ lines used by PCI Devices. Scan for PCI-IDE controllers, broken Intel PCI Bridges/Controllers. Scan for OHCI and UHCI USB controllers. Warn the user that if any of these are found, the current HAL does not handle certain types of these devices (these checks are based on the ones the Legacy Windows HAL makes).

svn path=/trunk/; revision=47655

9 years ago[HAL]: Add missing PCI Bus Handler support functions, used on non-ACPI systems (ISA...
Sir Richard [Mon, 7 Jun 2010 03:19:20 +0000 (03:19 +0000)]
[HAL]: Add missing PCI Bus Handler support functions, used on non-ACPI systems (ISA-PCI support and such).

svn path=/trunk/; revision=47654

9 years ago[HAL]: Kill debug spew.
Sir Richard [Mon, 7 Jun 2010 03:18:51 +0000 (03:18 +0000)]
[HAL]: Kill debug spew.

svn path=/trunk/; revision=47653

9 years ago[MSAFD]
Cameron Gutman [Mon, 7 Jun 2010 01:50:26 +0000 (01:50 +0000)]
[MSAFD]
- Fix 2 more callers who don't pass a valid lpErrno pointer
- Check the return value of WSPSocket
- Return WSAEWOULDBLOCK if there are no connections that can be accepted instead of silently returning 0 which is not INVALID_SOCKET so the caller treats it as a valid socket pointer and passes it to other functions which caused wide-spread mayhem since we never checked whether the socket handle the caller passed was valid until my last commit

svn path=/trunk/; revision=47652