reactos.git
10 years agoMerge winnt.h
Timo Kreuzer [Mon, 29 Mar 2010 11:23:09 +0000 (11:23 +0000)]
Merge winnt.h

svn path=/trunk/; revision=46567

10 years agoMerge ntdef.h
Timo Kreuzer [Mon, 29 Mar 2010 10:35:31 +0000 (10:35 +0000)]
Merge ntdef.h

svn path=/trunk/; revision=46566

10 years agoMove IoAttachDeviceToDeviceStackSafe to ntddk.h
Timo Kreuzer [Mon, 29 Mar 2010 09:15:47 +0000 (09:15 +0000)]
Move IoAttachDeviceToDeviceStackSafe to ntddk.h

svn path=/trunk/; revision=46565

10 years agomerge wdm.h second attempt. This time taking more care of vista definitions.
Timo Kreuzer [Mon, 29 Mar 2010 08:57:45 +0000 (08:57 +0000)]
merge wdm.h second attempt. This time taking more care of vista definitions.

svn path=/trunk/; revision=46564

10 years ago[NTOSKRNL]
Aleksey Bragin [Mon, 29 Mar 2010 08:51:12 +0000 (08:51 +0000)]
[NTOSKRNL]
. Revert 46550: Windows does not set this flag. ReactOS shouldn't either. Setting UserEvent is already enough in this case.

svn path=/trunk/; revision=46563

10 years agorevert r46561
Timo Kreuzer [Mon, 29 Mar 2010 07:37:26 +0000 (07:37 +0000)]
revert r46561

svn path=/trunk/; revision=46562

10 years agomerge part of the wdm changes. Mostly formatting and adding a few definitions.
Timo Kreuzer [Mon, 29 Mar 2010 07:28:03 +0000 (07:28 +0000)]
merge part of the wdm changes. Mostly formatting and adding a few definitions.

svn path=/trunk/; revision=46561

10 years agoAdd RtlLargeInteger macros to wdm.h
Timo Kreuzer [Mon, 29 Mar 2010 05:48:15 +0000 (05:48 +0000)]
Add RtlLargeInteger macros to wdm.h

svn path=/trunk/; revision=46560

10 years agomerge ntdef.h formatting changes
Timo Kreuzer [Mon, 29 Mar 2010 05:28:59 +0000 (05:28 +0000)]
merge ntdef.h formatting changes

svn path=/trunk/; revision=46559

10 years agoMerge bdasup.h
Timo Kreuzer [Mon, 29 Mar 2010 05:17:15 +0000 (05:17 +0000)]
Merge bdasup.h

svn path=/trunk/; revision=46558

10 years agoAdd definition of PUOW to wdm.h
Timo Kreuzer [Mon, 29 Mar 2010 05:03:20 +0000 (05:03 +0000)]
Add definition of PUOW to wdm.h

svn path=/trunk/; revision=46557

10 years agoFix Mm64BitPhysicalAddress
Timo Kreuzer [Mon, 29 Mar 2010 04:49:07 +0000 (04:49 +0000)]
Fix Mm64BitPhysicalAddress

svn path=/trunk/; revision=46556

10 years agoMove SINGLE_GROUP_LEGACY_API definition to wdm.h
Timo Kreuzer [Mon, 29 Mar 2010 04:28:32 +0000 (04:28 +0000)]
Move SINGLE_GROUP_LEGACY_API definition to wdm.h

svn path=/trunk/; revision=46555

10 years agorevert r46552 and r46553
Timo Kreuzer [Mon, 29 Mar 2010 04:14:34 +0000 (04:14 +0000)]
revert r46552 and r46553

svn path=/trunk/; revision=46554

10 years agoReintegrate header branch part 7/x
Timo Kreuzer [Mon, 29 Mar 2010 03:52:10 +0000 (03:52 +0000)]
Reintegrate header branch part 7/x
Merge the rest and see what happens....

svn path=/trunk/; revision=46553

10 years agoReintegrate header branch part 6/x
Timo Kreuzer [Mon, 29 Mar 2010 03:49:11 +0000 (03:49 +0000)]
Reintegrate header branch part 6/x
ntdef.h and winnt.h: add GROUP_AFFINITY, formatting

svn path=/trunk/; revision=46552

10 years agoReintegrate header branch part 5/x
Timo Kreuzer [Mon, 29 Mar 2010 03:16:25 +0000 (03:16 +0000)]
Reintegrate header branch part 5/x
- Formatting and properties
- delete xmldsodid.h

svn path=/trunk/; revision=46551

