Commit graph

23645 commits

Author SHA1 Message Date
Alex Ionescu
d1c966119b - Fix HANDLE_TABLE definition.
- Fix LPC bugcheck during 2nd stage setup and/or bootup (double-free):
- LpcReplyMessage and LpcWaitingOnPort are a union inside ETHREAD, and they can actually be both accessed in the same time! (Unlike other unions which are self-exclusive). Therefore, we need a way to:
  1) Mark a message vs a port.
  2) Retrieve the correct object.
 This has now been implemented with some helper inline functions.

svn path=/trunk/; revision=25585
2007-01-22 08:07:24 +00:00
Alex Ionescu
a0d7a72c1a - Implement a cute little hack called DEFINE_WAIT_BLOCK which makes pushlocks work on GCC 3.4.5 as well as 4.1.2+ (with no perf-hit on the latter).
- Implement ExWaitForUnblockPushLock (just a wrapper around ExTimedWaitForUnblockPushLock).
- Simplfy ExBlockPushLock and fix some bugs.
- Fix a bug in ExfReleasePushLockExclusive when we have to wake the lock.
- Fix a bug in ExfUnblockPushLock which was touching the wrong pointer.
- Fix ExWaitOnPushLock to verify that the pushlock is actually locked.

svn path=/trunk/; revision=25584
2007-01-22 06:47:44 +00:00
Christoph von Wittich
2f75cefc88 some more warnings fixes (gcc 4.2)
svn path=/trunk/; revision=25583
2007-01-22 03:00:02 +00:00
Thomas Bluemel
4410a2013e This is the last fix for GCC4.2. Now everything can be built with -O3
svn path=/trunk/; revision=25582
2007-01-21 23:54:59 +00:00
Johannes Anderwald
3b4ec883fa - define msvc compabitble debug macro
- fix error in debug print

svn path=/trunk/; revision=25581
2007-01-21 23:29:12 +00:00
Thomas Bluemel
80513cb036 Fix compilation with GCC4.2. Please check changes in CreateProcessInternalW for correctness!
svn path=/trunk/; revision=25580
2007-01-21 23:29:10 +00:00
Johannes Anderwald
b4b32d74ee msvc only knows _snprintf ...
svn path=/trunk/; revision=25579
2007-01-21 23:23:24 +00:00
Johannes Anderwald
8d3d576d40 required cast because unsigned value ranges are always >= 0
svn path=/trunk/; revision=25578
2007-01-21 23:21:55 +00:00
Johannes Anderwald
c353557eea remove stdcall declaration
svn path=/trunk/; revision=25577
2007-01-21 23:19:35 +00:00
Johannes Anderwald
6ebc412a03 - fix small bug
svn path=/trunk/; revision=25576
2007-01-21 23:13:02 +00:00
Johannes Anderwald
986c2d5d7d - add include guards
svn path=/trunk/; revision=25575
2007-01-21 22:59:01 +00:00
Johannes Anderwald
8e502ebf41 as stated in file dir:
the file is obsolescent, please use io.h

