Commit graph

41871 commits

Author SHA1 Message Date
Sir Richard 53b637ba7e [HAL]: Add Phase 0 HAL Heap Allocation/Mapping/Unmapping APIs, remove current broken APIs that depend on Mm having been initialized. These APIs use the HAL Heap that's typically at 0xFFC00000. FreeLDR seems to map this region correctly.
[HAL]: Although currently implemented for ACPI support (to come), these APIs can now also be used to enable DMA in Phase 0 like NT, instead of only in Phase 1 like ReactOS.

svn path=/trunk/; revision=46612
2010-03-31 04:38:20 +00:00
Sir Richard bd4c20220d [HALACPI]: Add some missing signatures.
svn path=/trunk/; revision=46611
2010-03-31 04:34:26 +00:00
Sir Richard 03317815a6 [HALACPI]: Add HAL ACPI header.
svn path=/trunk/; revision=46610
2010-03-31 04:26:04 +00:00
Johannes Anderwald 0225179140 [SETUPAPI]
- Implement SetupDiOpenDeviceInterfaceW

svn path=/trunk/; revision=46609
2010-03-31 02:43:57 +00:00
Timo Kreuzer d0747d85c1 fix a typo
svn path=/trunk/; revision=46607
2010-03-30 21:35:52 +00:00
Timo Kreuzer 26109e48de [MINGW]
- add back getopt.c (needed by rosapps)
- add ofmt_stub.c and cx_pure_virtual.c


svn path=/trunk/; revision=46606
2010-03-30 21:28:38 +00:00
Eric Kohl d69c4c5248 [NTOSKRNL]
- Capture the security descriptor before passing it to SepAccessCheck.
- Move the security descriptor check and the impersonation level check from SepAccessCheck to SeAccessCheck.

svn path=/trunk/; revision=46605
2010-03-30 20:16:26 +00:00
Timo Kreuzer ffd48df713 [WINE]
define interlocked_xchg_add to InterlockedExchangeAdd

svn path=/trunk/; revision=46604
2010-03-30 19:59:29 +00:00
Johannes Anderwald ebf3dfc568 [SETUPAPI]
- Open Device Class with desired access

svn path=/trunk/; revision=46603
2010-03-30 19:43:09 +00:00
Eric Kohl e3949430d7 [NTOSKRNL]
- Move kernel-mode check around, so we won't run it twice when calling NtAccessCheck.
- Fix a wrong check for security descriptors with a NULL-DACL.

svn path=/trunk/; revision=46602
2010-03-30 17:01:23 +00:00
Timo Kreuzer 4c530b8f2a [NTOS]
Update pspec file with amd64 exports, use -arch= where appropriate

svn path=/trunk/; revision=46601
2010-03-30 16:59:52 +00:00
Cameron Gutman 9dfa15a2cd [NTOSKRNL]
- Disable ACPI until the resource detection problems are resolved

svn path=/trunk/; revision=46600
2010-03-30 16:34:17 +00:00
Timo Kreuzer 5ee8d1be0d merge from amd64 branch:
38333
[INTRIN_X86]
#define _alloca() to __builtin_alloca() on amd64

46388
[INTRIN_X86]
- Add __stosq, __movsq, _bittest64

svn path=/trunk/; revision=46599
2010-03-30 16:25:51 +00:00
Timo Kreuzer 018a23596b [KERNEL32]
Add some amd64 exports

svn path=/trunk/; revision=46598
2010-03-30 16:17:48 +00:00
Timo Kreuzer 794e740131 Merge from amd64 branch:
46478
[CRT]
- define _CRTBLD
- rename float_t/double_t/long_double_t to float_s/double_s/long_double_s to avoid name conflicts

46511
[FREELDR]
snprintf -> _snprintf

46534
[CRT]
- Set crt="static" in freeldr, rtl, bmfs, ftfd, rtl, mini_hal
- define "CRTDLL" in ntdll, crtdll, msvcrt, msvcrt20, msvcrt40

