reactos.git
13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

svn path=/trunk/; revision=47686

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 years ago[AFD]
Cameron Gutman [Mon, 7 Jun 2010 01:38:15 +0000 (01:38 +0000)]
[AFD]
- It is legal to send a NULL event object pointer to AFD (this is sent by msafd to cancel an existing event select)

svn path=/trunk/; revision=47651

13 years ago[MSAFD]
Cameron Gutman [Mon, 7 Jun 2010 01:24:15 +0000 (01:24 +0000)]
[MSAFD]
- Validate that we found the corresponding socket information in our socket information list
- Fixes a crash in Firefox 2 when it tries to call accept() with a closed socket

svn path=/trunk/; revision=47650

13 years ago[HAL]: Bus support in the HAL actually creates a further wedge between the different...
Sir Richard [Mon, 7 Jun 2010 01:09:41 +0000 (01:09 +0000)]
[HAL]: Bus support in the HAL actually creates a further wedge between the different x86 HALs: There are actually two dinstinct implementations. On the ACPI HAL, the system is assumed not to have things like special ISA, MCA, EISA buses, and a PCI driver is used in combination with the ACPI Interface for PCI Bus support. On non-ACPI systems, the legacy "Bus Handler" library is used, and the HAL provides a core set of CMOS, EISA, ISA, MCA and PCI bus handlers, each with their own routines and specific code. Additionally, PCI IRQ Routing and other PCI bus internals are handled directly by the HAL -- on the ACPI HAL, the PCI Bus support is implemented through a "Fake"/static bus handler, just to keep the functions shared. On ReactOS, both the ACPI and non-ACPI HAL were currently using a mix of both HAL bus handling types, mostly implemented the "ACPI way" (with a fake PCI bus handler and such).
       As a result, none of the Hal*Bus HALDISPATCH routines were implemented, which bus drivers expect to find when they're not on ACPI systems (ReactOS today). eVb's new PCI driver was crashing, for example.
       Furthermore, legacy systems suffer, because the ACPI HAL Bus routines (that we currently have) expect perfect ACPI-style-compliant systems, not the legacy crap from the early 90ies. This works fine in VMs and new hardware, but old hardware is left behind.
       This patch basically corrects the first part of the problem, by making the bus handling support separate between ACPI and non-ACPI HALs. For now, the code remains 100% the same in functionality between both.
       However, I have started adding the first few elements:
[HAL]: Implement HalRegisterBusHandler HALDISPATCH routine.
[HAL]: On legacy HALs, register the CMOS, ISA, SYSTEM handlers.
[HAL]: Add cmosbus.c. Stub all bus-specific bus handler routines in the xxxbus.c files.
No real functionality change occurs with this patch, yet.

svn path=/trunk/; revision=47649

13 years ago[DHCP/FTP]: Fix building on OS X hosts.
Sir Richard [Mon, 7 Jun 2010 00:58:55 +0000 (00:58 +0000)]
[DHCP/FTP]: Fix building on OS X hosts.

svn path=/trunk/; revision=47648

13 years agoI hate making the same mistake twice in one day
Cameron Gutman [Mon, 7 Jun 2010 00:44:00 +0000 (00:44 +0000)]
I hate making the same mistake twice in one day

svn path=/trunk/; revision=47647

13 years ago[MSAFD]
Cameron Gutman [Mon, 7 Jun 2010 00:24:27 +0000 (00:24 +0000)]
[MSAFD]
- Use a linked list to store the socket information instead of allocating a massive array (1024 elements!) for each process in DllMain to hold all of the pointers
- Fix a massive memory leak (free the socket information which we leaked for every socket we allocated)
- This improves performance because we don't have to look through an array of stale socket information pointers (which we never actually removed from the socket information array in the old code) and the new code queues the socket information at the head of the list which makes newer sockets faster to access

svn path=/trunk/; revision=47646

13 years agoRemove an unintended change
Cameron Gutman [Sun, 6 Jun 2010 23:49:27 +0000 (23:49 +0000)]
Remove an unintended change

