Commit graph

41388 commits

Author SHA1 Message Date
Hervé Poussineau
f9d9302445 [ntoskrnl] Better fix for correct display of loaded drivers
svn path=/trunk/; revision=46200
2010-03-14 19:21:38 +00:00
Eric Kohl
ee46cddad7 [EVENTLOG]
- Set the current service status from the service control handler.
- Fix type declarations.
- ElfrOpenELA/ElfrRegisterEventSourceA: Do not call the Unicode functions because in this case it is easier to do things yourself.
- Implement ElfrGetLogInformation partially.
- Bind client to the EventLog Pipe.
- Use RtlInitAnsiString and RtlInitUnicodeString instead of building strings manually.
- GetEventLogInformation: Check for valid dwInfoLevel.

svn path=/trunk/; revision=46199
2010-03-14 12:26:49 +00:00
Hervé Poussineau
c39812d1b6 [ntoskrnl] Never suppose that buffer in UNICODE_STRING is null terminated. Fixes display artifacts on list of loaded drivers
svn path=/trunk/; revision=46193
2010-03-13 23:19:05 +00:00
Cameron Gutman
c709d2abc9 - Fix a typo in AcpiOsReadPciConfiguration and AcpiOsWritePciConfiguration
- May fix ACPI on VMware

svn path=/trunk/; revision=46192
2010-03-13 23:01:58 +00:00
Hervé Poussineau
9a46a46011 [freeldr] Never suppose that buffer in UNICODE_STRING is null terminated. Fixes some random failures when loading drivers
svn path=/trunk/; revision=46190
2010-03-13 22:56:41 +00:00
Sir Richard
78f8948c0f [CMBATT]: ACPI-compliant. WMI-managed Control Method Battery Driver. Step 1: Define the interface and ACPI/PnP structures.
The rest of the code is in my WC but needs ACPI Eval IOCTL support in ReactOS before it'll work.

svn path=/trunk/; revision=46188
2010-03-13 21:06:22 +00:00
Sir Richard
08213e98d4 [DDK]: Add ACPI_INTERFACE_STANDARD2. ACPI_INTERFACE_STANDARD is left as an excercise to the reader.
svn path=/trunk/; revision=46187
2010-03-13 20:49:13 +00:00
Sir Richard
a7ed29ec5a [DDK]: Fix Wmilib.h.
svn path=/trunk/; revision=46185
2010-03-13 20:42:53 +00:00
Sir Richard
eddd84cbce [DDK]: Merge 46183 from header-branch.
svn path=/trunk/; revision=46184
2010-03-13 20:37:31 +00:00
Amine Khaldi
d8a6ad0f81 [DDK]
- Add acpiioct.h and wmilib.h
- Dedicated to sir_richard ;)

svn path=/branches/header-work/; revision=46183
2010-03-13 20:24:46 +00:00
Cameron Gutman
1c571af17a [NTOSKRNL]
- Don't set the RTL_QUERY_REGISTRY_REQUIRED flag for the Service key entry of the query table because it will cause RtlQueryRegistryValues to fail if the service key is absent which we don't want because we handle that case later

svn path=/trunk/; revision=46182
2010-03-13 19:38:49 +00:00
Cameron Gutman
9b5054f453 - Handle ACPI_RESOURCE_TYPE_EXTENDED_IRQ and ACPI_RESOURCE_TYPE_EXTENDED_ADDRESS64
svn path=/trunk/; revision=46181
2010-03-13 19:19:24 +00:00
Johannes Anderwald
aaea6f034c [KSPROXY]
- Add support for IPersist interface
- Create clock handle when request for IKsClockPropertySet / IReferenceClock arrives
- Print out requested format
- Implement IPersist::GetClassID, IBaseFilter::QueryVendorInfo for CKsProxy

svn path=/trunk/; revision=46180
2010-03-13 18:45:51 +00:00
Amine Khaldi
34c6db5955 [WDM]
Add missing IO_PRIORITY_HINT enum

svn path=/branches/header-work/; revision=46179
2010-03-13 18:30:43 +00:00
Amine Khaldi
b1745e1a08 [NTIFS]
- Group related definitions
- Remove redundant PoRegisterPowerSettingCallback and PoUnregisterPowerSettingCallback (they exist in wdm.h)

svn path=/branches/header-work/; revision=46178
2010-03-13 18:12:08 +00:00
Sylvain Petreolle
347927735d [ROSAPPS]
Fix green build.

svn path=/trunk/; revision=46177
2010-03-13 18:07:56 +00:00
Johannes Anderwald
472db0e74d [PSDK]
- Fix KSPROPSETID_Stream definition
[KSPROXY]
- Implement IKsClockPropertySet, IReferenceClock, IMediaSeeking, IKsTopology interface for CKsProxy
- Implement more of IBaseFilter::SetSyncSource for CKsProxy
- Add missing AddRef to IBaseFilter::QueryFilterInfo for CKsProxy