46535
[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

46537
[MINGW]
Update mingw library to mingw-w64 trunk (mingw-w64-src_20100325)

46538
Apply MSVC compilation fix.

46539
[MINGW]
Apply MSVC compilation fixes

svn path=/trunk/; revision=46597
2010-03-30 13:30:36 +00:00
Johannes Anderwald c78ad5ef45 [BDAPLGIN, KSPROXY, MSDVBNP, MSVIDCTL]
- Register DLLs when ReactOS is installed

svn path=/trunk/; revision=46594
2010-03-30 11:52:50 +00:00
Johannes Anderwald b884e9009c - Add bdasup to bootcd
svn path=/trunk/; revision=46593
2010-03-30 11:28:10 +00:00
Timo Kreuzer 8627f5ae27 Merge from amd64-branch:
44467, 44468, 44470, 44471, 46524
[OLDNAMES]
Update moldname-msvcrt.def
Add a proper oldnames lib, instead of implicitly including it with mingw.

46526
[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=/trunk/; revision=46592
2010-03-30 11:09:21 +00:00
Timo Kreuzer a5bffa5902 Don't add underscore prefix to amd64 symbols
svn path=/trunk/; revision=46588
2010-03-30 07:56:58 +00:00
Timo Kreuzer 7809161280 Merge the rest from header branch.
svn path=/trunk/; revision=46582
2010-03-30 05:34:20 +00:00
Timo Kreuzer ce874eb1b4 add PIO_CSQ_INSERT_IRP_EX to wdm.h
svn path=/trunk/; revision=46580
2010-03-30 05:09:48 +00:00
Cameron Gutman c0add4aee8 [RTL]
- Fall back to the default user key if RtlFormatCurrentUserKeyPath fails (perhaps we are in a system process)

svn path=/trunk/; revision=46578
2010-03-30 03:26:35 +00:00
Johannes Anderwald 98782624bf - Fix trunk installation breakage introduced in 46570
svn path=/trunk/; revision=46576
2010-03-29 23:08:29 +00:00
Sir Richard d42e771516 [HALACPI]: Add project, right now it just builds the normal HAL. The idea is to split the generic HAL into legacy (x86 only) and ACPI (x86+ACPI, or x64). Bus handling, reboot/shutdown, PnP, power management (sleep/resume/hibernate), timer, environment variable, debugging, and initialization code is expected to differ between legacy and ACPI, if not more.
svn path=/trunk/; revision=46574
2010-03-29 21:35:31 +00:00
Cameron Gutman 4102dbabef [NTOSKRNL]
- Don't try to detect ACPI in IopEnumerateDetectedDevices because the only reason we got there is because ACPI is NOT present (as reported by IopIsAcpiComputer)

svn path=/trunk/; revision=46571
2010-03-29 16:56:42 +00:00
Johannes Anderwald a2645d72f7 - Add bda.inf, kscaptur.inf
svn path=/trunk/; revision=46570
2010-03-29 15:18:50 +00:00
Johannes Anderwald b44642d7fd [MSDVBNP]
- Implement IBDA_EthernetFilter, IBDA_IPV4Filter, IBDA_IPV6Filter

svn path=/trunk/; revision=46569
2010-03-29 13:12:16 +00:00
Timo Kreuzer 6a86d097cb Define PPEB in ntddk.h
svn path=/trunk/; revision=46568
2010-03-29 11:40:06 +00:00
Timo Kreuzer f3e748eef0 Merge winnt.h
svn path=/trunk/; revision=46567
2010-03-29 11:23:09 +00:00
Timo Kreuzer 9ff08ac905 Merge ntdef.h
svn path=/trunk/; revision=46566
2010-03-29 10:35:31 +00:00
Timo Kreuzer a5f7b08edf Move IoAttachDeviceToDeviceStackSafe to ntddk.h
svn path=/trunk/; revision=46565
2010-03-29 09:15:47 +00:00
Timo Kreuzer b8778948ce merge wdm.h second attempt. This time taking more care of vista definitions.
svn path=/trunk/; revision=46564
2010-03-29 08:57:45 +00:00
Aleksey Bragin 09ab0eb733 [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
2010-03-29 08:51:12 +00:00
Timo Kreuzer c5e2c557f7 revert r46561
svn path=/trunk/; revision=46562
2010-03-29 07:37:26 +00:00
Timo Kreuzer 423f6985b2 merge part of the wdm changes. Mostly formatting and adding a few definitions.
svn path=/trunk/; revision=46561
2010-03-29 07:28:03 +00:00
Timo Kreuzer 65e1cafd2a Add RtlLargeInteger macros to wdm.h
svn path=/trunk/; revision=46560
2010-03-29 05:48:15 +00:00
Timo Kreuzer 2076e91e49 merge ntdef.h formatting changes
svn path=/trunk/; revision=46559
2010-03-29 05:28:59 +00:00
Timo Kreuzer e6421edfc9 Merge bdasup.h
svn path=/trunk/; revision=46558
2010-03-29 05:17:15 +00:00
Timo Kreuzer 10ba115855 Add definition of PUOW to wdm.h
svn path=/trunk/; revision=46557
2010-03-29 05:03:20 +00:00
Timo Kreuzer 77d69ff4d9 Fix Mm64BitPhysicalAddress
svn path=/trunk/; revision=46556
2010-03-29 04:49:07 +00:00
Timo Kreuzer 07c9b89e48 Move SINGLE_GROUP_LEGACY_API definition to wdm.h
svn path=/trunk/; revision=46555
2010-03-29 04:28:32 +00:00
Timo Kreuzer 59f2edfce7 revert r46552 and r46553
svn path=/trunk/; revision=46554
2010-03-29 04:14:34 +00:00
Timo Kreuzer b359df2f32 Reintegrate header branch part 7/x
Merge the rest and see what happens....

svn path=/trunk/; revision=46553
2010-03-29 03:52:10 +00:00
Timo Kreuzer dabbfbee68 Reintegrate header branch part 6/x
ntdef.h and winnt.h: add GROUP_AFFINITY, formatting


svn path=/trunk/; revision=46552
2010-03-29 03:49:11 +00:00
Timo Kreuzer 1a929a8b21 Reintegrate header branch part 5/x
- Formatting and properties
- delete xmldsodid.h

svn path=/trunk/; revision=46551
2010-03-29 03:16:25 +00:00
Cameron Gutman acc9e3e78a [NTOSKRNL]
- Set the IRP_SYNCHRONOUS_API flag on IRPs created by IoBuildSynchronousFsdRequest

svn path=/trunk/; revision=46550
2010-03-29 02:59:44 +00:00
Timo Kreuzer d16419c3da fix build
svn path=/trunk/; revision=46549
2010-03-29 02:51:02 +00:00
Timo Kreuzer 4656583b21 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
2010-03-29 02:48:28 +00:00
Timo Kreuzer 6a40b4927e Reintegrate header-branch 3/x
- Add XDK

svn path=/trunk/; revision=46547
2010-03-29 02:38:12 +00:00
Sir Richard f903a6242e [COMPBATT]: More miniclass driver interface work: CompBattQueryInformation and CompBattGetBatteryGranularity.
svn path=/trunk/; revision=46546
2010-03-29 02:27:41 +00:00