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

14 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

14 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

14 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

14 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

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

svn path=/trunk/; revision=46549

14 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

14 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

14 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

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

svn path=/trunk/; revision=46545

14 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

14 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

14 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

14 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

14 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

14 years ago[MINGW]
Timo Kreuzer [Sun, 28 Mar 2010 23:27:01 +0000 (23:27 +0000)]
[MINGW]
Update mingw library to mingw-w64 trunk (mingw-w64-src_20100325)

svn path=/branches/ros-amd64-bringup/; revision=46537

14 years ago[CRT]
Timo Kreuzer [Sun, 28 Mar 2010 23:18:31 +0000 (23:18 +0000)]
[CRT]
- Implement x86 ceilf, floorf, fmodf (taken from mingw-w64)
- Implement cosf, sinf, sqrtf (simply wrappers)
- Fix missing definitions

svn path=/branches/ros-amd64-bringup/; revision=46536

14 years ago[CRT HEADERS]
Timo Kreuzer [Sun, 28 Mar 2010 23:12:46 +0000 (23:12 +0000)]
[CRT HEADERS]
- add _mingw_mac.h from ming-w64 and include it into _mingw.h
- Update _CRTIMP definition
- Fix definition of _wctype
- onexit is not _CRTIMP

svn path=/branches/ros-amd64-bringup/; revision=46535

14 years ago[CRT]
Timo Kreuzer [Sun, 28 Mar 2010 23:06:36 +0000 (23:06 +0000)]
[CRT]
- Set crt="static" in freeldr, rtl, bmfs, ftfd, rtl, mini_hal
- define "CRTDLL" in ntdll, crtdll, msvcrt, msvcrt20, msvcrt40

svn path=/branches/ros-amd64-bringup/; revision=46534

14 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

14 years ago[NTOS]
Timo Kreuzer [Sun, 28 Mar 2010 22:51:39 +0000 (22:51 +0000)]
[NTOS]
Some freelist.c fixes, to make it compile

svn path=/branches/ros-amd64-bringup/; revision=46532

14 years ago[HAL]
Timo Kreuzer [Sun, 28 Mar 2010 22:50:04 +0000 (22:50 +0000)]
[HAL]
Update from trunk

svn path=/branches/ros-amd64-bringup/; revision=46531

14 years ago[FTP/DHCP]
Timo Kreuzer [Sun, 28 Mar 2010 21:01:25 +0000 (21:01 +0000)]
[FTP/DHCP]
- remove the oldnames hack, as we now have a proper oldnames lib (included in mingw_common)
- protect struct timezone from redefinition

svn path=/branches/ros-amd64-bringup/; revision=46526

14 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

14 years ago[LIBOLDNAMES]
Timo Kreuzer [Sun, 28 Mar 2010 20:11:55 +0000 (20:11 +0000)]
[LIBOLDNAMES]
- add snprintf

svn path=/branches/ros-amd64-bringup/; revision=46524

14 years ago- Fix assert macro
Timo Kreuzer [Sun, 28 Mar 2010 19:56:11 +0000 (19:56 +0000)]
- Fix assert macro
- Add crt="MSVC" to a number of modules to resolve _assert

svn path=/branches/ros-amd64-bringup/; revision=46523

14 years agoFix 32bit RtlInitializeSListHead
Timo Kreuzer [Sun, 28 Mar 2010 19:46:29 +0000 (19:46 +0000)]
Fix 32bit RtlInitializeSListHead

svn path=/branches/ros-amd64-bringup/; revision=46522

14 years ago[SCSIPORT]
Timo Kreuzer [Sun, 28 Mar 2010 19:30:58 +0000 (19:30 +0000)]
[SCSIPORT]
DDKAPI -> NTAPI

svn path=/branches/ros-amd64-bringup/; revision=46521

14 years agoupdate asm.h from trunk
Timo Kreuzer [Sun, 28 Mar 2010 19:25:40 +0000 (19:25 +0000)]
update asm.h from trunk

svn path=/branches/ros-amd64-bringup/; revision=46520

