Commit graph

37723 commits

Author SHA1 Message Date
James Tabor 145e9fad83 - Half-implement MmPageEntireDriver and use it to set the module instance for win32k. ATM, it does not set the entry pageable.
- I mean no disrespect to the Arm developers, I'm an admire of your great work with ReactOS! By my commits you can see the need for the offset address when calling internal procs in win32k.
- References: MmPageEntireDriver, http://www.osronline.com/ddkx/kmarch/k106_7os2.htm

svn path=/trunk/; revision=41939
2009-07-13 05:00:17 +00:00
James Tabor 7d031bd233 - Fix build.
svn path=/trunk/; revision=41938
2009-07-13 03:55:03 +00:00
James Tabor 13af552ba5 - Add initialization of system atoms and fix build.
svn path=/trunk/; revision=41937
2009-07-13 03:49:58 +00:00
James Tabor fdf30001fb - Implement NtUserInitializeClientPfnArrays, tested and will be needed in later commits.
svn path=/trunk/; revision=41936
2009-07-13 03:37:00 +00:00
Johannes Anderwald 6d29129c8f [WDMAUD_KERNEL]
-? Hey Arch, don't be so picky when something goes wrong. 
- Fix enumeration of wave out / in devices for Vmware adapter
- Playback still hangs

svn path=/trunk/; revision=41935
2009-07-12 15:44:33 +00:00
ReactOS Portable Systems Group 0067e2c1a5 - Fix several problems with the System PTE implementation, including the lack of locks.
- I also didn't fully like the idea of sticking "-1" into a 5-bit wide bitfield -- instead just stuff it as 0xFFFFF with a typecast. 
    - This seems to be NT's MM_EMPTY_LIST that shows up in a couple of ASSERTs on the checked build.
- This fixes several random crashes seen on my test boxes when mapping MDLs and using NP expansion VA.
- Dedicated to Brüno.

svn path=/trunk/; revision=41934
2009-07-12 13:06:41 +00:00
ReactOS Portable Systems Group 1279c44e6c - Implement the rest of the nonpaged pool allocator, now with support for allocating pages in the nonpaged pool expansion area.
- This uses System PTEs, so if you're still not sick of the same old mantra -- optimizations to the former will help the latter.
    - Additionally, we should eventually implement a single-page SLIST for nonpaged pool pages, which will greately improve allocate/free of 1 page.
- As a reminder, this code isn't being used yet.

