reactos.git
14 years ago[CMBATT]: Implement CmBattPowerDispatch for power requests.
Sir Richard [Mon, 22 Mar 2010 02:18:28 +0000 (02:18 +0000)]
[CMBATT]: Implement CmBattPowerDispatch for power requests.

svn path=/trunk/; revision=46337

14 years ago[CMBATT]: Implement CmBattSystemControl to parse WMI requests.
Sir Richard [Mon, 22 Mar 2010 02:11:16 +0000 (02:11 +0000)]
[CMBATT]: Implement CmBattSystemControl to parse WMI requests.

svn path=/trunk/; revision=46336

14 years ago[CMBATT]: Fix typo in CmBattPowerCallBack caught by aicom.
Sir Richard [Mon, 22 Mar 2010 01:57:11 +0000 (01:57 +0000)]
[CMBATT]: Fix typo in CmBattPowerCallBack caught by aicom.

svn path=/trunk/; revision=46335

14 years ago[CMBATT]: CmBattIoctl: Batteries are very hot-pluggable, so we need to do all the...
Sir Richard [Mon, 22 Mar 2010 01:56:20 +0000 (01:56 +0000)]
[CMBATT]: CmBattIoctl: Batteries are very hot-pluggable, so we need to do all the work under our remove lock. Add the logic for it.
[CMBATT]: CmBattIoctl: If the request was for the AC adapter, pass it down to ACPI.

svn path=/trunk/; revision=46334

14 years ago[CMBATT]: Implement CmBattGetAcpiInterfaces and CmBattIoCompletion to get the ACPI...
Sir Richard [Mon, 22 Mar 2010 01:47:40 +0000 (01:47 +0000)]
[CMBATT]: Implement CmBattGetAcpiInterfaces and CmBattIoCompletion to get the ACPI interface.
[CMBATT]: Implement CmBattWmiRegistration and CmBattWmiDeRegistration to initialize the WMILIB and register with the I/O WMI routines.
[DDK]: Add missing IoWMIRegistrationControl flags.

svn path=/trunk/; revision=46333

14 years ago[CMBATT]
Cameron Gutman [Mon, 22 Mar 2010 01:41:17 +0000 (01:41 +0000)]
[CMBATT]
 - Implement CmBattIoctl

svn path=/trunk/; revision=46332

14 years ago[CMBATT]
Cameron Gutman [Mon, 22 Mar 2010 01:25:48 +0000 (01:25 +0000)]
[CMBATT]
 - Replace magic numbers with IRP_MJ_* constants

svn path=/trunk/; revision=46331

14 years ago[CMBATT]: Implement PnP side: CmBattDestroyFdo, CmBattRemoveDevice, CmBattCreateFdo...
Sir Richard [Mon, 22 Mar 2010 01:14:50 +0000 (01:14 +0000)]
[CMBATT]: Implement PnP side: CmBattDestroyFdo, CmBattRemoveDevice, CmBattCreateFdo, CmBattAddBattery, CmBattAddAcAdapter, CmBattAddDevice.
[DDK]: Add ACPI_INTERFACE_STANDARD.

svn path=/trunk/; revision=46330

14 years ago[PSDK]
Amine Khaldi [Mon, 22 Mar 2010 01:00:05 +0000 (01:00 +0000)]
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.

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

14 years ago[RICHED20]
Aleksey Bragin [Sun, 21 Mar 2010 22:44:26 +0000 (22:44 +0000)]
[RICHED20]
- Sync riched20 with Wine-1.1.41.

svn path=/trunk/; revision=46328

14 years ago[WINE]
Aleksey Bragin [Sun, 21 Mar 2010 22:27:26 +0000 (22:27 +0000)]
[WINE]
- Move and update assembler functions definition macros from port.h (added by Steven around revision 7000) to config.h as it is now in Wine.
- Update related __ASM macros.

svn path=/trunk/; revision=46327

14 years ago[DDK]: Fix build, sorry.
Sir Richard [Sun, 21 Mar 2010 22:09:29 +0000 (22:09 +0000)]
[DDK]: Fix build, sorry.

svn path=/trunk/; revision=46326

14 years ago[DBGHELP]
Christoph von Wittich [Sun, 21 Mar 2010 21:08:48 +0000 (21:08 +0000)]
[DBGHELP]
sync dbghelp with wine 1.1.41

svn path=/trunk/; revision=46325

14 years ago[CMBATT]: Implement CmBattPowerCallback and CmBattWakeDpc to handle S0 entry/exit...
Sir Richard [Sun, 21 Mar 2010 21:07:01 +0000 (21:07 +0000)]
[CMBATT]: Implement CmBattPowerCallback and CmBattWakeDpc to handle S0 entry/exit transitions which determine if we delay ACPI battery notifications to avoid wake, and the queuing of a DPC to handle processing the delayed ARs when we return to S0.