svn path=/trunk/; revision=46176
2010-03-13 17:36:30 +00:00
Amine Khaldi
d1c9ef597a [NTIFS]
- Group related definitions
- Add several missing FsRtl* and FSRTL_* definitions
- Add some missing NETWORK_OPEN_*, PREFETCH_OPEN_ECP_CONTEXT, sockaddr_storage, NFS_OPEN_ECP_CONTEXT and  SRV_OPEN_ECP_CONTEXT

svn path=/branches/header-work/; revision=46175
2010-03-13 17:29:43 +00:00
Cameron Gutman
3e3e531b53 - Let the ACPI driver handle fixed feature buttons
svn path=/trunk/; revision=46174
2010-03-13 17:07:00 +00:00
Cameron Gutman
38f7f2fe05 - Don't enumerate the ACPI root device
svn path=/trunk/; revision=46171
2010-03-13 16:31:53 +00:00
Hervé Poussineau
422b433150 [csrss] Don't expect ReactOS to always boot from C:\ReactOS (that's not the case for LiveCD)
svn path=/trunk/; revision=46170
2010-03-13 15:59:12 +00:00
Amine Khaldi
a2c12aa203 [NTIFS]
- Group related definitions
- Add several missing FsRtl* and FSRTL_* definitions

svn path=/branches/header-work/; revision=46169
2010-03-13 15:44:53 +00:00
Amine Khaldi
5afc04be5a [NTIFS]
- Group related definitions
- Add several missing FsRtl*
- Convert FsRtlSetupAdvancedHeader macro to an inline function
- Add ECP_HEADER and ECP_LIST structures

svn path=/branches/header-work/; revision=46168
2010-03-13 15:22:32 +00:00
Johannes Anderwald
268cdeec5f [PSDK]
- Fix build #2

svn path=/trunk/; revision=46167
2010-03-13 14:56:52 +00:00
Johannes Anderwald
4ac83b10d1 [KSUSER]
- Fix KsCreateAllocator, KsCreateClock, KsCreateTopologyNode function type

svn path=/trunk/; revision=46166
2010-03-13 14:15:56 +00:00
Amine Khaldi
b51716d233 [NTIFS]
- Group related definitions
- Add OPLOCK_KEY_ECP_CONTEXT, OPLOCK_KEY_ECP_CONTEXT and several missing FsRtl*
- Add missing FSRTL_* definitions
- Add FSRTL_PER_FILE_CONTEXT and FSRTL_MUP_PROVIDER_INFO_LEVEL_* structures

svn path=/branches/header-work/; revision=46164
2010-03-13 13:54:24 +00:00
Amine Khaldi
d61c8a9d77 [PSDK]
Really fix usbioctl.h

svn path=/branches/header-work/; revision=46163
2010-03-13 13:19:18 +00:00
Amine Khaldi
a921cae33f [PSDK]
Fix usbioctl.h

svn path=/branches/header-work/; revision=46162
2010-03-13 13:15:47 +00:00
Amine Khaldi
cc8ed6fc52 [NTIFS]
- Group related definitions
- Add several missing FsRtl* and OPLOCK_*
- Add LEGAL_ANSI_CHARACTER_ARRAY and NLS_MB_CODE_PAGE_TAG
- FsRtlRemoveBaseMcbEntry : VOID -> BOOLEAN

svn path=/branches/header-work/; revision=46161
2010-03-13 13:02:34 +00:00
Johannes Anderwald
3218673a8e [PSDK]
- A few more types for ks.h needed for ksproxy

svn path=/trunk/; revision=46160
2010-03-13 12:09:24 +00:00
Johannes Anderwald
c8974c6651 [PSDK]
- Add missing function declarations

svn path=/trunk/; revision=46159
2010-03-13 10:36:46 +00:00
Amine Khaldi
c50973ffa4 [PSDK]
Move NTSTATUS codes from DDK to PSDK, removing all the duplicated ones (and adding a couple of missing ones).

Dedicated to arty

svn path=/branches/header-work/; revision=46158
2010-03-13 01:18:58 +00:00
Timo Kreuzer
479c28b333 [HEADERS]
Say hello to the "XDK" (preliminary name). A set of headers from wich certain other headers (wdm, ntifs, ntddk, winnt) shall one day be autogenerated. I added a .bat file that autogenerates wdn.h from wdm.template.h and the headers. Others will follow.

svn path=/branches/header-work/; revision=46157
2010-03-13 00:34:48 +00:00
Timo Kreuzer
5efb575dfb [KMTEST]
Try to fix rostests build