svn path=/trunk/; revision=47645

13 years agoAdd Opera 9 to rapps.
Daniel Reimer [Sun, 6 Jun 2010 23:45:20 +0000 (23:45 +0000)]
Add Opera 9 to rapps.
Update OOo to 3.2.1 and the last time... fix the FF2 link.

svn path=/trunk/; revision=47644

13 years ago[MSAFD]
Cameron Gutman [Sun, 6 Jun 2010 23:07:26 +0000 (23:07 +0000)]
[MSAFD]
- Fix many times where we wait for an operation but don't update our status and return if it failed
- Fix the overlapped pending case in writing which was completely broken (callers would detect an error but GetLastError would return 0 because we didn't store the error in the lpErrno variable)
- Fix many times where we pass a pointer to an event that we close without waiting
- Fix a bug in WSPEnumNetworkEvents when we would set WSAEINVAL in the lpErrno variable but not return SOCKET_ERROR so the error got ignored

svn path=/trunk/; revision=47643

13 years ago[NDIS]
Cameron Gutman [Sun, 6 Jun 2010 22:08:40 +0000 (22:08 +0000)]
[NDIS]
- Hold the miniport lock when we work with the timer queue
- Use the return value of KeSetTimer(Ex) to determine whether we need to queue the timer in our queue, otherwise we just use the entry that is already there
- Add more assertions

svn path=/trunk/; revision=47642

13 years agoForgot to remove this ASSERT for r47636
Cameron Gutman [Sun, 6 Jun 2010 21:31:58 +0000 (21:31 +0000)]
Forgot to remove this ASSERT for r47636

svn path=/trunk/; revision=47639

13 years ago[WIN32K]
Gregor Schneider [Sun, 6 Jun 2010 19:29:20 +0000 (19:29 +0000)]
[WIN32K]
- Use TAG_KEYBOARD for keyboard layouts
- Free TAG_ACCEL and TAG_DRIVER allocations with their tags

svn path=/trunk/; revision=47637

13 years ago[NDIS]
Cameron Gutman [Sun, 6 Jun 2010 19:18:19 +0000 (19:18 +0000)]
[NDIS]
- Only dequeue the timer in the DPC if the Period is 0 (which means that it's NOT a periodic timer so we only get called once)
- Attempt to dequeue the timer before inserting it so we don't end up with multiple copies of the same timer on the timer queue if somebody calls NdisMSet(Periodic)Timer twice

svn path=/trunk/; revision=47636

13 years ago[WIN32K]
Gregor Schneider [Sun, 6 Jun 2010 19:11:52 +0000 (19:11 +0000)]
[WIN32K]
- Use TAG_PALETTE for palette entries
- Remove mapping codes, the functions from pre r9000 don't even exist anymore

svn path=/trunk/; revision=47635

13 years ago[WIN32K] Use TAG_GDIICM tag for ICM allocations
Gregor Schneider [Sun, 6 Jun 2010 18:51:43 +0000 (18:51 +0000)]
[WIN32K] Use TAG_GDIICM tag for ICM allocations

svn path=/trunk/; revision=47634

13 years ago[NTOS] Inline writing to PTEs through MI_WRITE_VALID/INVALID_PTE.
Stefan Ginsberg [Sun, 6 Jun 2010 18:45:46 +0000 (18:45 +0000)]
[NTOS] Inline writing to PTEs through MI_WRITE_VALID/INVALID_PTE.

svn path=/trunk/; revision=47633

13 years ago[WIN32K] Free allocations with the tag that was used to allocate them
Gregor Schneider [Sun, 6 Jun 2010 18:34:57 +0000 (18:34 +0000)]
[WIN32K] Free allocations with the tag that was used to allocate them

svn path=/trunk/; revision=47632

13 years ago[WIN32K] assert -> ASSERT
Gregor Schneider [Sun, 6 Jun 2010 18:32:57 +0000 (18:32 +0000)]
[WIN32K] assert -> ASSERT

svn path=/trunk/; revision=47631

13 years ago[NDIS]
Cameron Gutman [Sun, 6 Jun 2010 18:09:25 +0000 (18:09 +0000)]
[NDIS]
- Implement miniport timer queuing
- Add some BUGCODE_ID_DRIVER bug check cases for missing interrupt deregistration, missing timer cancellation, and invalid IRQL when calling NdisMAllocateSharedMemory

svn path=/trunk/; revision=47630

13 years ago[NTOS]: Enable usage of ARM3 paged pool, up until Mm Phase 2.
Sir Richard [Sun, 6 Jun 2010 15:59:42 +0000 (15:59 +0000)]
[NTOS]: Enable usage of ARM3 paged pool, up until Mm Phase 2.
[NTOS]: Re-arrange some of the init code, now that we have access to ARM3 paged pool early-on. Move more code to ARM3::INIT in its right place.
[NTOS]: Enable using the ARM3 PFN Database, getting rid of the old ReactOS PFN database. Should reduce physical memory usage now that we don't have two copies anymore.
[NTOS]: Fix the ARM3 PFN Datbase initialization code.
[NTOS]: Get rid of MiInitializePageList, use MiGetPfnEntryOffset instead of hard-coded pointer math in freelist.c.
This is the last big low-level Mm/ARM3 patch for a long, long time.

svn path=/trunk/; revision=47627

13 years ago[COMPBATT]: Remove useless function.
Sir Richard [Sun, 6 Jun 2010 15:49:54 +0000 (15:49 +0000)]
[COMPBATT]: Remove useless function.

svn path=/trunk/; revision=47626

13 years ago- Fix a comment and remove a superfluous extern.
Stefan Ginsberg [Sun, 6 Jun 2010 14:42:03 +0000 (14:42 +0000)]
- Fix a comment and remove a superfluous extern.

svn path=/trunk/; revision=47625

13 years ago[NTOS]: Another one bites the dust, another one bites the dust. And another one gone...
Sir Richard [Sun, 6 Jun 2010 14:24:18 +0000 (14:24 +0000)]
[NTOS]: Another one bites the dust, another one bites the dust. And another one gone and another one gone. Another one bites the dust, yeah. Out of the doorway the bullets rip, Repeating to the sound of the beat.

svn path=/trunk/; revision=47624

13 years ago[NTOS]: A PFN entry is not necessarily physical only if it is higher than MmHighestPh...
Sir Richard [Sun, 6 Jun 2010 14:15:18 +0000 (14:15 +0000)]
[NTOS]: A PFN entry is not necessarily physical only if it is higher than MmHighestPhysicalPage. It can also be physical if it lies in a memory hole within the min-max physical page range. We can detect this by using our PFN Bitmap. So replace all "Is this an I/O mapping?" checks with a check on whether or not the PFN Database entry is NULL (which will check for us both of these statements). This ought to be a macro...

svn path=/trunk/; revision=47623

13 years ago[NTOS]: Don't use MmAllocPage for the first paged pool PDE, instead, use MiRemoveZero...
Sir Richard [Sun, 6 Jun 2010 14:13:35 +0000 (14:13 +0000)]
[NTOS]: Don't use MmAllocPage for the first paged pool PDE, instead, use MiRemoveZeroPage.
[NTOS]: Use MiInitializePfnForOtherProcess to setup the first paged pool PDE.

svn path=/trunk/; revision=47622

13 years ago[NTOS]: Implement MiRemoveZeroPage and MiZeroPhysicalPage.
Sir Richard [Sun, 6 Jun 2010 14:12:28 +0000 (14:12 +0000)]
[NTOS]: Implement MiRemoveZeroPage and MiZeroPhysicalPage.
Not yet used.

svn path=/trunk/; revision=47621

13 years ago[NTOS]: Fix a loop off-by-one when saving the page table index in contigious memory...
Sir Richard [Sun, 6 Jun 2010 13:42:19 +0000 (13:42 +0000)]
[NTOS]: Fix a loop off-by-one when saving the page table index in contigious memory allocation PFNs. Spotted by Stefan100.

svn path=/trunk/; revision=47620