10 years ago[NTOSKRNL]
Cameron Gutman [Mon, 29 Mar 2010 02:59:44 +0000 (02:59 +0000)]
[NTOSKRNL]
- Set the IRP_SYNCHRONOUS_API flag on IRPs created by IoBuildSynchronousFsdRequest

svn path=/trunk/; revision=46550

10 years agofix build
Timo Kreuzer [Mon, 29 Mar 2010 02:51:02 +0000 (02:51 +0000)]
fix build

svn path=/trunk/; revision=46549

10 years agoReintegrate header branch part 4/x
Timo Kreuzer [Mon, 29 Mar 2010 02:48:28 +0000 (02:48 +0000)]
Reintegrate header branch part 4/x
- don't prepend ddk/ before the header includes
- move atsmedia.h to psdk
- add mce.h, devpropdef.h, evntprov.h, ntiologc.h to psdk
- replace ntstatus.h

svn path=/trunk/; revision=46548

10 years agoReintegrate header-branch 3/x
Timo Kreuzer [Mon, 29 Mar 2010 02:38:12 +0000 (02:38 +0000)]
Reintegrate header-branch 3/x
- Add XDK

svn path=/trunk/; revision=46547

10 years ago[COMPBATT]: More miniclass driver interface work: CompBattQueryInformation and CompBa...
Sir Richard [Mon, 29 Mar 2010 02:27:41 +0000 (02:27 +0000)]
[COMPBATT]: More miniclass driver interface work: CompBattQueryInformation and CompBattGetBatteryGranularity.

svn path=/trunk/; revision=46546

10 years agoFix build
Timo Kreuzer [Mon, 29 Mar 2010 02:15:21 +0000 (02:15 +0000)]
Fix build

svn path=/trunk/; revision=46545

10 years agoReintegrate header-branch 2/x
Timo Kreuzer [Mon, 29 Mar 2010 02:03:41 +0000 (02:03 +0000)]
Reintegrate header-branch 2/x
- PCVOID -> LPCVOID / CONST VOID *
- move cfgmgr32.h and cfg.h to psdk
- remove wine/cfgmgr32.h make setupapi use the proper header

svn path=/trunk/; revision=46544

10 years ago[COMPBATT]: Mini-class driver interface work: CompBattDisableStatusNotify, CompBattQu...
Sir Richard [Mon, 29 Mar 2010 02:02:07 +0000 (02:02 +0000)]
[COMPBATT]: Mini-class driver interface work: CompBattDisableStatusNotify, CompBattQueryTag, CompBattRecalculateTag, CompBattGetBatteryInformation.

svn path=/trunk/; revision=46543

10 years agoReintegrate header branch part 1/x
Timo Kreuzer [Mon, 29 Mar 2010 01:51:11 +0000 (01:51 +0000)]
Reintegrate header branch part 1/x
DDKAPI -> NTAPI

svn path=/trunk/; revision=46542

10 years ago[COMPBATT]: Helper code, CompBattGetDeviceObjectPointer and BatteryIoctl.
Sir Richard [Mon, 29 Mar 2010 00:10:56 +0000 (00:10 +0000)]
[COMPBATT]: Helper code, CompBattGetDeviceObjectPointer and BatteryIoctl.

svn path=/trunk/; revision=46541

10 years ago[COMPBATT]: Main battery detection/PnP notification logic: CompBattAddNewBattery...
Sir Richard [Mon, 29 Mar 2010 00:02:05 +0000 (00:02 +0000)]
[COMPBATT]: Main battery detection/PnP notification logic: CompBattAddNewBattery, CompBattRemoveBattery, IsBatteryAlreadyOnList, RemoveBatteryFromList, CompBattGetBatteries, CompBattPnpEventHandler.

svn path=/trunk/; revision=46540

10 years ago[NTOSKRNL]
Cameron Gutman [Sun, 28 Mar 2010 22:59:38 +0000 (22:59 +0000)]
[NTOSKRNL]
- Fix a nasty bug that discarded any response to IRP_MN_FILTER_RESOURCE_REQUIREMENTS so drivers never got the resources they needed

svn path=/trunk/; revision=46533

10 years ago[NTOSKRNL]
Cameron Gutman [Sun, 28 Mar 2010 20:23:30 +0000 (20:23 +0000)]
[NTOSKRNL]
- Don't use REG_OPTION_VOLATILE because it causes ACPI to be reinstalled after every boot

svn path=/trunk/; revision=46525

10 years ago[NTOSKRNL]
Cameron Gutman [Sun, 28 Mar 2010 19:22:28 +0000 (19:22 +0000)]
[NTOSKRNL]
- Revert part of r46495 and replace it with much better code