svn path=/trunk/; revision=46156
2010-03-13 00:01:01 +00:00
Timo Kreuzer
cbdf28bb6a [HEADERS]
Reintegrate header-work branch. Thanks to hours of boring work on the ddk headers (Most of it done by Amine Khaldi), we have now a decent set, which is still incomplete but already relatively close to latest WDK. A clean rebuild is recommended.

svn path=/trunk/; revision=46155
2010-03-12 23:16:29 +00:00
Cameron Gutman
347f68539b - Handle ACPI_RESOURCE_TYPE_ADDRESS16, ACPI_RESOURCE_TYPE_ADDRESS32, ACPI_RESOURCE_TYPE_ADDRESS64, ACPI_RESOURCE_TYPE_MEMORY24, and ACPI_RESOURCE_TYPE_MEMORY32 for IRP_MN_QUERY_RESOURCES and IRP_MN_QUERY_RESOURCE_REQUIREMENTS
svn path=/trunk/; revision=46154
2010-03-12 23:00:18 +00:00
Timo Kreuzer
de906c441a Merge trunk HEAD (46152)
svn path=/branches/header-work/; revision=46153
2010-03-12 21:42:11 +00:00
Timo Kreuzer
83d81567a2 Revert 45697:
"* Disable compiling usermode components for now."

svn path=/branches/header-work/; revision=46151
2010-03-12 21:28:06 +00:00
Amine Khaldi
350dfd1b9d Sync with trunk head
svn path=/branches/header-work/; revision=46148
2010-03-12 20:08:06 +00:00
Amine Khaldi
6335684dde Forgot to add this in the previous commit
svn path=/branches/header-work/; revision=46147
2010-03-12 18:59:49 +00:00
Amine Khaldi
d9dd5c1f32 Fix (USERMODE=0) build :
[WMILIB]
- Add WmiSystemControl
[NDK]
- KeGetPcr : Correct KPCR member name

svn path=/branches/header-work/; revision=46146
2010-03-12 18:45:59 +00:00
Amine Khaldi
b5e6da689b [PSDK]
- Move ntddkbd.h to PSDK
- Add several missing KEYBOARD_* definitions

svn path=/branches/header-work/; revision=46145
2010-03-12 18:32:40 +00:00
Amine Khaldi
97378505bd [BATTC]
- Correct BatteryClassSystemControl params
- Include wmlib.h
[WMLIB]
- Add WMIENABLEDISABLECONTROL and SYSCTL_IRP_DISPOSITION

svn path=/branches/header-work/; revision=46144
2010-03-12 18:25:50 +00:00
Timo Kreuzer
38b3788cbc [WDM]
- fix definition of KeTickCount
- Add KeQueryTickCount (note: MS version is very hacky. Someone tell them how to use DECLSPEC_IMPORT)

svn path=/branches/header-work/; revision=46143
2010-03-12 17:48:50 +00:00
Amine Khaldi
fc648d6443 [NTIFS]
- Remove some redundant definitions (that exist in wdm.h)

svn path=/branches/header-work/; revision=46142
2010-03-12 17:17:51 +00:00
Timo Kreuzer
657d7f12da [NTOS] Fix WmiTraceMessageVa export, the first parameter (TRACEHANDLE) is 64 bits wide.
svn path=/branches/header-work/; revision=46141
2010-03-12 17:17:27 +00:00
Timo Kreuzer
2bd64c4f15 Add a missing NTAPI
svn path=/branches/header-work/; revision=46140
2010-03-12 17:01:13 +00:00
Amine Khaldi
401b11a24d [NTIFS]
- Remove redundant IoSizeOfIrp, PoSetDeviceBusy and PPOWER_SETTING_CALLBACK definitions (They exist in wdm.h)

svn path=/branches/header-work/; revision=46139
2010-03-12 16:55:09 +00:00
Amine Khaldi
d418c3b59e [WDM]
- Remove NTKERNELAPI from IoSetStartIoAttributes
[NTIFS]
- Group some related definitions

svn path=/branches/header-work/; revision=46138
2010-03-12 16:43:17 +00:00
Timo Kreuzer
16e291bd53 [PSDK]
- Add dpfilter.h
- batclass.h: Fix BatteryClassSystemControl
- ntdef.h: add ARGUMENT_PRESENT and PEXCEPTION_ROUTINE
[NDK]
- Add some ob functions
[DDK]
- add wmlib.h
- remove winddk.h
[WDM]
- include dpfilter.h
- Add ASSERT_GATE, ASSERT_TIMER, ASSERT_MUTANT, ASSERT_SEMAPHORE, ASSERT_EVENT, TIMER_TABLE_SIZE, TIMER_TABLE_SHIFT, ADDRESS_AND_SIZE_TO_SPAN_PAGES, PoRequestShutdownEvent
- Group architecture specific definitions (currently only x86)
- uncomment some _DECL_HAL_KE_IMPORT


svn path=/branches/header-work/; revision=46137
2010-03-12 16:37:33 +00:00