14 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

14 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

14 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

14 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

14 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

14 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

14 years ago[NTOS]
Timo Kreuzer [Sun, 28 Mar 2010 07:09:13 +0000 (07:09 +0000)]
[NTOS]
Add KiEoiHelper export for x86 like in trunk

svn path=/branches/ros-amd64-bringup/; revision=46513

14 years ago[FREETYPE]
Timo Kreuzer [Sun, 28 Mar 2010 05:20:27 +0000 (05:20 +0000)]
[FREETYPE]
- Don't include setjmp/longjmp, we have our own

svn path=/branches/ros-amd64-bringup/; revision=46512

14 years ago[FREELDR]
Timo Kreuzer [Sun, 28 Mar 2010 04:52:19 +0000 (04:52 +0000)]
[FREELDR]
snprintf -> _snprintf

svn path=/branches/ros-amd64-bringup/; revision=46511

14 years ago[FREELDR]
Timo Kreuzer [Sun, 28 Mar 2010 03:06:50 +0000 (03:06 +0000)]
[FREELDR]
- Add a missing cast

svn path=/branches/ros-amd64-bringup/; revision=46510

14 years ago[DHCP]
Timo Kreuzer [Sun, 28 Mar 2010 01:25:22 +0000 (01:25 +0000)]
[DHCP]
define NO_OLDNAMES to prevent redefinition

svn path=/branches/ros-amd64-bringup/; revision=46509

14 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

14 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

14 years ago[MSVCRT]
Timo Kreuzer [Sat, 27 Mar 2010 22:38:22 +0000 (22:38 +0000)]
[MSVCRT]
- enable exports for __pctype_func, __pwctype_func, _wctype

svn path=/branches/ros-amd64-bringup/; revision=46502

14 years ago[PSDK]
Amine Khaldi [Sat, 27 Mar 2010 22:06:39 +0000 (22:06 +0000)]
[PSDK]
- Add several missing mswsockdef.h definitions.
- mswsock.h : Introduce pragma once, apply consistent formatting, improve several existing definitions, remove some unrelated ones and add several missing ones.

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

14 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

14 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

14 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

14 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

14 years ago[DDK]
Amine Khaldi [Sat, 27 Mar 2010 21:27:37 +0000 (21:27 +0000)]
[DDK]
ws2san.h :
- Introduce pragma once.
- Apply consistent formatting.
- Improve several existing definitions.
- Add several missing ones.

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

14 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

14 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

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

svn path=/trunk/; revision=46492

14 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

14 years ago[XDK]
Amine Khaldi [Sat, 27 Mar 2010 15:31:25 +0000 (15:31 +0000)]
[XDK]
- Autogenerate ntifs.h based on ntifs.template.h
- Remove some duplicate definitions between WDM and NTDDK.

[DDK]
- Remove wmlib.h
- Reflect the recent XDK changes.

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

14 years ago[CMPBATT]
Timo Kreuzer [Sat, 27 Mar 2010 14:54:55 +0000 (14:54 +0000)]
[CMPBATT]
reduce diff to trunk

svn path=/branches/ros-amd64-bringup/; revision=46489

14 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

14 years agoMore formatting fixe
Timo Kreuzer [Sat, 27 Mar 2010 10:45:04 +0000 (10:45 +0000)]
More formatting fixe

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

14 years agoFormatting fix
Timo Kreuzer [Sat, 27 Mar 2010 10:34:55 +0000 (10:34 +0000)]
Formatting fix

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

14 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

14 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