svn path=/trunk/; revision=46324

14 years ago[VERSION]
Christoph von Wittich [Sun, 21 Mar 2010 21:02:06 +0000 (21:02 +0000)]
[VERSION]
sync version with wine 1.1.41

svn path=/trunk/; revision=46323

14 years ago[CMBATT]; Implement CmBattSetStatusNotify and CmBattDisableStatusNotify for setting...
Sir Richard [Sun, 21 Mar 2010 20:38:43 +0000 (20:38 +0000)]
[CMBATT]; Implement CmBattSetStatusNotify and CmBattDisableStatusNotify for setting/clearing the current trip point (at the Windows layer). Actual ACPI work in CmBattSetTripPpoint not done.

svn path=/trunk/; revision=46321

14 years ago[USP10]
Christoph von Wittich [Sun, 21 Mar 2010 20:26:32 +0000 (20:26 +0000)]
[USP10]
sync usp10 with wine 1.1.41

svn path=/trunk/; revision=46320

14 years ago[HLINK]
Christoph von Wittich [Sun, 21 Mar 2010 19:28:13 +0000 (19:28 +0000)]
[HLINK]
sync hlink with wine 1.1.41

svn path=/trunk/; revision=46319

14 years ago[PSDK]
Christoph von Wittich [Sun, 21 Mar 2010 19:23:25 +0000 (19:23 +0000)]
[PSDK]
sync wincodec.idl with wine 1.1.41

svn path=/trunk/; revision=46318

14 years ago[GDIPLUS]
Christoph von Wittich [Sun, 21 Mar 2010 19:20:42 +0000 (19:20 +0000)]
[GDIPLUS]
sync gdiplus with wine 1.1.41

svn path=/trunk/; revision=46317

14 years ago[FUSION]
Christoph von Wittich [Sun, 21 Mar 2010 19:19:12 +0000 (19:19 +0000)]
[FUSION]
sync fusion with wine 1.1.41

svn path=/trunk/; revision=46316

14 years ago[AVIFIL32]
Christoph von Wittich [Sun, 21 Mar 2010 19:17:10 +0000 (19:17 +0000)]
[AVIFIL32]
sync avifil32 with wine 1.1.41

svn path=/trunk/; revision=46315

14 years ago[WINDOWSCODECS]
Christoph von Wittich [Sun, 21 Mar 2010 19:14:16 +0000 (19:14 +0000)]
[WINDOWSCODECS]
sync windowscodecs with wine 1.1.41

svn path=/trunk/; revision=46313

14 years ago[QEDIT]
Christoph von Wittich [Sun, 21 Mar 2010 19:07:07 +0000 (19:07 +0000)]
[QEDIT]
sync qedit with wine 1.1.41

svn path=/trunk/; revision=46312

14 years ago[QUARTZ]
Christoph von Wittich [Sun, 21 Mar 2010 19:02:37 +0000 (19:02 +0000)]
[QUARTZ]
sync quartz with wine 1.1.41

svn path=/trunk/; revision=46311

14 years ago[CMBATT]: Implement CmBattQueryTag and CmBattNotifyHandler for getting ACPI Battery...
Sir Richard [Sun, 21 Mar 2010 18:04:08 +0000 (18:04 +0000)]
[CMBATT]: Implement CmBattQueryTag and CmBattNotifyHandler for getting ACPI Battery notifications, as per ACPI Spec and microsoft.com/whdc/archive/ACPInotify.mspx.

svn path=/trunk/; revision=46309

14 years ago[URLMON]
Christoph von Wittich [Sun, 21 Mar 2010 17:43:25 +0000 (17:43 +0000)]
[URLMON]
sync urlmon with wine 1.1.41

svn path=/trunk/; revision=46308

14 years agoAdd more HIDs for other CPUs and Manufacturers like VIA and AMD into cpu.inf to make...
Daniel Reimer [Sun, 21 Mar 2010 15:47:41 +0000 (15:47 +0000)]
Add more HIDs for other CPUs and Manufacturers like VIA and AMD into cpu.inf to make it show the real CPU name in the Device Manager. This does not work yet, because our ACPI always returns the Default CPU HID right now.

svn path=/trunk/; revision=46306

14 years ago[MSI]
Christoph von Wittich [Sun, 21 Mar 2010 15:18:13 +0000 (15:18 +0000)]
[MSI]
sync msi with wine 1.1.41

svn path=/trunk/; revision=46305

14 years ago[SHLWAPI]
Christoph von Wittich [Sun, 21 Mar 2010 15:14:34 +0000 (15:14 +0000)]
[SHLWAPI]
sync shlwapi with wine 1.1.41

svn path=/trunk/; revision=46304

14 years ago[MSHTML]
Christoph von Wittich [Sun, 21 Mar 2010 15:12:30 +0000 (15:12 +0000)]
[MSHTML]
sync mshtml with wine 1.1.41