svn path=/trunk/; revision=41933
2009-07-12 13:02:05 +00:00
ReactOS Portable Systems Group d9b66b43bd - Stop excercising the nonpaged pool allocator since there have been no complaints and internal testing has revealed no faults.
svn path=/trunk/; revision=41932
2009-07-12 13:00:19 +00:00
ReactOS Portable Systems Group 032b0e4144 - Fix incomplete comment due to accidental early-merge.
svn path=/trunk/; revision=41931
2009-07-12 12:59:21 +00:00
Dmitry Chapyshev 92272be249 - Implement QueryFullProcessImageNameA/W (based on Wine code). +35 passed tests
svn path=/trunk/; revision=41930
2009-07-12 12:21:20 +00:00
ReactOS Portable Systems Group 4fd7e25d0c Header fixes for ARM to deal with the header cleanup that was performed earlier this year...
* ARMDDK is now rationed between user-mode and kernel-mode definitions and imported by WINNT and WINDDK both (Since these don't include each others anymore)
Make the MDL flags crossarch instead of x86 only
The ARM tree now builds completely, except for the new ARM3 code in ntos... good job guys. 10/10. wasn't this supposed to make things --portable--?

svn path=/trunk/; revision=41929
2009-07-12 10:52:13 +00:00
ReactOS Portable Systems Group 4df3c6ea54 Add some more intrinsics, and change _enable and _disable to use the new ARMv6 instructions instead... we'll have to make similar changes to the routines that use SWP
svn path=/trunk/; revision=41928
2009-07-12 10:49:47 +00:00
ReactOS Portable Systems Group 883152449c Define all the other PROCESSOR_ARCHITECTURE values too
svn path=/trunk/; revision=41927
2009-07-12 10:48:23 +00:00
ReactOS Portable Systems Group 7653420856 Deal with the fact that DirectoryTableBase in EPROCESS has now been defined as PULONG instead of LARGE_INTEGER
Remove ARM-specific hyperspace functions since these are portable now

svn path=/trunk/; revision=41926
2009-07-12 10:47:45 +00:00
ReactOS Portable Systems Group 0a25cb7cf3 Fix some interlock routine definitions on platforms that use it (not x86)
svn path=/trunk/; revision=41925
2009-07-12 10:45:59 +00:00
ReactOS Portable Systems Group 6a31fba13b Use portable ExInterlockedWhatever instead of non-portable Exf* function... the headers will do the right thing based on the arch
svn path=/trunk/; revision=41924
2009-07-12 10:45:33 +00:00
ReactOS Portable Systems Group 01614d1ae5 Don't try to write to "EAX" register on anything else but x86. Please write portable code in crossarch sources.
svn path=/trunk/; revision=41923
2009-07-12 10:44:53 +00:00
ReactOS Portable Systems Group 3cba568950 Move HYPER_SPACE definition to x86 header, since ARM already defines it (and it's somewhere else). Thi sis an arch-specific define
svn path=/trunk/; revision=41922
2009-07-12 10:44:22 +00:00
ReactOS Portable Systems Group a865f1ce7c These fields don't exist on ARM, so only C_ASSERT them on x86
svn path=/trunk/; revision=41921
2009-07-12 10:43:29 +00:00
ReactOS Portable Systems Group 6f5fac8d38 Fix accidental exclusion of _get_environ functions on ARM, and exclude them only on x86-64 as it seemed to have been intented
svn path=/trunk/; revision=41920
2009-07-12 10:43:06 +00:00
ReactOS Portable Systems Group 1fd4832ed6 More properly neuter PSEH2 on ARM
svn path=/trunk/; revision=41919
2009-07-12 10:42:04 +00:00
ReactOS Portable Systems Group af9020285f Define the base addresses as ULONG_PTR since pointer math on void* is illegal
svn path=/trunk/; revision=41918
2009-07-12 10:41:50 +00:00
ReactOS Portable Systems Group 5295bfbae2 Do not build some floating point math functions on ARM right now, since they seem to call x86 inline assembly
Investigate this later...

svn path=/trunk/; revision=41917
2009-07-12 10:41:23 +00:00
ReactOS Portable Systems Group 6174f3d53a Revert the change to tcsrchr, it should be a XINT not a TCHAR
svn path=/trunk/; revision=41916
2009-07-12 10:40:39 +00:00
ReactOS Portable Systems Group 1554007aa6 KEBUGCHECK was deprecated, so use KeBugCheck
svn path=/trunk/; revision=41915
2009-07-12 10:40:16 +00:00
ReactOS Portable Systems Group ac6394ae92 Don't export the HAL drive letter assignment functions on ARM
The fast mutex functions are in the HAL on non-x86 builds, so don't forward them back to ntos

svn path=/trunk/; revision=41914
2009-07-12 10:39:58 +00:00
ReactOS Portable Systems Group bde8298af7 The Halp* drive assignment stuff doesn't exist on ARM, AFAIK
svn path=/trunk/; revision=41913
2009-07-12 10:39:04 +00:00
ReactOS Portable Systems Group deccae397c Use the pspec, there's no hal_arm.def anymore
svn path=/trunk/; revision=41912
2009-07-12 10:38:26 +00:00
ReactOS Portable Systems Group 20e4690b06 Only build winsetupldr for x86, since there's no NT for ARM
svn path=/trunk/; revision=41911
2009-07-12 10:38:05 +00:00
ReactOS Portable Systems Group 52009e13dd Only call WinLDR for x86 since there is no NT for ARM
svn path=/trunk/; revision=41910
2009-07-12 10:37:38 +00:00
ReactOS Portable Systems Group 6dc2e41228 Add minimal support for ARM to winebuild, just enough to get it to build and spew out spec files.
Hopefully it's not used for anything more cpu-specific thank that...


svn path=/trunk/; revision=41909
2009-07-12 10:36:36 +00:00
ReactOS Portable Systems Group c8f6ed5179 Add back support for WINEBUILD_FLAGS which someone removed when going from modulehandler.cpp to rules.mak... thanks.
svn path=/trunk/; revision=41908
2009-07-12 10:35:46 +00:00
Cameron Gutman 47ac65adaa - Store the static default gateway forward entry in DHCP_ADAPTER
- Loop the adapter list backward so DhclientInfo gets linked properly

svn path=/trunk/; revision=41907
2009-07-12 05:21:52 +00:00
James Tabor 172daf63c3 - If any dib sections was created, set the flag.
svn path=/trunk/; revision=41906
2009-07-12 02:59:59 +00:00
James Tabor 038073d31c - Start initializing client pfn arrays so that they can be loaded into the server information structure and help register class atoms in win32k.
svn path=/trunk/; revision=41905
2009-07-12 02:09:49 +00:00
Johannes Anderwald 1ad4b7ad1f - Fix build (2/X)
svn path=/trunk/; revision=41904
2009-07-12 00:37:48 +00:00
Johannes Anderwald 4e2840db1d [AUDIO_TEST]
- Fix build

svn path=/trunk/; revision=41903
2009-07-12 00:23:09 +00:00
Johannes Anderwald 56e5803f59 [MMEBUDDY]
- Pass DeviceId to GetDeviceCapabilities function
[WDMAUD.DRV]
- Use DeviceId to determine the capabilities of the requested device, not just always the first one

svn path=/trunk/; revision=41902
2009-07-11 23:49:24 +00:00
Johannes Anderwald a0e15ca40c - Use free index directly
- Update interface

svn path=/trunk/; revision=41901
2009-07-11 23:23:40 +00:00
Johannes Anderwald 14ecd271ba - Implement retrieving position
svn path=/trunk/; revision=41900
2009-07-11 23:21:41 +00:00
Johannes Anderwald 85cde828b2 - Implement retrieving position
svn path=/trunk/; revision=41899
2009-07-11 23:21:09 +00:00
Johannes Anderwald dec6dd70e3 - Add function for retrieving current position
svn path=/trunk/; revision=41898
2009-07-11 23:20:22 +00:00
James Tabor a522461492 - Global/LocalFlags, now checking the right bit for discared heap and not doing it the wine way.
svn path=/trunk/; revision=41896
2009-07-11 22:52:36 +00:00
James Tabor 471fee4cfa - Fix Global/LocalFlags returns. Now pass all kernel32 heap tests.
svn path=/trunk/; revision=41895
2009-07-11 22:14:19 +00:00
Johannes Anderwald 1e3850cd25 [WDMAUD.DRV]
- The wave / mixer / midi handles are kernel handles, consequently wdmaud_kernel must close them

svn path=/trunk/; revision=41894
2009-07-11 22:02:30 +00:00
Dmitry Chapyshev 66a1d260cb - Set status to STATUS_OBJECT_NAME_INVALID if NtCreateMailslotFile returned STATUS_NOT_SUPPORTED
svn path=/trunk/; revision=41893
2009-07-11 20:34:33 +00:00
Timo Kreuzer ba31bc03ca [win32k] Implement brush realization part 2 / 2
Use EBRUSHOBJ_pvGetEngBrush to get a handle to the realized (color translated) brush and use this instead of the original pattern when doing patblts. We don't use any XLATEOBJ anymore. I'll leave it to the interested reader to cleanup the DIB code from remnants of pattern to dest color translation.

svn path=/trunk/; revision=41892
2009-07-11 20:15:37 +00:00
Johannes Anderwald 9e97547323 - Implement dynamic unregistration of physical connections
- Implement IUnregisterPhysicalConnection interface for all port drivers


svn path=/trunk/; revision=41891
2009-07-11 19:01:18 +00:00
Johannes Anderwald 9913f96067 - Implement dynamic unregistration of audio devices
- IoGetDeviceProperty expects the PDO, not FDO
- Implement IUnregisterSubdevice interface for all port drivers


svn path=/trunk/; revision=41890
2009-07-11 17:44:41 +00:00
Jeffrey Morlan 038d68b156 Don't use non-portable %zd format. Instead, use %d and cast the variable to an int to ensure printf can read the argument properly
svn path=/trunk/; revision=41889
2009-07-11 16:16:39 +00:00