svn path=/trunk/; revision=25574
2007-01-21 22:54:54 +00:00
Thomas Bluemel
243a44d2c0 Yet another fix for GCC4.2
svn path=/trunk/; revision=25573
2007-01-21 22:47:22 +00:00
Alex Ionescu
05e22f2f64 - Fix IN/OUT privileged instruction fault (we don't yet handle HLT/CLI/STI other prefixes but the framework is there).
- Enable back proper VMWARE detection.
- Fix namepointer setup in DbgkCreateThread.
- Skip the first entry when doing fake module load messages.
- Fix which handle count is read in DbgkCloseObject.
- Set the right flags for the debug event thread instead of random flags inside the debug event itself when parsing in DbgkpSetProcessDebugPort.
- Add debug event in the temporary list to be woken, if rundown couldn't be acquired.
- Properly validate continue statues allowed in NtDebugContinue.
- Properly support timeout in NtWaitForDebugEvent.
- Properly do backout in NtWaitForDebugEvent.
- Disable LPC debug messages accidentally enabled, and add a small hack to better find the cause of the LPC shutdown bug.

svn path=/trunk/; revision=25572
2007-01-21 22:43:32 +00:00
Thomas Bluemel
285cc65a82 - Allow warnings in the expat library
- More fixes for GCC4.2

svn path=/trunk/; revision=25571
2007-01-21 22:42:44 +00:00
Dominique Cote
27c812af6e ===================================================================
ntoskrnl/fsrtl/fastio.c
===================================================================
Fixed @implemented/@unimplemented tags

===================================================================
Index: ntoskrnl/cc/mdl.c
===================================================================
Fixed a comment.

svn path=/trunk/; revision=25570
2007-01-21 21:01:57 +00:00
Christoph von Wittich
316f362656 fix win32csr (gcc 4.2)
svn path=/trunk/; revision=25569
2007-01-21 20:38:29 +00:00
Christoph von Wittich
38dd475bcf revert this change (it broke the build)
svn path=/trunk/; revision=25568
2007-01-21 20:25:27 +00:00
Christoph von Wittich
745785f093 fix some more warnings (gcc 4.2)
svn path=/trunk/; revision=25567
2007-01-21 20:10:17 +00:00
Thomas Bluemel
e32b29f0a0 Fix the NdisQueryBufferOffset and the ARGUMENTS_PRESENT macro
svn path=/trunk/; revision=25566
2007-01-21 19:44:42 +00:00
Magnus Olsen
662d573b8d Allot of change in dejavu 2.14 I have not review what really good news for us
what I can see allot of misc char are supported now. 

Changes from 2.13 to 2.14
- added Philippine peso glyph U+20B1 (by Clayborne Arevalo)
- made U+2012 have the same width as digits, according to Unicode 5.0, 
  page 206 (by Roozbeh Pournader)
- made all of the "above" combining characters remove the dot of "i", 
  "j", etc (Soft_Dotted characters), according to Unicode 5.0, 
  page 228 (by Roozbeh Pournader)
- made U+012F, U+03F3, U+0456, U+0458, U+1E2D, and U+1ECB (all fonts 
  except Mono), U+0249, U+2148, and U+2149 (Sans and Sans Condensed), 
  U+0268 (Sans ExtraLight, Serif and Serif Condensed), and U+029D (Serif 
  and Serif Condensed) respect the Soft_Dotted property (by Roozbeh 
  Pournader)
- added U+223E, U+223F, U+2240, U+22C2, U+22C3 to Sans (by Rémy Oudompheng)
- added U+203D to Serif (by Gee Fung Sit)
- added zero-width glyphs for U+2061-U+2063 to Sans and Serif (by Gee 
  Fung Sit)
- changed isolated forms of Arabic waw (U+0648, U+0624 and U+06C6) (bug #9432) 
  (by Ben Laenen)
- added Lao consonants U+0E81, U+0E82, U+0E84, U+0E87, U+0E88, U+0E8A, 
  U+0E8D, U+0E94-0E97, U+0E99-0E9F, U+0EA1-0EA3, U+0EA5, U+0EA7, U+0EAA, 
  U+0EAB, U+0EAD-0EAF to Sans Mono (by Rémy Oudompheng)
- added U+0200-U+0217, U+0226-U+0229, U+02F3, U+1E00-U+1E07, 
  U+1E0A-U+1E0B, U+1E18-U+1E1F, U+1E22-U+1E23, U+1E28-U+1E2D, 
  U+1E3A-U+1E3B, U+1E40, U+1E48-U+1E49, U+1E56, U+1E58-U+1E59, 
  U+1E5E-U+1E5F, U+1E60, U+1E68-U+1E6B, U+1E6E-U+1E6F, U+1E72-U+1E77, 
  U+1E86-U+1E8B, U+1E92-U+1E96, U+1EA0-U+1EA1, U+1EF4-U+1EF5 to Mono 
  (by Ben Laenen)
- renamed uppercase variants of diacritics (macron, breve, double grave, 
  double acute, inverted breve, dot above) to "uni03XX.case" in Mono 
  (by Ben Laenen)
- moved uppercase variants of diacritics up in Mono so they properly 
  vertically align on capitals (by Ben Laenen)
- precomposed glyphs with macron, breve, double grave, double acute, 
  inverted breve, dot above, macron below, breve below, inverted breve 
  below, dot below, cedilla, caron below, circumflex below, diaeresis 
  below, tilde below now reference to combining diacritics instead of 
  space modifiers in Mono (by Ben Laenen)
- made ring below (U+0325), and half rings below (U+031C and U+0339) 
  smaller in Mono (by Ben Laenen)
- added U+205F to all fonts (by Roozbeh Pournader)
- added U+035E-U+035F to Sans (by Roozbeh Pournader)
- added empty glyphs for U+034F, U+202A-U+202E, U+2060, U+206A-206F, 
  U+FE00-U+FE0F to non-Mono fonts (by Roozbeh Pournader)
- added U+2101, U+2107-U+2108, U+210B, U+210C, U+2110, U+2112, U+211B, 
  U+211F, U+2123, U+2125, U+2128-U+2129, U+212C-U+212D, U+212F, 
  U+2130-U+2131, U+2133, U+2136-U+213A, U+2141-U+2144, U+2B00-U+2B11, 
  U+2B20-U+2B23 to Sans (by John Karp)
- reshaped omega (U+03C9) in Mono (by Ben Laenen)
- added U+2205, U+22C6, U+2300-U+2301, U+2303-U+2306, U+230C-U+230F, 
  U+2312-U+2315, U+231C-U+231F, U+2335, U+2337-U+233E, U+2341-U+2344, 
  U+2347-U+2348, U+234B-U+234D, U+2349-U+2350, U+2352-U+2354, 
  U+2357-U+2359, U+235A-U+235C, U+235E-U+2360, U+2363-U+2365, 
  U+2368-U+2369, U+236B-U+2370, U+2373-U+237A, U+2380-U+2383, 
  U+2388-U+238B, U+2395 in Mono (by Ben Laenen)

svn path=/trunk/; revision=25565
2007-01-21 19:27:35 +00:00
Johannes Anderwald
a02b98af72 - small fix
svn path=/trunk/; revision=25564
2007-01-21 19:12:46 +00:00
Thomas Bluemel
a8897783d7 Convert NdisQueryPacket to an inline function (The DDK also defines it as an inline function). Should fix some warnings with GCC4.2
svn path=/trunk/; revision=25563
2007-01-21 18:49:10 +00:00
Christoph von Wittich
603823ffb8 fix some warnings (gcc 4.2)
svn path=/trunk/; revision=25562
2007-01-21 18:25:47 +00:00
Christoph von Wittich
88803f3676 set the correct limits for the GDT Entry in KiInitializeTSS2
svn path=/trunk/; revision=25561
2007-01-21 18:20:06 +00:00
Christoph von Wittich
b598d64920 fix KeFlushCurrentTb
svn path=/trunk/; revision=25560
2007-01-21 17:53:16 +00:00
Christoph von Wittich
3863f61aaf -fix a call to ExGetPreviousMode()
-initialize CurKey in CmiScanKeyList

svn path=/trunk/; revision=25559
2007-01-21 17:32:11 +00:00
Christoph von Wittich
29043050ac fix some warnings (gcc 4.2) thanks to w3seek
svn path=/trunk/; revision=25558
2007-01-21 17:23:23 +00:00
Alex Ionescu
28df784f1a - Fix multiple LPC race conditions.
- Improve LpcpFreeToPortZone calls for optimizing lock release.
- Use RtlCopyMemory instead of RtlMoveMemory to optimize data transfer speed.
- Always hold a reference to the connection port associated to the LPC port and properly handle this reference in all the LPC code.
- Hold a reference to the process that mapped a server/client view, and use this field when freeing memory in case we're called out-of-process.
- Fix a lot of list parsing loops and code to handle the case when the list is now empty.
- Validate more fields and data in the code.
- There are still some LPC bugs at system shutdown.

svn path=/trunk/; revision=25557
2007-01-21 17:21:42 +00:00
Christoph von Wittich
b4483383d1 fix some warnings (gcc 4.2)
svn path=/trunk/; revision=25556
2007-01-21 16:04:17 +00:00
Maarten Bosma
41e6dfed9c More applications by EmuandCo.
svn path=/trunk/; revision=25555
2007-01-21 15:12:03 +00:00
Magnus Olsen
2bdeda8d07 fixing a small disambler bug for mr
svn path=/trunk/; revision=25553
2007-01-21 15:06:57 +00:00
Aleksey Bragin
b467c3a28e [AUDIT]
(thanks to "Ventron" for help in checking this file)

Result: clean, reasons:
1) Alex cites legal sources for his magic numbers
2) The callers to the Hal don't know what they want to ask the Hal for (they pass NULLs)
3) It looks a bit incomplete in general