svn path=/trunk/; revision=46519

10 years ago[KSPROXY, MSDVBNP, MSVIDCTL, BDAPLGIN]
Johannes Anderwald [Sun, 28 Mar 2010 19:06:48 +0000 (19:06 +0000)]
[KSPROXY, MSDVBNP, MSVIDCTL, BDAPLGIN]
- Implement DllRegisterServer, DllUnregisterServer for those components
- Add msdvbnp, msvidctl to build
- Add msdvbnp, bdaplgin, msvidctl to bootcd

svn path=/trunk/; revision=46518

10 years ago[NTOSKRNL]
Cameron Gutman [Sun, 28 Mar 2010 19:02:07 +0000 (19:02 +0000)]
[NTOSKRNL]
- Add a missing OBJ_CASE_INSENSITIVE attribute so IopIsAcpiComputer doesn't always fail

svn path=/trunk/; revision=46517

10 years ago[PSDK]
Aleksey Bragin [Sun, 28 Mar 2010 15:32:23 +0000 (15:32 +0000)]
[PSDK]
- Manually merge header changes from arwinss branch. Undocumented values are wrapped into #ifdef _WINE so they don't affect non-Wine code.
- Undocumented flags shouldn't be defined multiple times in user32 and win32k. Put them in winuser.h for now, should be factored out into a separate file later.
- Shouldn't break build this time.

svn path=/trunk/; revision=46516

10 years agoRevert 46514, fixes build.
Sylvain Petreolle [Sun, 28 Mar 2010 10:54:44 +0000 (10:54 +0000)]
Revert 46514, fixes build.

svn path=/trunk/; revision=46515

10 years ago[PSDK]
Aleksey Bragin [Sun, 28 Mar 2010 09:32:27 +0000 (09:32 +0000)]
[PSDK]
- Manually merge header changes from arwinss branch.

svn path=/trunk/; revision=46514

10 years agoMerge from amd64-branch:
Timo Kreuzer [Sat, 27 Mar 2010 23:01:05 +0000 (23:01 +0000)]
Merge from amd64-branch:

46483 (tkreuzer)
[CRT]
- add _wctype table, it's not identical to _ctype as assumed before
- point _pwctype to _wctype instead of _ctype
- implement __pctype_func and __pwctype_func

46502 (tkreuzer)
[MSVCRT]
- enable exports for __pctype_func, __pwctype_func, _wctype

svn path=/trunk/; revision=46504

10 years agoFix definition of _wctype
Timo Kreuzer [Sat, 27 Mar 2010 22:58:37 +0000 (22:58 +0000)]
Fix definition of _wctype

svn path=/trunk/; revision=46503

10 years ago[NTOSKRNL]
Cameron Gutman [Sat, 27 Mar 2010 21:45:35 +0000 (21:45 +0000)]
[NTOSKRNL]
- Don't always use the value name as the device description
- Fixes bug 3416

svn path=/trunk/; revision=46500

10 years ago[INF]
Cameron Gutman [Sat, 27 Mar 2010 21:42:52 +0000 (21:42 +0000)]
[INF]
- Add a device description for PNP0A00

svn path=/trunk/; revision=46499

10 years ago[COMPBATT]: Main driver skeleton: CompBattAddDevice, DriverEntry, CompBattSystemContr...
Sir Richard [Sat, 27 Mar 2010 21:34:06 +0000 (21:34 +0000)]
[COMPBATT]: Main driver skeleton: CompBattAddDevice, DriverEntry, CompBattSystemControl, CompBattIoct, CompBattOpenClose, CompBattPowerDispatch, CompBattPnpDispatch.

svn path=/trunk/; revision=46498

10 years ago[CMBATT]: Fix wrong DO flags.
Sir Richard [Sat, 27 Mar 2010 21:33:07 +0000 (21:33 +0000)]
[CMBATT]: Fix wrong DO flags.

svn path=/trunk/; revision=46497

10 years ago[NTOSKRNL]
Cameron Gutman [Sat, 27 Mar 2010 21:26:24 +0000 (21:26 +0000)]
[NTOSKRNL]
- Detect floppy controllers, parallel ports, and the ISA bus
- Dedicated to dreimer

svn path=/trunk/; revision=46495

10 years agoRevert r46466 this time for real
Timo Kreuzer [Sat, 27 Mar 2010 18:57:56 +0000 (18:57 +0000)]
Revert r46466 this time for real

svn path=/trunk/; revision=46493

10 years agoRevert r46466
Timo Kreuzer [Sat, 27 Mar 2010 18:29:08 +0000 (18:29 +0000)]
Revert r46466