svn path=/trunk/; revision=46303

14 years ago[SHDOCVW]
Christoph von Wittich [Sun, 21 Mar 2010 15:08:31 +0000 (15:08 +0000)]
[SHDOCVW]
sync shdocvw with wine 1.1.41

svn path=/trunk/; revision=46302

14 years ago[RSAENH]
Christoph von Wittich [Sun, 21 Mar 2010 15:03:19 +0000 (15:03 +0000)]
[RSAENH]
sync rsaenh with wine 1.1.41

svn path=/trunk/; revision=46301

14 years ago[CRYPT32]
Christoph von Wittich [Sun, 21 Mar 2010 14:58:20 +0000 (14:58 +0000)]
[CRYPT32]
sync crypt32 with wine 1.1.41

svn path=/trunk/; revision=46300

14 years ago[RPCRT4]
Christoph von Wittich [Sun, 21 Mar 2010 14:53:49 +0000 (14:53 +0000)]
[RPCRT4]
partial rpcrt4 sync to wine 1.1.41

svn path=/trunk/; revision=46299

14 years ago[WININET]
Christoph von Wittich [Sun, 21 Mar 2010 14:53:28 +0000 (14:53 +0000)]
[WININET]
sync wininet with wine 1.1.41

svn path=/trunk/; revision=46298

14 years ago[NTOSKRNL]
Eric Kohl [Sun, 21 Mar 2010 14:10:50 +0000 (14:10 +0000)]
[NTOSKRNL]
NtAccessCheck
- Probe parameters.
- Fail if generic access rights have not been mapped.

svn path=/trunk/; revision=46297

14 years ago[OLEAUT32]
Christoph von Wittich [Sun, 21 Mar 2010 13:04:42 +0000 (13:04 +0000)]
[OLEAUT32]
sync oleaut32 with wine 1.1.41

svn path=/trunk/; revision=46296

14 years ago[OLE32]
Christoph von Wittich [Sun, 21 Mar 2010 13:00:22 +0000 (13:00 +0000)]
[OLE32]
sync ole32 with wine 1.1.41

svn path=/trunk/; revision=46295

14 years ago[WIDL]
Christoph von Wittich [Sun, 21 Mar 2010 12:47:24 +0000 (12:47 +0000)]
[WIDL]
sync widl with wine 1.1.41

svn path=/trunk/; revision=46294

14 years ago[MSXML3]
Christoph von Wittich [Sun, 21 Mar 2010 11:14:47 +0000 (11:14 +0000)]
[MSXML3]
sync msxml3 to wine 1.1.41

svn path=/trunk/; revision=46293

14 years ago[RPCRT4]
Christoph von Wittich [Sun, 21 Mar 2010 10:53:17 +0000 (10:53 +0000)]
[RPCRT4]
partial rpcrt4 sync to wine 1.1.40 (fixes crashing cstub test)

svn path=/trunk/; revision=46292