14 years ago[CRT]
Timo Kreuzer [Sat, 27 Mar 2010 01:14:24 +0000 (01:14 +0000)]
[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

svn path=/branches/ros-amd64-bringup/; revision=46483

14 years ago[DDK]
Amine Khaldi [Sat, 27 Mar 2010 01:12:23 +0000 (01:12 +0000)]
[DDK]
- Move devioctl.h to PSDK, introduce pragma once, apply consistent formatting and add several missing definitions.
[XDK]
- Autogenerate devioctl.h based on devioctl.template.h

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

14 years ago[DDK]
Amine Khaldi [Sat, 27 Mar 2010 00:32:37 +0000 (00:32 +0000)]
[DDK]
dciddi.h :
- Introduce pragma once, apply consistent formatting, add missing definitions and improve several existing ones.

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

14 years ago[DDK]
Amine Khaldi [Sat, 27 Mar 2010 00:08:19 +0000 (00:08 +0000)]
[DDK]
- Move compstui.h to PSDK, introduce pragma once, apply consistent formatting, add missing definitions and improve several existing ones.

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

14 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

14 years ago[CRT]
Timo Kreuzer [Fri, 26 Mar 2010 23:41:53 +0000 (23:41 +0000)]
[CRT]
- define _CRTBLD
- rename float_t/double_t/long_double_t to float_s/double_s/long_double_s to avoid name conflicts

svn path=/branches/ros-amd64-bringup/; revision=46478

14 years agorevert r39331
Timo Kreuzer [Fri, 26 Mar 2010 23:39:12 +0000 (23:39 +0000)]
revert r39331

svn path=/branches/ros-amd64-bringup/; revision=46477

14 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

14 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

14 years ago[LIBJPG]
Timo Kreuzer [Fri, 26 Mar 2010 19:01:21 +0000 (19:01 +0000)]
[LIBJPG]
Comment out libjpg for now. It fails badly. Maybe we need a spec file or something.

svn path=/branches/ros-amd64-bringup/; revision=46473

14 years ago[ACPI]
Timo Kreuzer [Fri, 26 Mar 2010 19:00:34 +0000 (19:00 +0000)]
[ACPI]
Add amd64 stubs for ACPI_ACQUIRE_GLOBAL_LOCK and ACPI_RELEASE_GLOBAL_LOCK

svn path=/branches/ros-amd64-bringup/; revision=46472

14 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

14 years ago[HAL]
Timo Kreuzer [Fri, 26 Mar 2010 16:03:03 +0000 (16:03 +0000)]
[HAL]
Fix rbuild files

svn path=/branches/ros-amd64-bringup/; revision=46469

14 years agoMerge trunk head (46467)
Timo Kreuzer [Fri, 26 Mar 2010 15:47:53 +0000 (15:47 +0000)]
Merge trunk head (46467)

svn path=/branches/ros-amd64-bringup/; revision=46468

14 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

14 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

14 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

14 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

14 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

14 years agoLooks like ld doesn't like specifying "-fno-leading-underscore" for anything else...
Timo Kreuzer [Fri, 26 Mar 2010 08:58:45 +0000 (08:58 +0000)]
Looks like ld doesn't like specifying "-fno-leading-underscore" for anything else then shared modules (aka dlls). Therefore specify "-shared" for apps, too (Should hopefully not make a difference), making them link again.
Since we have switched to non-prefixed symbols, we need to deal with 2 kinds of symbols that the compiler doesn't handle for us. 1.) __image_base__ is still defined the same way by ld, but since gcc doesn't give us an underscore anymore, we need to specify it on our own. 2.) __MINGW_IMP_SYMBOL, which is a hacky way of declaring a symbol dllimport, by prefixing it with __imp_ also needs special treatment. Fix these issues by adding appropriate macros to _mingw.h and removing the broken and duplicate definitions from multiple .c files.

svn path=/branches/ros-amd64-bringup/; revision=46460

14 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

14 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

14 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

14 years agoreduce diff to trunk
Timo Kreuzer [Fri, 26 Mar 2010 00:25:40 +0000 (00:25 +0000)]
reduce diff to trunk

svn path=/branches/ros-amd64-bringup/; revision=46456

14 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

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

svn path=/trunk/; revision=46454

14 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

14 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

14 years ago- Reduce diff to trunk
Timo Kreuzer [Thu, 25 Mar 2010 21:29:59 +0000 (21:29 +0000)]
- Reduce diff to trunk

svn path=/branches/ros-amd64-bringup/; revision=46451

14 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

14 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

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

svn path=/trunk/; revision=46448

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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