svn path=/trunk/; revision=46492

10 years ago[NTOSKRNL]
Eric Kohl [Sat, 27 Mar 2010 16:54:02 +0000 (16:54 +0000)]
[NTOSKRNL]
NtAccessCheck: Check for a valid security descriptor.

svn path=/trunk/; revision=46491

10 years ago[ACPI]
Cameron Gutman [Sat, 27 Mar 2010 14:40:36 +0000 (14:40 +0000)]
[ACPI]
- Fix a typo

svn path=/trunk/; revision=46488

10 years ago[Win32k]
James Tabor [Sat, 27 Mar 2010 04:45:31 +0000 (04:45 +0000)]
[Win32k]
- Kill debug warnings of dc ownership.

svn path=/trunk/; revision=46485

10 years ago[User32]
James Tabor [Sat, 27 Mar 2010 04:20:07 +0000 (04:20 +0000)]
[User32]
- S├ębastien Ramage : End scrollbar tracking if the mouse capture is lost.
- Reduce diff to wine.

svn path=/trunk/; revision=46484

10 years ago[AFD]
Cameron Gutman [Sat, 27 Mar 2010 00:00:21 +0000 (00:00 +0000)]
[AFD]
- Allow connection requests for connectionless sockets (they associate a default remote address with the socket required for use in AfdConnectedSocketWriteData and AfdConnectedSocketReadData)
- Add a check for a disconnected socket

svn path=/trunk/; revision=46479

10 years ago- two small fixes (freeing resources on error)
Matthias Kupfer [Fri, 26 Mar 2010 20:27:21 +0000 (20:27 +0000)]
- two small fixes (freeing resources on error)

svn path=/trunk/; revision=46476

10 years ago- fix encoding
Matthias Kupfer [Fri, 26 Mar 2010 20:26:01 +0000 (20:26 +0000)]
- fix encoding
- change size of dialog entry for fitting text

svn path=/trunk/; revision=46475

10 years ago[BDAPLGIN]
Johannes Anderwald [Fri, 26 Mar 2010 17:51:54 +0000 (17:51 +0000)]
[BDAPLGIN]
- Enhance debug traces
[KSPROXY]
- Check if the input / output pin has any methods while enumerating them
[MSDVBNP]
- Implement IBaseFilter::Stop, IBaseFilter::Run, IBaseFilter::Pause
- Fix missing AddRef in IBaseFilter::QueryFilterInfo
- Implement IBDA_NetworkProvider::RegisterDeviceFilter, IBDA_NetworkProvider::UnRegisterDeviceFilter
- Partly implement ITuner::put_TuneRequest
- ReactOS DVBT Network Provider is now able to tune a channel, though sound is missing

svn path=/trunk/; revision=46471

10 years agoGeneralize some lines to be used for a whole bunch of models.
Daniel Reimer [Fri, 26 Mar 2010 14:57:35 +0000 (14:57 +0000)]
Generalize some lines to be used for a whole bunch of models.
Reduced size about 10kb that way. As long as we don't have a CPU driver I will keep it that way its now, because now it at least shows a approximate CPU Title in Devmgr.

svn path=/trunk/; revision=46467

10 years agoReintegrate header branch
Timo Kreuzer [Fri, 26 Mar 2010 13:50:02 +0000 (13:50 +0000)]
Reintegrate header branch
- DDKAPI -> NTAPI
- delete duplicate definitions
- move files to right locations
- Fix Mm64BitPhysicalAddress definition
- Add a number of missing definitions
- add XDK

svn path=/trunk/; revision=46466

10 years agoAdd Cyrix, Pentium MMX, Pro, II, M, 4, Core Solo/Duo/Extreme/i*, Atom, AMD K6, K6...
Daniel Reimer [Fri, 26 Mar 2010 12:59:02 +0000 (12:59 +0000)]
Add Cyrix, Pentium MMX, Pro, II, M, 4, Core Solo/Duo/Extreme/i*, Atom, AMD K6, K6-3, Via Nehemiah, Esther, Nano and a big bunch of Family 15 (1st gen Athlon64, Turion64, Sempron Series) AMD CPUs to cpu.inf
These should be all CPUs out there we support....

svn path=/trunk/; revision=46465

10 years ago[BDAPLGIN]
Johannes Anderwald [Fri, 26 Mar 2010 11:43:52 +0000 (11:43 +0000)]
[BDAPLGIN]
- Perform property request by passing the request through IKsPropertySet interface. This is necessary as the pin handle might not have been created at the time the proxy plugin has been loaded
- Set Reserved of KSP_NODE request to zero as required by the documentation