14 years ago[CMBATT]: Implement CmBattGetBatteryStatus. See ACPI Specification 4.0B (10.2 Control...
Sir Richard [Sun, 21 Mar 2010 03:14:12 +0000 (03:14 +0000)]
[CMBATT]: Implement CmBattGetBatteryStatus. See ACPI Specification 4.0B (10.2 Control Method Batteries, P.383).

svn path=/trunk/; revision=46291

14 years ago[DDK]
Amine Khaldi [Sat, 20 Mar 2010 23:01:57 +0000 (23:01 +0000)]
[DDK]
- Fix PIO_CSQ_INSERT_IRP_EX redefinition.
[NTDDK]
- Remove a couple of duplicate definitions.
[XDK]
- Move several definitions to their appropriate places.
- Add COMPUTE_PAGES_SPANNED, NODE_REQUIREMENT, MM_ANY_NODE_OK, PNTFS_DEREF_EXPORTED_SECURITY_DESCRIPTOR, PsWrapApcWow64Thread, IRP_MN_DEVICE_ENUMERATED, USE_DMA_MACROS, NO_LEGACY_DRIVERS, FO_FLAGS_VALID_ONLY_DURING_CREATE, LOADER_PARTITION_INFORMATION_EX, BOOTDISK_INFORMATION_LITE, IO_CSQ_INSERT_IRP_EX, STATUS_CONTINUE_COMPLETION and several missing Ex*, REG_*, Cm*, Mm*, SL_*, Io*, IO_*, CONNECT_*, WDM_* and WMI* definitions.
- Update ExGetCurrentResourceThread and PADAPTER_OBJECT.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.

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

14 years ago[NTOS]
Timo Kreuzer [Sat, 20 Mar 2010 22:05:01 +0000 (22:05 +0000)]
[NTOS]
NtOpenThreadTokenEx: Initialize NewToken with NULL, so it doesn't get wrongly dereferenced. Fixes advapi32:security winetest crash.

svn path=/trunk/; revision=46289

14 years ago[CMBATT]: Implement CmBattQueryInformation and CmBattQueryStatus.
Sir Richard [Sat, 20 Mar 2010 21:25:40 +0000 (21:25 +0000)]
[CMBATT]: Implement CmBattQueryInformation and CmBattQueryStatus.

svn path=/trunk/; revision=46288

14 years ago[NTOSKRNL]
Amine Khaldi [Sat, 20 Mar 2010 16:58:43 +0000 (16:58 +0000)]
[NTOSKRNL]
- Remove duplicate SINGLE_GROUP_LEGACY_API definition.
[PSDK]
- Add missing GROUP_AFFINITY structure.
[NTDDK]
- Remove ExFreePool definition.
[NDK]
- Remove duplicate PROCESSOR_CACHE_TYPE and CACHE_DESCRIPTOR definitions (they now exist in wdm.h).
[XDK]
- Move several definitions to their appropriate places.
- Add PROCESSOR_CALLBACK_FUNCTION, INVALID_PROCESSOR_INDEX, XSTATE_SAVE, LOOKASIDE_MINIMUM_BLOCK_SIZE and several missing Ke*, KBUGCHECK_*, KB_ADD_PAGES_FLAG_*, EXCEPTION_*, KE_PROCESSOR_CHANGE_*, Ex*, FirstEntrySList, and EX_*, RESOURCE_* definitions.
- Update ExAllocateFromNPagedLookasideList, ExAllocateFromPagedLookasideList, ExFreeToPagedLookasideList, OWNER_ENTRY and ERESOURCE.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.

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

14 years ago - Fix build
Cameron Gutman [Sat, 20 Mar 2010 16:49:50 +0000 (16:49 +0000)]
 - Fix build

svn path=/trunk/; revision=46286

14 years ago[NTOSKRNL]
Cameron Gutman [Sat, 20 Mar 2010 16:48:00 +0000 (16:48 +0000)]
[NTOSKRNL]
 - Fix a memory leak of the allocated IO_STATUS_BLOCK
 - Don't free unallocated memory
 - Send the IRP with the correct MajorFunction
 - Use IoBuildAsynchronousFsdRequest instead of IoBuildSynchronousFsdRequest (fixes potiential null pointer access when attempting to set the wait event which is NULL)
 - Set the correct stack parameters for the IRPs

svn path=/trunk/; revision=46285

14 years ago[XDK]
Amine Khaldi [Sat, 20 Mar 2010 11:47:30 +0000 (11:47 +0000)]
[XDK]
- Move several definitions to their appropriate places.
- Add FIELD_OFFSET, FIELD_SIZE, POOL_TAGGING, IF_DEBUG, IF_NTOS_DEBUG, LOOKASIDE_CHECK, KIPI_COUNTS, KTIMER_ACTUAL_LENGTH, LOGICAL_PROCESSOR_RELATIONSHIP, LTP_PC_SMT, SYSTEM_LOGICAL_PROCESSOR_INFORMATION, NUMA_NODE_RELATIONSHIP, GROUP_RELATIONSHIP, SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX, SINGLE_GROUP_LEGACY_API, KMESSAGE_SERVICE_ROUTINE, KSEMAPHORE_ACTUAL_LENGTH and several missing CACHE_*, PROCESSOR_* and KAPC_* definitions.
- Group some related definitions.
- Base several ASSERT_* macros on NT_ASSERT instead of ASSERT.
[WDM]
- Update wdm.h to reflect XDK changes.

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

14 years ago[CRT]
Timo Kreuzer [Sat, 20 Mar 2010 00:49:30 +0000 (00:49 +0000)]
[CRT]
Import x87 asm version of pow() from glibc. Replaces our broken implementation, fixing a bunch of winetests (oleaut32 vartest)

svn path=/trunk/; revision=46283

14 years ago[FREELDR]
Timo Kreuzer [Sat, 20 Mar 2010 00:41:46 +0000 (00:41 +0000)]
[FREELDR]
Make the char buffer in KeBugCheckEx big enough for the output string. Spottet by Russel.

svn path=/trunk/; revision=46282

14 years ago - Add cpu.inf and usb.inf to inf.rbuild
Cameron Gutman [Fri, 19 Mar 2010 22:45:25 +0000 (22:45 +0000)]
 - Add cpu.inf and usb.inf to inf.rbuild

svn path=/trunk/; revision=46281

14 years ago- Add german translation.
Eric Kohl [Fri, 19 Mar 2010 21:19:35 +0000 (21:19 +0000)]
- Add german translation.
- Install class installer DLL.
- Register class installer.
- Register class icon. The Device Manager does not recognize it yet.

svn path=/trunk/; revision=46280

14 years ago[KSPROXY]
Johannes Anderwald [Fri, 19 Mar 2010 21:07:23 +0000 (21:07 +0000)]
[KSPROXY]
- Fix build for XXX time because of me

svn path=/trunk/; revision=46278

14 years ago[BATT]
Eric Kohl [Fri, 19 Mar 2010 20:55:09 +0000 (20:55 +0000)]
[BATT]
Add battery class installer dll.

svn path=/trunk/; revision=46277

14 years ago[EXT2FSD]
Amine Khaldi [Fri, 19 Mar 2010 20:01:04 +0000 (20:01 +0000)]
[EXT2FSD]
- Remove a couple of duplicate definitions (that exist now in wdm.h).
[XDK]
- Move several definitions to their appropriate places.
- Group some related definitions.
- Add vKdPrintEx, DEFINE_GUIDEX, STATICGUIDOF, RTLVERLIB_DDI, LOWBYTE_MASK, FIRSTBYTE, SECONDBYTE, THIRDBYTE, FOURTHBYTE and several missing TRANSACTIONMANAGER_*, TRANSACTION_*, RESOURCEMANAGER_*, ENLISTMENT_*, PFN_NT_*, Nt*, SHORT_*, LONG_*, PFN_RTL_*, LONGLONG_* and Rtl* definitions.
- Fix RtlCheckBit definition.
[WDM]
- Update wdm.h to reflect XDK changes.

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

14 years ago[CMBATT]: Driver Entrypoint, Create/Close handler, and Unload handler.
Sir Richard [Fri, 19 Mar 2010 18:17:32 +0000 (18:17 +0000)]
[CMBATT]: Driver Entrypoint, Create/Close handler, and Unload handler.

svn path=/trunk/; revision=46275

14 years ago[KSPROXY]
Johannes Anderwald [Fri, 19 Mar 2010 15:39:08 +0000 (15:39 +0000)]
[KSPROXY]
- Start implementing IKsAllocator interface
- Retrieve the default format for the input and output pin
- Instantiate the kernel pin when an interface request for IMemInputPin / IKsPropertySet / IKsObject request arrives
- Implement IKsPin::KsCreateSinkPinHandle for the input pin
- Partly implement IKsPin::KsPropagateAcquire for input / output pin
- Fix asserts in IKsControl::KsProperty, IKsControl::KsMethod, IKsControl::KsEvent
- Simplify CInputPin::CheckFormat
- Store the currently used pin medium / interface and connection format
- Implement IAMBufferNegotiation::SuggestAllocatorProperties, IAMBufferNegotiation::GetAllocatorProperties for the output pin
- Pass pin's communication to output pin
- Implement IMediaFilter::Pause, IMediaFilter::Run for CKsProxy
- CKsProxy is now able to deliver signal statistics for BDA devices (app: SageDvbRecorder, OS: WinXP SP3)

svn path=/trunk/; revision=46274

14 years ago[XDK]
Amine Khaldi [Fri, 19 Mar 2010 14:10:13 +0000 (14:10 +0000)]
[XDK]
- Move several definitions to their appropriate places.
- Add DEVICE_FLAGS, InitializeListHead32, AppendTailList, RTL_QUERY_REGISTRY_NOSTRING, NT_VERIFY, NT_VERIFYMSG, NT_VERIFYMSGW, SLIST_ENTRY32, SLIST_HEADER32 and several missing SERVICE_*, CM_*, EISA_* and IRQ_*.
- Update SLIST_HEADER.
[WDM]
- Update wdm.h to reflect XDK changes.

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

14 years ago[XDK]
Amine Khaldi [Fri, 19 Mar 2010 12:47:29 +0000 (12:47 +0000)]
[XDK]
- Move several definitions to their appropriate places.
- Add MONITOR_DISPLAY_STATE, COUNTED_REASON_CONTEXT, PowerRequestMaximum, SET_POWER_SETTING_VALUE, NOTIFY_USER_POWER_SETTING and several missing GUIDs, APPLICATIONLAUNCH_SETTING_VALUEKEY_*, PERFSTATE_POLICY_CHANGE_*, PROCESSOR_PERF_BOOST_POLICY_*, CORE_PARKING_POLICY_CHANGE_*, POWER_*, SYSTEM_POWER_*, IOCTL_* and DIAGNOSTIC_REASON_*
[WDM]
- Update wdm.h to reflect XDK changes.

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

14 years ago[XDK]
Amine Khaldi [Fri, 19 Mar 2010 11:36:36 +0000 (11:36 +0000)]
[XDK]
- Move PORT_MAXIMUM_MESSAGE_LENGTH, INTERFACE_TYPE and guiddef.h inclusion to their appropriate places.
- Add PIO_APC_ROUTINE_DEFINED and several missing FILE_*, IO_* and REG_* definitions.
- Remove pshpack8 inclusion around FILE_BASIC_INFORMATION.
- Update KEY_INFORMATION_CLASS.
[WDM]
- Update wdm.h to reflect XDK changes.

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

14 years ago[NTOSKRNL]
Cameron Gutman [Fri, 19 Mar 2010 03:14:33 +0000 (03:14 +0000)]
[NTOSKRNL]
 - Use the correct file name for services which have differing service and image names
 - Fixes the file name of the display miniports on the SOS screen (VGA.SYS -> VGAMP.SYS and VBE.SYS -> VBEMP.SYS)

svn path=/trunk/; revision=46270

14 years ago[XDK]
Amine Khaldi [Thu, 18 Mar 2010 22:48:53 +0000 (22:48 +0000)]
[XDK]
- DDKAPI -> NTAPI
[WDM]
- Update wdm.h to reflect XDK changes.

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

14 years ago[XDK]
Amine Khaldi [Thu, 18 Mar 2010 22:45:30 +0000 (22:45 +0000)]
[XDK]
- Apply a consistent formatting.
[WDM]
- Update wdm.h to reflect XDK changes.

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

14 years ago[WIN32K]
Kamil Hornicek [Thu, 18 Mar 2010 18:55:48 +0000 (18:55 +0000)]
[WIN32K]
Remove a pedantic assert to allow compressed bitmaps.
See issue #5255 for more details.

svn path=/trunk/; revision=46266

14 years ago[XDK]
Amine Khaldi [Thu, 18 Mar 2010 17:16:54 +0000 (17:16 +0000)]
[XDK]
- Add KeNumberProcessors, XSTATE_CONTEXT, MINIMAL_XSTATE_AREA_LENGTH, LOCK_QUEUE_WAIT_BIT, LOCK_QUEUE_OWNER_BIT and some missing XSAVE_*, CONTEXT_* and RTL_CONTEXT_* definitions
- PKINTERRUPT_ROUTINE : DDKAPI -> NTAPI
- Add some C_ASSERTs
[WDM]
- Update wdm.h to reflect XDK changes.

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

14 years ago[NTOS]
Timo Kreuzer [Thu, 18 Mar 2010 16:30:54 +0000 (16:30 +0000)]
[NTOS]
Fix compilation with MSVC. Dedicated to Stefan.

svn path=/trunk/; revision=46264

14 years agoSync with trunk head (part 1 of 2)
Amine Khaldi [Thu, 18 Mar 2010 15:37:13 +0000 (15:37 +0000)]
Sync with trunk head (part 1 of 2)

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

14 years ago[PSDK]
Amine Khaldi [Thu, 18 Mar 2010 14:14:27 +0000 (14:14 +0000)]
[PSDK]
- Add several missing ntiologc.h definitions.
[XDK]
- Include ntiologc.h in wdm.h
[WDM]
- Update wdm.h to reflect XDK changes.

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

14 years ago[NTDDK]
Amine Khaldi [Thu, 18 Mar 2010 13:37:50 +0000 (13:37 +0000)]
[NTDDK]
- Group related definitions.
[XDK]
- Add PCI_CAPABILITIES_HEADER.
[WDM]
- Update wdm.h to reflect XDK changes.

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

14 years ago[NTDDK]
Amine Khaldi [Thu, 18 Mar 2010 13:19:50 +0000 (13:19 +0000)]
[NTDDK]
- Group some related definitions.

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

14 years ago[NTDDK]
Amine Khaldi [Thu, 18 Mar 2010 12:54:44 +0000 (12:54 +0000)]
[NTDDK]
- Group related definitions.
- Add EXTENDED_AGP_REGISTER and several missing PCI_*, PCIX_*, and OSC_* definitions

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

14 years ago[NTDDK]
Amine Khaldi [Thu, 18 Mar 2010 00:36:45 +0000 (00:36 +0000)]
[NTDDK]
- Group related definitions.
- Add missing NTAPI attribute to IoCreateFileSpecifyDeviceObjectHint and IoCreateFileEx.
- Fix a FIXME.
[SERIAL]
- Remove redundant IoAttachDeviceToDeviceStackSafe definition.
[MCE]
- Add mce.h definitions.

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

14 years ago[NTDDK]
Amine Khaldi [Wed, 17 Mar 2010 22:44:46 +0000 (22:44 +0000)]
[NTDDK]
- Group related definitions.
- Add PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE, PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR, PHYSICAL_COUNTER_RESOURCE_LIST and several missing Hal*, pHal* and HAL_* definitions.

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

14 years ago[NTOS]
Timo Kreuzer [Wed, 17 Mar 2010 21:26:04 +0000 (21:26 +0000)]
[NTOS]
Add DPRINTs to tell if SYSENTER is detected. Requested by Christoph for testing the test machine.

svn path=/trunk/; revision=46253

14 years ago[NTDDK]
Amine Khaldi [Wed, 17 Mar 2010 16:25:03 +0000 (16:25 +0000)]
[NTDDK]
- Group related definitions.
- Update ARBITER_PARAMETERS.
- Add PS_CREATE_NOTIFY_INFO, PCREATE_PROCESS_NOTIFY_ROUTINE_EX, IMAGE_INFO_EX, TXN_PARAMETER_BLOCK, TXF_MINIVERSION_DEFAULT_VIEW, AGP_TARGET_BUS_INTERFACE_STANDARD, PNP_LOCATION_INTERFACE, and several missing Ps*, IO_*, DO_*, ARBITER_* and Io*.
- IMAGE_INFO : ULONG Reserved:22 -> ULONG Reserved:21.

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

14 years ago[USER32]
Christoph von Wittich [Wed, 17 Mar 2010 16:20:55 +0000 (16:20 +0000)]
[USER32]
reduce diff to wine

svn path=/trunk/; revision=46251

14 years ago[NTOS]
Timo Kreuzer [Wed, 17 Mar 2010 16:17:16 +0000 (16:17 +0000)]
[NTOS]
I forgot to set the exit function for systems without sysenter/sysexit support. Should fix sysreg.

svn path=/trunk/; revision=46250

14 years ago[NTDDK]
Amine Khaldi [Wed, 17 Mar 2010 14:55:23 +0000 (14:55 +0000)]
[NTDDK]
- Fix PIMAGE_NT_HEADERS{32,64} and PCONTEXT redefinitions
- Remove duplicate SINGLE_GROUP_LEGACY_API
[NTIFS]
- Remove several duplicate definitions
[NTIMAGE]
- Fix PIMAGE_NT_HEADERS{32,64} redefinitions
[NDK]
- Fix PPEB redefinition
[XDK]
- Go back to the previous PEPROCESS and PETHREAD definitions
[WDM]
- Update wdm.h (to reflect xdk changes)

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

14 years ago[NTOS]
Timo Kreuzer [Wed, 17 Mar 2010 13:12:46 +0000 (13:12 +0000)]
[NTOS]
Rewrite Trap exits stubs in raw assembly (2nd try) and remove inline assembly. Bugcheck in KiTrap0DHandler, when the fault was not handled. Replace code patching for sysexit vs iret with a function pointer. Slightly refactor KiSystemServiceHandler/KiFastCallEntryHanlder. Unroll the loop in the systemcall handler and use volatile keyword when reloading TrapFrame and DescriptorTable from the new stack after converting to gui thread to prevent the compiler from optimizing it away (or moving it out of the loop). Add an asm macro KiCallHandler, which expands to call on debug builds to make sure backtraces work as expected and to jmp on release builds for improved performance. Modify KiExitV86Trap to always exit and add DECLSPEC_NORETURN. Use __debugbreak() instead of while(TRUE) on errors in KiExitTrapDebugChecks.
The old code hat 2 issues: one was restoring segments in KiExitV86Trap when they shouldn't be, leading to a bugcheck. And the other was a long hang (5 mintes or more) in 3rd stage on qemu when selecting RosDbg, caused by the KiFastCallExitHandler function pointer being initialized with a pointer to the iret handler. Initializing it in code solved the issue. To figure out why is left as an exercise to the reader.

svn path=/trunk/; revision=46247

14 years ago[WIN32K]
Kamil Hornicek [Wed, 17 Mar 2010 12:11:55 +0000 (12:11 +0000)]
[WIN32K]
When adding new glyph cache entry convert the glyph bitmap with proper alignment to comply with the new code in EngCreateBitmap and remove the corresponding hack from SURFMEM_bCreateDib.

[FREETYPE]
When doing 1BPP -> 8BPP conversion set all 8 bits not only the LSB. (Freetype devs were notified of this issue)
See issue #5244 for more details.

svn path=/trunk/; revision=46246

14 years ago[XDK]
Amine Khaldi [Wed, 17 Mar 2010 11:07:59 +0000 (11:07 +0000)]
[XDK]
- Improve PEPROCESS and PETHREAD definitions
- Remove PDEVICE_HANDLER_OBJECT
[WDM]
- Update wdm.h to reflect the changes to XDK
[NTDDK]
- Remove some duplicates and group some related definitions

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

14 years ago[XDK]
Amine Khaldi [Wed, 17 Mar 2010 10:16:54 +0000 (10:16 +0000)]
[XDK]
- Remove duplicate QUOTA_LIMITS
[WDM]
- Update wdm.h with the recent changes to XDK

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

14 years ago - Enable ACPI
Cameron Gutman [Wed, 17 Mar 2010 09:25:55 +0000 (09:25 +0000)]
 - Enable ACPI
 - Please send all complaints to roswarrior ;)