svn path=/trunk/; revision=25552
2007-01-21 11:38:05 +00:00
Magnus Olsen
9a661e9b1c comment out packmgr for it can not be build at moment. some should take a look at it.
svn path=/trunk/; revision=25551
2007-01-21 11:32:28 +00:00
Dominique Cote
3658aa350d ===================================================================
cctypes.h
ntoskrnl/cc/copy.c
===================================================================
Added CcFastMdlReadNotPossible
 
 
===================================================================
fastio.c
===================================================================
Added #ifdef to allow the file to compile "as is" in my windows 
framework. This doesnt affect RosBE

Brought back Alex's code for 

 FsRtlMdlReadCompleteDev
 FsRtlMdlReadDev
 FsRtlMdlReadComplete 

after having code reviewed it.

===================================================================
ntoskrnl/include/internal/cc.h
ntoskrnl/cc/mdl.c
===================================================================
Change the name of CcMdlReadCompleteDev to CcMdlReadComplete2


svn path=/trunk/; revision=25550
2007-01-21 04:46:38 +00:00
Dominique Cote
9b89b48609 Initial commit for the fsrtl lib test driver. This does not compile under ROS. You need some glue to compile and use it under windows.
svn path=/trunk/; revision=25549
2007-01-20 18:06:23 +00:00
Dominique Cote
bdc2486c5a * Adding FsRtlCopyRead(), FsRtlCopyWrite()
* Added #ifdef _NTIFS_INCLUDED_
	typedef struct _SHARED_CACHE_MAP {
  definition to cctypes.h header file.

svn path=/trunk/; revision=25548
2007-01-20 17:43:46 +00:00
Johannes Anderwald
a434a6256b - add italian translation by Paolo Devoti, devotip at tiscali dot xit
See issue #1949 for more details.

svn path=/trunk/; revision=25545
2007-01-20 14:12:12 +00:00
Magnus Olsen
b760238f4d sorry ia32 should be own folder
svn path=/trunk/; revision=25544
2007-01-20 13:39:01 +00:00
Magnus Olsen
fb71b542de start add mr op code causeome new bug for ppc
svn path=/trunk/; revision=25543
2007-01-20 13:33:42 +00:00
Magnus Olsen
5b7bc2d57e forgot thuse file
svn path=/trunk/; revision=25542
2007-01-20 13:32:26 +00:00
Magnus Olsen
a07e330040 forgot this file
svn path=/trunk/; revision=25541
2007-01-20 13:30:04 +00:00
Hervé Poussineau
961f68c118 Fix some warnings
svn path=/trunk/; revision=25540
2007-01-20 13:29:04 +00:00
Johannes Anderwald
4dec84dc2a msvc compilation fix & identify
svn path=/trunk/; revision=25539
2007-01-20 13:25:28 +00:00
Thomas Bluemel
f1f13fff16 Enable shell extensions to add pages to the control panel. The "Remote" page in XP however disappears when being clicked on. Is someone interested in taking a look at it?
svn path=/trunk/; revision=25536
2007-01-19 18:34:50 +00:00
Thomas Bluemel
e4a01dbd1c Merge patch from wine-head: Fixes function prototypes of SHAddFromPropSheetExtArray, SHCreatePropSheetExtArray, SHReplaceFromPropSheetExtArray and SHDestroyPropSheetExtArray
svn path=/trunk/; revision=25535
2007-01-19 18:30:53 +00:00
Thomas Bluemel
e7f892ab74 Merged recent w32api changes
svn path=/trunk/; revision=25534
2007-01-19 16:46:36 +00:00
Sylvain Petreolle
7c323b32c0 fix typo
svn path=/trunk/; revision=25533
2007-01-19 15:45:44 +00:00
Thomas Bluemel
f4947f0064 Fix compilation
svn path=/trunk/; revision=25532
2007-01-19 15:37:51 +00:00
Magnus Olsen
4faf77f9ca adding beepmidi to build
svn path=/trunk/; revision=25530
2007-01-19 10:37:52 +00:00