svn path=/trunk/; revision=46464

10 years agoSync with trunk head (part 1 of x)
Amine Khaldi [Fri, 26 Mar 2010 09:25:42 +0000 (09:25 +0000)]
Sync with trunk head (part 1 of x)

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

10 years ago[NTOSKRNL/CONFIG]
Aleksey Bragin [Fri, 26 Mar 2010 08:39:27 +0000 (08:39 +0000)]
[NTOSKRNL/CONFIG]
- Add a macro for asserting hash lock ownership.
- Add a macro for getting an alloc page from KCB / delay alloc item.
- Add a newly allocated KCB to the tail of CmpFreeKCBList, not to its head.

svn path=/trunk/; revision=46459

10 years ago[NTOSKRNL]
Cameron Gutman [Fri, 26 Mar 2010 02:41:08 +0000 (02:41 +0000)]
[NTOSKRNL]
- Construct a valid device path for ZwOpenFile
- Button events are now recognized by the power manager (tested on VirtualBox)

svn path=/trunk/; revision=46458

10 years ago[ACPI]
Cameron Gutman [Fri, 26 Mar 2010 02:33:28 +0000 (02:33 +0000)]
[ACPI]
- Implement IOCTL_GET_SYS_BUTTON_EVENT
- Add the device event to the event list in a DPC instead of an ISR

svn path=/trunk/; revision=46457

10 years ago[HAL]
Timo Kreuzer [Fri, 26 Mar 2010 00:21:45 +0000 (00:21 +0000)]
[HAL]
Add some files for amd64, just enough to make compilation start.

svn path=/trunk/; revision=46455

10 years ago- Fix warning.
James Tabor [Fri, 26 Mar 2010 00:20:14 +0000 (00:20 +0000)]
- Fix warning.

svn path=/trunk/; revision=46454

10 years agoFix build.
Amine Khaldi [Thu, 25 Mar 2010 23:40:31 +0000 (23:40 +0000)]
Fix build.
Dedicated to Timo ;)

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

10 years agoMerge from amd64 branch:
Timo Kreuzer [Thu, 25 Mar 2010 23:16:12 +0000 (23:16 +0000)]
Merge from amd64 branch:

44762 (sserapion)
[rbuild]
- Automatically generate reactos.dff using the installfile and installbase attributes found in rbuild files.
-- Fixes race to grab reactos.dff on concurrent builds in the same tree.
-- Makes the result of make install, make livecd and make bootcd the same(some modules arent in reactos.dff but have installfile/base attributes, which means they got intto livecd/install but not bootcd!)

44763 (sserapion)
[rbuild]
Really fix mkhive command.

44764 (sserapion)
[rbuild]
- fix mkhive command try 2.

svn path=/trunk/; revision=46452

10 years ago[DXSDK]
Johannes Anderwald [Thu, 25 Mar 2010 20:51:54 +0000 (20:51 +0000)]
[DXSDK]
- Implement bdatif.h

svn path=/trunk/; revision=46450

10 years ago[RBUILD]
Timo Kreuzer [Thu, 25 Mar 2010 19:55:28 +0000 (19:55 +0000)]
[RBUILD]
instead of defining -fno-set-stack-executable and -fno-optimize-sibling-calls in gcc.mak file, do it in ReactOS-i386.rbuild

svn path=/trunk/; revision=46449

10 years agofix build
Timo Kreuzer [Thu, 25 Mar 2010 19:32:45 +0000 (19:32 +0000)]
fix build

svn path=/trunk/; revision=46448

10 years ago[HAL]
Timo Kreuzer [Thu, 25 Mar 2010 19:23:09 +0000 (19:23 +0000)]
[HAL]
- Move architecture specific files into appropriate folders
- Move UP specific files into up folder

svn path=/trunk/; revision=46447

10 years ago[HAL]
Timo Kreuzer [Thu, 25 Mar 2010 18:37:59 +0000 (18:37 +0000)]
[HAL]
UP/MP cleanup:
- remove KxAcquireSpinLock from halp.h, use the one from ntoskrnl instead
- Use generic/spinlock.c in hal_generic_up and hal_generic_mp
- Delete mp/spinlock.c
- Move cmos spinlock functions to spinlock.c to make sure they are compiled for both up and mp
- Move wrappers around fastcall functions to misc.c, as they are identical on up/mp.

svn path=/trunk/; revision=46446

10 years agoSync with trunk head.
Amine Khaldi [Thu, 25 Mar 2010 18:04:58 +0000 (18:04 +0000)]
Sync with trunk head.

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