svn path=/trunk/; revision=46243

14 years ago - Set the resource pointer back to the start of the list before looping a second...
Cameron Gutman [Wed, 17 Mar 2010 09:25:07 +0000 (09:25 +0000)]
 - Set the resource pointer back to the start of the list before looping a second time
 - Remove the duplicate OSL
 - Disable more debug prints
 - ROS with ACPI has been booted successfully on VirtualBox (with additions), QEMU, and VMware

svn path=/trunk/; revision=46242

14 years ago - Check that the memory location that we are trying to read is valid
Cameron Gutman [Wed, 17 Mar 2010 08:48:57 +0000 (08:48 +0000)]
 - Check that the memory location that we are trying to read is valid
 - Remove the VMware hack
 - ACPI works on all tested VMs now (QEMU, VirtualBox, and VMware)
 - Just a resource code issue remains and prevents us from enabling ACPI by default

svn path=/trunk/; revision=46241

14 years ago - Check that the device number is not invalid
Cameron Gutman [Wed, 17 Mar 2010 07:16:08 +0000 (07:16 +0000)]
 - Check that the device number is not invalid
 - ACPI now crashes later on VMware

svn path=/trunk/; revision=46240

14 years ago - Don't acquire the mutex in the ISR handler because we're at a raised IRQL
Cameron Gutman [Wed, 17 Mar 2010 06:19:01 +0000 (06:19 +0000)]
 - Don't acquire the mutex in the ISR handler because we're at a raised IRQL
 - Fixes VirtualBox Additions with ACPI enabled