10 years ago[COMPBATT]: Composite Battery Driver Stub Interface to keep Mr. Gutman happy.
Sir Richard [Thu, 25 Mar 2010 14:26:04 +0000 (14:26 +0000)]
[COMPBATT]: Composite Battery Driver Stub Interface to keep Mr. Gutman happy.

svn path=/trunk/; revision=46443

10 years ago[ACPI]
Cameron Gutman [Thu, 25 Mar 2010 14:19:54 +0000 (14:19 +0000)]
[ACPI]
- Add support for fixed power buttons
- Cleanup some extra junk
- Add a hack to prevent acquiring the mutex while in an ISR or DPC
- Button events are received now and "acpi_bus_generate_event" will appear in the debug log when a power/sleep button is pressed
- TODO: Implement IOCTL_GET_SYS_BUTTON_EVENT support so the power manager can recognize our button presses

svn path=/trunk/; revision=46442

10 years ago[CMBATT]: Use PCH.
Sir Richard [Thu, 25 Mar 2010 14:05:03 +0000 (14:05 +0000)]
[CMBATT]: Use PCH.

svn path=/trunk/; revision=46441

10 years ago[BOOTCD/LIVECD]
Timo Kreuzer [Thu, 25 Mar 2010 13:55:00 +0000 (13:55 +0000)]
[BOOTCD/LIVECD]
Add -$(ARCH) to non-x86 bootcd and livecd image names.

svn path=/trunk/; revision=46440

10 years ago[IDNDL]
Timo Kreuzer [Thu, 25 Mar 2010 13:15:37 +0000 (13:15 +0000)]
[IDNDL]
Convert to spec

svn path=/trunk/; revision=46439

10 years agofix build
Timo Kreuzer [Thu, 25 Mar 2010 13:09:43 +0000 (13:09 +0000)]
fix build

svn path=/trunk/; revision=46438

10 years ago[NTVDM]
Timo Kreuzer [Thu, 25 Mar 2010 12:52:00 +0000 (12:52 +0000)]
[NTVDM]
Only compile on x86 builds

svn path=/trunk/; revision=46437

10 years agoMerge from amd64 branch:
Timo Kreuzer [Thu, 25 Mar 2010 12:48:03 +0000 (12:48 +0000)]
Merge from amd64 branch:

45124
[USER32]
NtUserTranslateMessage: HKL -> UINT in 2nd parameter

45126 (tkreuzer)
[WIN32k] Fix build

45127 (sserapion)
[WIN32k] Fix build

svn path=/trunk/; revision=46436

10 years ago[DDK]
Amine Khaldi [Thu, 25 Mar 2010 12:37:44 +0000 (12:37 +0000)]
[DDK]
- Move tvout.h to PSDK.

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

10 years agoMerge from amd64-branch:
Timo Kreuzer [Thu, 25 Mar 2010 12:22:59 +0000 (12:22 +0000)]
Merge from amd64-branch:

44501 (tkreuzer)
[NDK]
- Add CLIENT_ID32/64
- Create explicit 32/64 bit versions of PEB, GDI_TEB_BATCH and TEB, using macros.
- Fix some member names.

44503 (tkreuzer)
[CMD]
Fix a teb member name

44504 (tkreuzer)
[NTSOKRNL]
Fix a teb member name

44506 (tkreuzer)
[NDK]
fix a typo in the TEB definition

44511 (tkreuzer)
[NDK]
- Add Wx86ThreadState
- Add WinXP version of ACTIVATION_CONTEXT_STACK
- rtltypes doesn't depend on pstypes, but the opposite way around now

44512 (tkreuzer)
[NDK]
Fix some dependencies

44521 (tkreuzer)
[NTDKK]
- Don't use PEB::FastPeb(Un)LockRoutine, these members are deprecated since Windows 2003, use RtlEnter/LeaveCriticalSection instead.

44523 (tkreuzer)
[NTDLL]
Fix usage of PEB::KernelCallbacktable. It's a PVOID.

44524 (tkreuzer)
NDK]
- Add missing TEB member for Vista

44525 (tkreuzer)
[NDK]
Fix a TEB array size.

44526 (tkreuzer)
[USER32]
More fix of TEB::KernelCallbackTable usage

svn path=/trunk/; revision=46434

10 years ago[DDK]
Amine Khaldi [Thu, 25 Mar 2010 12:07:42 +0000 (12:07 +0000)]
[DDK]
- Remove duplicate xmldsodid.h

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

10 years agomerge from amd64 branch:
Timo Kreuzer [Thu, 25 Mar 2010 05:25:07 +0000 (05:25 +0000)]
merge from amd64 branch:

34741 (tkreuzer)
[BOOTVID]
- make bootvid build for PLATFORM=PC instead of ARCH=i386 to share the files between i386 and amd64
- fix ULONG <-> pointer casts

svn path=/trunk/; revision=46432

10 years ago[NTOSKRNL]
Cameron Gutman [Thu, 25 Mar 2010 05:16:31 +0000 (05:16 +0000)]
[NTOSKRNL]
- Handle devices that are run by their own bus drivers
- This could be done a bit nicer but it works

svn path=/trunk/; revision=46431

10 years ago[ACPI]
Cameron Gutman [Thu, 25 Mar 2010 05:11:24 +0000 (05:11 +0000)]
[ACPI]
- Implement IOCTL_GET_SYS_BUTTON_CAPS
- Register and maintain PnP interfaces for thermal zones, buttons, lids, and processors

svn path=/trunk/; revision=46429

10 years agoMerge from amd64-branch:
Timo Kreuzer [Thu, 25 Mar 2010 05:03:29 +0000 (05:03 +0000)]
Merge from amd64-branch:

46394 (tkreuzer)
[FRAMEBUF_NEW]
- use compiler flags for x86 only

36969 (sginsberg)
[VIDEOPRT]
- Make videoprt compile for 64-bit
- Disable Int10 support as it uses x86 specific structures (is this support still available on amd64?)
- Disable VideoPortEnable/DisableInterrupt -- HalEnable/DisableSystemInterrupt are not apparently present on NT AMD64, so need to figure out what else to use (and if these routine are still present on amd64 videoprt)

The following this time for real:

40927 (tkreuzer)
[BMFD]
HGLYPH is an ULONG. Use offset to glyph entry as HGLYPH instead of the pointer to fix 64bit build.

41070 (tkreuzer)
[TCPIP]
fix a pointer to ULONG cast

41500 (tkreuzer)
[NDIS]
Pass ULONG* to MiniQueryInformation for the number of written bytes instead of ULONG_PTR*

41502 (tkreuzer)
[WDMAUD]
Make DeviceIndex a ULONG_PTR

44339 (sserapion)
[NDIS]
Fix ndis build.

svn path=/trunk/; revision=46427

10 years ago[NTOSKRNL]
Cameron Gutman [Thu, 25 Mar 2010 04:05:33 +0000 (04:05 +0000)]
[NTOSKRNL]
- Fix an incorrect assumption which led to ACPI's enumerated buttons not being recognized by the power manager

svn path=/trunk/; revision=46425

10 years agoMerge from amd64-branch:
Timo Kreuzer [Thu, 25 Mar 2010 03:50:46 +0000 (03:50 +0000)]
Merge from amd64-branch:

36380 (tkreuzer)
[SCSIPORT]
Implement some functions that are forwarded to HAL on x86 build, but not on x64. Modify spec file (use preprocessor macro).

36397 (tkreuzer)
[SCSIPORT]
rename .spec to .pspec

36949 (sginsberg)
- Fix NTFS FSD compilation

36951 (sginsgerb)
[NE2000]
- Fix ne2000 compilation (treat pointer size as ULONG_PTR, correct function prototypes)

36958 (sginsberg)
[ISAPNP]
- Fix isapnp compilation for 64-bit

36961 (sginsberg)
[SERIAL]
- Make serial build for 64 bit -- explicitly cast first parameter to InterlockedCompareExchangePointer
to PVOID

36964 (sginsberg)
- Fix DXG 64-bit compilation

36972 (sserapion)
[VGA]
- When doing pointer arithmetic, ULONG_PTR is your friend

37234 (tkreuzer)
[SCSIPORT]
Fix scsiport, by using pspec again.

40927 (tkreuzer)
[BMFD]
HGLYPH is an ULONG. Use offset to glyph entry as HGLYPH instead of the pointer to fix 64bit build.

41070 (tkreuzer)
[TCPIP]
fix a pointer to ULONG cast

41500 (tkreuzer)
[NDIS]
Pass ULONG* to MiniQueryInformation for the number of written bytes instead of ULONG_PTR*

41502 (tkreuzer)
[WDMAUD]
Make DeviceIndex a ULONG_PTR

44339 (sserapion)
[NDIS]
Fix ndis build.

svn path=/trunk/; revision=46424

10 years ago[ACPI]
Cameron Gutman [Thu, 25 Mar 2010 03:40:41 +0000 (03:40 +0000)]
[ACPI]
- Implement a DispatchCreateClose handler

svn path=/trunk/; revision=46423