svn path=/trunk/; revision=46239

14 years ago - Define NDEBUG and demote several non-critical debug prints to DPRINT
Cameron Gutman [Wed, 17 Mar 2010 05:30:22 +0000 (05:30 +0000)]
 - Define NDEBUG and demote several non-critical debug prints to DPRINT

svn path=/trunk/; revision=46238

14 years ago - Add a hack to disable ACPI if VMware is detected
Cameron Gutman [Wed, 17 Mar 2010 05:02:06 +0000 (05:02 +0000)]
 - Add a hack to disable ACPI if VMware is detected
 - This hack circumvents the main blocker that prevents enabling ACPI in trunk

svn path=/trunk/; revision=46237

14 years ago[USER32]
Christoph von Wittich [Wed, 17 Mar 2010 00:11:31 +0000 (00:11 +0000)]
[USER32]
reduce diff to wine

svn path=/trunk/; revision=46236

14 years ago[NTDDK]
Amine Khaldi [Wed, 17 Mar 2010 00:01:55 +0000 (00:01 +0000)]
[NTDDK]
- Group related definitions
- Add several missing Mm* and Se*

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

14 years ago[NTDDK]
Amine Khaldi [Tue, 16 Mar 2010 23:33:28 +0000 (23:33 +0000)]
[NTDDK]
- Group related definitions
- Add CmResourceTypeMaximum, SINGLE_GROUP_LEGACY_API, MAXIMUM_EXPANSION_SIZE, EXPAND_STACK_CALLOUT and several SYSTEM_*, TIMER_SET_*, XSTATE_*, SHARED_*, EX_*, PCCARD_*, PAUSE_PROCESSOR and Ke*

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