10 years agoMerge from amd64-branch:
Timo Kreuzer [Thu, 25 Mar 2010 03:24:44 +0000 (03:24 +0000)]
Merge from amd64-branch:

34803 (sserapion)
Fix more warnings.
Convert pciidex to use spec file.

34864 (tkreuzer) // checkme vielleicht schon gemerged?
[NDIS]
fix some ULONG to pointer casts

34870 (tkreuzer)
[TCPIP]
- fix some pointer to ULONG casts

34874 (tkreuzer)
class2: fix ULONG to pointer cast

34877 (tkreuzer)
- fix LARGE_INTEGER to pointer cast

35781 (tkreuzer)
[NDIS]
define some fastcall functions to the normal functions on amd64

36011 (tkreuzer)
[NDIS]
Fix a ULONG to pointer cast.

36012 (tkreuzer)
[SCSIPORT]
more ulong <-> pointer fixes

svn path=/trunk/; revision=46422

10 years agoMerge from amd64-branch:
Timo Kreuzer [Thu, 25 Mar 2010 01:59:02 +0000 (01:59 +0000)]
Merge from amd64-branch:

44036 (sserapion)
Seems that windows cares about manifests and a mismatched processor architecture is not good. Fix amd64 paint in windows.

44772 (sserapion)
Fix warning cast to 'unsigned int' loses precision.

svn path=/trunk/; revision=46419

10 years agoMerge from amd64-branch:
Timo Kreuzer [Thu, 25 Mar 2010 01:06:20 +0000 (01:06 +0000)]
Merge from amd64-branch:

36898 (sserapion)
- Fix 64bit advapi32 build.

35655 (sserapion)
Misc WIN64 fixes.
Implement InitializeCriticalSectionEx

43836 (sserapion)
Fix avicap32 build.

44510 (tkreuzer)
[IPHLPAPI]
Don't redefine _WIN32_WINNT to 0x500. When using the NDK we need at least 0x503 when compiling for 64 bit (XP64 is 502)

39335 (tkreuzer)
[IPHLPAPI]
Fix prototype of RtlAllocateHeap

38092 (sserapion)
[RPCRT4]
Fix 64bit-warnings.

44499 (sserapion)
[SYSSETUP]
Eliminate warning.

38100 (sserapion)
[ADVAPI32]
ULONG -> ULONG_PTR

svn path=/trunk/; revision=46418

10 years ago[ACPI]
Cameron Gutman [Thu, 25 Mar 2010 00:35:36 +0000 (00:35 +0000)]
[ACPI]
- Don't attempt to parse output arguments if none were returned

svn path=/trunk/; revision=46417

10 years ago[ACPI]
Cameron Gutman [Thu, 25 Mar 2010 00:23:41 +0000 (00:23 +0000)]
[ACPI]
 * Add support for ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_SIGNATURE and ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_SIGNATURE
 * Cmbatt is able to set the battery trip point now

svn path=/trunk/; revision=46416

10 years ago[MSVCRT]
Timo Kreuzer [Thu, 25 Mar 2010 00:04:00 +0000 (00:04 +0000)]
[MSVCRT]
Enable exports for _gmtime64, _localtime64, _time64

svn path=/trunk/; revision=46415

10 years ago- Fix for gdibatch, does not help Acrobat reader 7.
James Tabor [Wed, 24 Mar 2010 23:35:23 +0000 (23:35 +0000)]
- Fix for gdibatch, does not help Acrobat reader 7.

svn path=/trunk/; revision=46414

10 years ago[ACPI]
Cameron Gutman [Wed, 24 Mar 2010 23:13:51 +0000 (23:13 +0000)]
[ACPI]
 - Fix a warning
 - Implement some IOCTL_ACPI_EVAL_METHOD handling (no input parameters are supported yet but it should be enough for what cmbatt needs it to do)

svn path=/trunk/; revision=46413

10 years ago[BEEPMIDI]
Timo Kreuzer [Wed, 24 Mar 2010 23:12:31 +0000 (23:12 +0000)]
[BEEPMIDI]
Fix 64bit compilation

svn path=/trunk/; revision=46412

10 years ago[DDK]
Amine Khaldi [Wed, 24 Mar 2010 23:04:11 +0000 (23:04 +0000)]
[DDK]
- Bring in the signedness warning fix by aicom.

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

10 years ago[NCI]
Timo Kreuzer [Wed, 24 Mar 2010 23:03:33 +0000 (23:03 +0000)]
[NCI]
- Fix 64bit stubs
[RSYM64]
- fix linux compilation

svn path=/trunk/; revision=46410