14 years ago[ADVAPI32]
Eric Kohl [Tue, 16 Mar 2010 23:10:03 +0000 (23:10 +0000)]
[ADVAPI32]
- Create a service status handle when a service starts and destroy it after it has been stopped.

svn path=/trunk/; revision=46233

14 years agoUpdate some more apps. (OpenOffice 3.2.0, SciTE 2.03)
Daniel Reimer [Tue, 16 Mar 2010 22:37:53 +0000 (22:37 +0000)]
Update some more apps. (OpenOffice 3.2.0, SciTE 2.03)

svn path=/trunk/; revision=46232

14 years ago[USER32]
Christoph von Wittich [Tue, 16 Mar 2010 22:21:20 +0000 (22:21 +0000)]
[USER32]
reduce diff to wine

svn path=/trunk/; revision=46231

14 years agoUpdate openoffice 2.4 Links to a new and working mirror
Daniel Reimer [Tue, 16 Mar 2010 22:08:44 +0000 (22:08 +0000)]
Update openoffice 2.4 Links to a new and working mirror

svn path=/trunk/; revision=46230

14 years ago[KERNEL32]
Christoph von Wittich [Tue, 16 Mar 2010 17:50:04 +0000 (17:50 +0000)]
[KERNEL32]
reduce diff to wine

svn path=/trunk/; revision=46229

14 years ago[NTDDK]
Amine Khaldi [Tue, 16 Mar 2010 14:15:22 +0000 (14:15 +0000)]
[NTDDK]
- Group related definitions
- Add PAGE_PRIORITY_INFORMATION, PROCESS_*, RATE_QUOTA_LIMIT, QUOTA_LIMITS_*, MAX_HW_COUNTERS, THREAD_PROFILING_FLAG_DISPATCH and HARDWARE_COUNTER(_TYPE)

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