14 years agofix case
Sylvain Petreolle [Mon, 22 Jan 2007 09:24:42 +0000 (09:24 +0000)]
fix case

svn path=/trunk/; revision=25589

14 years ago- Italian translation by Daniele Forsi (dforsi at gmail dot com)
Johannes Anderwald [Mon, 22 Jan 2007 09:14:32 +0000 (09:14 +0000)]
- Italian translation by Daniele Forsi (dforsi at gmail dot com)
- fixes bug 1990
See issue #1990 for more details.

svn path=/trunk/; revision=25588

14 years ago- Proper fix for the bug that 25558 attempted to fix. Kernel-mode registry handles...
Alex Ionescu [Mon, 22 Jan 2007 08:46:56 +0000 (08:46 +0000)]
- Proper fix for the bug that 25558 attempted to fix. Kernel-mode registry handles now work (they didn't before 25558).
- Also the system now boots again since this fix is correct.

svn path=/trunk/; revision=25587

14 years ago- Implement new ExHandle* implementation using pushlocks and the Windows 2003 HANDLE_...
Alex Ionescu [Mon, 22 Jan 2007 08:15:17 +0000 (08:15 +0000)]
- Implement new ExHandle* implementation using pushlocks and the Windows 2003 HANDLE_TABLE structure and semantics. Only the currently used base APIs were implemented; support for audit masks still disabled, debug/tracing calls disabled.
- Remove manual overrides of NTDDI_VERSION all over the thread and set it once globally, since ExHandle* was the only non-updated package. The entire kernel now builds with Windows 2003 SP1 as a target.
- Remove this entry from kernel fun.

svn path=/trunk/; revision=25586

14 years ago- Fix HANDLE_TABLE definition.
Alex Ionescu [Mon, 22 Jan 2007 08:07:24 +0000 (08:07 +0000)]
- 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

14 years ago- Implement a cute little hack called DEFINE_WAIT_BLOCK which makes pushlocks work...
Alex Ionescu [Mon, 22 Jan 2007 06:47:44 +0000 (06:47 +0000)]
- 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

14 years agosome more warnings fixes (gcc 4.2)
Christoph von Wittich [Mon, 22 Jan 2007 03:00:02 +0000 (03:00 +0000)]
some more warnings fixes (gcc 4.2)

svn path=/trunk/; revision=25583

14 years agoThis is the last fix for GCC4.2. Now everything can be built with -O3
Thomas Bluemel [Sun, 21 Jan 2007 23:54:59 +0000 (23:54 +0000)]
This is the last fix for GCC4.2. Now everything can be built with -O3

svn path=/trunk/; revision=25582

14 years ago- define msvc compabitble debug macro
Johannes Anderwald [Sun, 21 Jan 2007 23:29:12 +0000 (23:29 +0000)]
- define msvc compabitble debug macro
- fix error in debug print

svn path=/trunk/; revision=25581

14 years agoFix compilation with GCC4.2. Please check changes in CreateProcessInternalW for corre...
Thomas Bluemel [Sun, 21 Jan 2007 23:29:10 +0000 (23:29 +0000)]
Fix compilation with GCC4.2. Please check changes in CreateProcessInternalW for correctness!

svn path=/trunk/; revision=25580

14 years agomsvc only knows _snprintf ...
Johannes Anderwald [Sun, 21 Jan 2007 23:23:24 +0000 (23:23 +0000)]
msvc only knows _snprintf ...

svn path=/trunk/; revision=25579

14 years agorequired cast because unsigned value ranges are always >= 0
Johannes Anderwald [Sun, 21 Jan 2007 23:21:55 +0000 (23:21 +0000)]
required cast because unsigned value ranges are always >= 0

svn path=/trunk/; revision=25578

14 years agoremove stdcall declaration
Johannes Anderwald [Sun, 21 Jan 2007 23:19:35 +0000 (23:19 +0000)]
remove stdcall declaration

svn path=/trunk/; revision=25577

14 years ago- fix small bug
Johannes Anderwald [Sun, 21 Jan 2007 23:13:02 +0000 (23:13 +0000)]
- fix small bug

svn path=/trunk/; revision=25576

14 years ago- add include guards
Johannes Anderwald [Sun, 21 Jan 2007 22:59:01 +0000 (22:59 +0000)]
- add include guards

svn path=/trunk/; revision=25575

14 years agoas stated in file dir:
Johannes Anderwald [Sun, 21 Jan 2007 22:54:54 +0000 (22:54 +0000)]
as stated in file dir:
the file is obsolescent, please use io.h

svn path=/trunk/; revision=25574

14 years agoYet another fix for GCC4.2
Thomas Bluemel [Sun, 21 Jan 2007 22:47:22 +0000 (22:47 +0000)]
Yet another fix for GCC4.2

svn path=/trunk/; revision=25573

14 years ago- Fix IN/OUT privileged instruction fault (we don't yet handle HLT/CLI/STI other...
Alex Ionescu [Sun, 21 Jan 2007 22:43:32 +0000 (22:43 +0000)]
- 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

14 years ago- Allow warnings in the expat library
Thomas Bluemel [Sun, 21 Jan 2007 22:42:44 +0000 (22:42 +0000)]
- Allow warnings in the expat library
- More fixes for GCC4.2

svn path=/trunk/; revision=25571

14 years ago===================================================================
Dominique Cote [Sun, 21 Jan 2007 21:01:57 +0000 (21:01 +0000)]
Fixed @implemented/@unimplemented tags

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

svn path=/trunk/; revision=25570

14 years agofix win32csr (gcc 4.2)
Christoph von Wittich [Sun, 21 Jan 2007 20:38:29 +0000 (20:38 +0000)]
fix win32csr (gcc 4.2)

svn path=/trunk/; revision=25569

14 years agorevert this change (it broke the build)
Christoph von Wittich [Sun, 21 Jan 2007 20:25:27 +0000 (20:25 +0000)]
revert this change (it broke the build)

svn path=/trunk/; revision=25568

14 years agofix some more warnings (gcc 4.2)
Christoph von Wittich [Sun, 21 Jan 2007 20:10:17 +0000 (20:10 +0000)]
fix some more warnings (gcc 4.2)

svn path=/trunk/; revision=25567

14 years agoFix the NdisQueryBufferOffset and the ARGUMENTS_PRESENT macro
Thomas Bluemel [Sun, 21 Jan 2007 19:44:42 +0000 (19:44 +0000)]
Fix the NdisQueryBufferOffset and the ARGUMENTS_PRESENT macro

svn path=/trunk/; revision=25566

14 years agoAllot of change in dejavu 2.14 I have not review what really good news for us
Magnus Olsen [Sun, 21 Jan 2007 19:27:35 +0000 (19:27 +0000)]
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
- 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 "" 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

14 years ago- small fix
Johannes Anderwald [Sun, 21 Jan 2007 19:12:46 +0000 (19:12 +0000)]
- small fix

svn path=/trunk/; revision=25564

14 years agoConvert NdisQueryPacket to an inline function (The DDK also defines it as an inline...
Thomas Bluemel [Sun, 21 Jan 2007 18:49:10 +0000 (18:49 +0000)]
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

14 years agofix some warnings (gcc 4.2)
Christoph von Wittich [Sun, 21 Jan 2007 18:25:47 +0000 (18:25 +0000)]
fix some warnings (gcc 4.2)

svn path=/trunk/; revision=25562

14 years agoset the correct limits for the GDT Entry in KiInitializeTSS2
Christoph von Wittich [Sun, 21 Jan 2007 18:20:06 +0000 (18:20 +0000)]
set the correct limits for the GDT Entry in KiInitializeTSS2

svn path=/trunk/; revision=25561

14 years agofix KeFlushCurrentTb
Christoph von Wittich [Sun, 21 Jan 2007 17:53:16 +0000 (17:53 +0000)]
fix KeFlushCurrentTb

svn path=/trunk/; revision=25560

14 years ago-fix a call to ExGetPreviousMode()
Christoph von Wittich [Sun, 21 Jan 2007 17:32:11 +0000 (17:32 +0000)]
-fix a call to ExGetPreviousMode()
-initialize CurKey in CmiScanKeyList

svn path=/trunk/; revision=25559

14 years agofix some warnings (gcc 4.2) thanks to w3seek
Christoph von Wittich [Sun, 21 Jan 2007 17:23:23 +0000 (17:23 +0000)]
fix some warnings (gcc 4.2) thanks to w3seek

svn path=/trunk/; revision=25558

14 years ago- Fix multiple LPC race conditions.
Alex Ionescu [Sun, 21 Jan 2007 17:21:42 +0000 (17:21 +0000)]
- 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

14 years agofix some warnings (gcc 4.2)
Christoph von Wittich [Sun, 21 Jan 2007 16:04:17 +0000 (16:04 +0000)]
fix some warnings (gcc 4.2)

svn path=/trunk/; revision=25556

14 years agoMore applications by EmuandCo.
Maarten Bosma [Sun, 21 Jan 2007 15:12:03 +0000 (15:12 +0000)]
More applications by EmuandCo.

svn path=/trunk/; revision=25555

14 years agofixing a small disambler bug for mr
Magnus Olsen [Sun, 21 Jan 2007 15:06:57 +0000 (15:06 +0000)]
fixing a small disambler bug for mr

svn path=/trunk/; revision=25553

14 years ago[AUDIT]
Aleksey Bragin [Sun, 21 Jan 2007 11:38:05 +0000 (11:38 +0000)]
(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

14 years agocomment out packmgr for it can not be build at moment. some should take a look at it.
Magnus Olsen [Sun, 21 Jan 2007 11:32:28 +0000 (11:32 +0000)]
comment out packmgr for it can not be build at moment. some should take a look at it.

svn path=/trunk/; revision=25551

14 years ago===================================================================
Dominique Cote [Sun, 21 Jan 2007 04:46:38 +0000 (04:46 +0000)]
Added CcFastMdlReadNotPossible

Added #ifdef to allow the file to compile "as is" in my windows
framework. This doesnt affect RosBE

Brought back Alex's code for


after having code reviewed it.

Change the name of CcMdlReadCompleteDev to CcMdlReadComplete2

svn path=/trunk/; revision=25550

14 years agoInitial commit for the fsrtl lib test driver. This does not compile under ROS. You...
Dominique Cote [Sat, 20 Jan 2007 18:06:23 +0000 (18:06 +0000)]
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

14 years ago* Adding FsRtlCopyRead(), FsRtlCopyWrite()
Dominique Cote [Sat, 20 Jan 2007 17:43:46 +0000 (17:43 +0000)]
* Adding FsRtlCopyRead(), FsRtlCopyWrite()
* Added #ifdef _NTIFS_INCLUDED_
typedef struct _SHARED_CACHE_MAP {
  definition to cctypes.h header file.

svn path=/trunk/; revision=25548

14 years ago- add italian translation by Paolo Devoti, devotip at tiscali dot xit
Johannes Anderwald [Sat, 20 Jan 2007 14:12:12 +0000 (14:12 +0000)]
- add italian translation by Paolo Devoti, devotip at tiscali dot xit
See issue #1949 for more details.

svn path=/trunk/; revision=25545

14 years agosorry ia32 should be own folder
Magnus Olsen [Sat, 20 Jan 2007 13:39:01 +0000 (13:39 +0000)]
sorry ia32 should be own folder

svn path=/trunk/; revision=25544

14 years agostart add mr op code causeome new bug for ppc
Magnus Olsen [Sat, 20 Jan 2007 13:33:42 +0000 (13:33 +0000)]
start add mr op code causeome new bug for ppc

svn path=/trunk/; revision=25543

14 years agoforgot thuse file
Magnus Olsen [Sat, 20 Jan 2007 13:32:26 +0000 (13:32 +0000)]
forgot thuse file

svn path=/trunk/; revision=25542

14 years agoforgot this file
Magnus Olsen [Sat, 20 Jan 2007 13:30:04 +0000 (13:30 +0000)]
forgot this file

svn path=/trunk/; revision=25541

14 years agoFix some warnings
Hervé Poussineau [Sat, 20 Jan 2007 13:29:04 +0000 (13:29 +0000)]
Fix some warnings

svn path=/trunk/; revision=25540

14 years agomsvc compilation fix & identify
Johannes Anderwald [Sat, 20 Jan 2007 13:25:28 +0000 (13:25 +0000)]
msvc compilation fix & identify

svn path=/trunk/; revision=25539

14 years agoEnable shell extensions to add pages to the control panel. The "Remote" page in XP...
Thomas Bluemel [Fri, 19 Jan 2007 18:34:50 +0000 (18:34 +0000)]
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

14 years agoMerge patch from wine-head: Fixes function prototypes of SHAddFromPropSheetExtArray...
Thomas Bluemel [Fri, 19 Jan 2007 18:30:53 +0000 (18:30 +0000)]
Merge patch from wine-head: Fixes function prototypes of SHAddFromPropSheetExtArray, SHCreatePropSheetExtArray, SHReplaceFromPropSheetExtArray and SHDestroyPropSheetExtArray

svn path=/trunk/; revision=25535

14 years agoMerged recent w32api changes
Thomas Bluemel [Fri, 19 Jan 2007 16:46:36 +0000 (16:46 +0000)]
Merged recent w32api changes

svn path=/trunk/; revision=25534

14 years agofix typo
Sylvain Petreolle [Fri, 19 Jan 2007 15:45:44 +0000 (15:45 +0000)]
fix typo

svn path=/trunk/; revision=25533

14 years agoFix compilation
Thomas Bluemel [Fri, 19 Jan 2007 15:37:51 +0000 (15:37 +0000)]
Fix compilation

svn path=/trunk/; revision=25532

14 years agoadding beepmidi to build
Magnus Olsen [Fri, 19 Jan 2007 10:37:52 +0000 (10:37 +0000)]
adding beepmidi to build

svn path=/trunk/; revision=25530

14 years agofix some gcc 4.2 warnings
Christoph von Wittich [Fri, 19 Jan 2007 10:14:29 +0000 (10:14 +0000)]
fix some gcc 4.2 warnings

svn path=/trunk/; revision=25529

14 years agofix some gcc 4.2 compilation problems and warnings
Christoph von Wittich [Fri, 19 Jan 2007 09:26:20 +0000 (09:26 +0000)]
fix some gcc 4.2 compilation problems and warnings

svn path=/trunk/; revision=25528

14 years agoFixing the src and dst of register so they are being read right (PPC brain)
Magnus Olsen [Fri, 19 Jan 2007 08:20:42 +0000 (08:20 +0000)]
Fixing the src and dst of register so they are being read right (PPC brain)
Adding stw for dissembler and converting (PPC and IA32)
Fixing a counter bug in ConvertBitToByte, ConvertBitToByte32, GetMaskByte, GetMaskByte32
we did miss one bit calculation when we count the mask the bit 0

svn path=/trunk/; revision=25527

14 years agoFix compilation (second attempt, too many local changes to keep track of)
Thomas Bluemel [Fri, 19 Jan 2007 01:06:25 +0000 (01:06 +0000)]
Fix compilation (second attempt, too many local changes to keep track of)

svn path=/trunk/; revision=25526

14 years agoFix compilation
Thomas Bluemel [Fri, 19 Jan 2007 01:05:44 +0000 (01:05 +0000)]
Fix compilation

svn path=/trunk/; revision=25525

14 years agofix some warnings (gcc 4.2 on Linux x64)
Christoph von Wittich [Fri, 19 Jan 2007 01:00:06 +0000 (01:00 +0000)]
fix some warnings (gcc 4.2 on Linux x64)

svn path=/trunk/; revision=25524

14 years agoFix freeing memory
Thomas Bluemel [Fri, 19 Jan 2007 00:23:48 +0000 (00:23 +0000)]
Fix freeing memory

svn path=/trunk/; revision=25523

14 years agoMove the "Computer Name" page to netid.dll
Thomas Bluemel [Fri, 19 Jan 2007 00:09:21 +0000 (00:09 +0000)]
Move the "Computer Name" page to netid.dll

svn path=/trunk/; revision=25522

14 years agoset eol-style to native
Thomas Bluemel [Thu, 18 Jan 2007 23:42:21 +0000 (23:42 +0000)]
set eol-style to native

svn path=/trunk/; revision=25521

14 years agoPC speaker MIDI driver (see README.TXT for info)
Andrew Greenwood [Thu, 18 Jan 2007 23:26:30 +0000 (23:26 +0000)]
PC speaker MIDI driver (see README.TXT for info)
Tested on Windows XP but should be compatible with ReactOS

svn path=/trunk/; revision=25520

14 years ago- forgot these changes in my local svn
Johannes Anderwald [Thu, 18 Jan 2007 22:37:10 +0000 (22:37 +0000)]
- forgot these changes in my local svn
- generating dependency map works
- results can be viewed with XSL capable browser

svn path=/trunk/; revision=25519

14 years agoFixing another bug in converting
Magnus Olsen [Thu, 18 Jan 2007 22:09:08 +0000 (22:09 +0000)]
Fixing another bug in converting
stwu r1,-32(r1)

equal with intel
mov [esp-32],esp;
mov esp, esp - 32;

svn path=/trunk/; revision=25518

14 years agoAdding stwu to converting to ia32
Magnus Olsen [Thu, 18 Jan 2007 21:35:48 +0000 (21:35 +0000)]
Adding stwu to converting to ia32
fixing some smaller bug when it was disabmler
fixing dymatic translations of abi for ppc and ia32

svn path=/trunk/; revision=25517

14 years agoMerge 3 STATICs together
Thomas Bluemel [Thu, 18 Jan 2007 21:09:56 +0000 (21:09 +0000)]
Merge 3 STATICs together

svn path=/trunk/; revision=25516

14 years ago- dutch translation by Eric Janssen (
Johannes Anderwald [Thu, 18 Jan 2007 20:22:56 +0000 (20:22 +0000)]
- dutch translation by Eric Janssen (
See issue #1989 for more details.

svn path=/trunk/; revision=25515

14 years agoImplement disambler for stwu, left todo add it to the Converter
Magnus Olsen [Thu, 18 Jan 2007 19:33:48 +0000 (19:33 +0000)]
Implement disambler for stwu, left todo add it to the Converter

svn path=/trunk/; revision=25514

14 years agofix some warnings
Christoph von Wittich [Thu, 18 Jan 2007 17:12:49 +0000 (17:12 +0000)]
fix some warnings

svn path=/trunk/; revision=25513

14 years agoUse comctl32's syslink control, no need to reinvent the wheel
Thomas Bluemel [Thu, 18 Jan 2007 16:37:30 +0000 (16:37 +0000)]
Use comctl32's syslink control, no need to reinvent the wheel

svn path=/trunk/; revision=25512

14 years agoFixing some ppc disambler bugs. Li are not 100% test it can contain some fault.
Magnus Olsen [Thu, 18 Jan 2007 15:40:37 +0000 (15:40 +0000)]
Fixing some ppc disambler bugs. Li are not 100% test it can contain some fault.
Fixing Li bug the register for dest was wrong calctions see file OpCodePPC.txt.
fixing some meaing in ReadMe.txt

svn path=/trunk/; revision=25511

14 years agoAdd Arc.c to win32k. See gdi32 painting.c for more info.
James Tabor [Thu, 18 Jan 2007 13:56:58 +0000 (13:56 +0000)]
Add Arc.c to win32k. See gdi32 painting.c for more info.

svn path=/trunk/; revision=25508

14 years agoExpain how the bit order works and how get the opcode. The IBM and freescale manual...
Magnus Olsen [Thu, 18 Jan 2007 13:43:17 +0000 (13:43 +0000)]
Expain how the bit order works and how get the opcode. The IBM and freescale manual for ppc cpu are not good expain it.
now I got less headic, and got understainf how to decoding the manual and how the opcode are store.

svn path=/trunk/; revision=25507

14 years agoAdding a opcode list, which opcode we are supportin convert from
Magnus Olsen [Thu, 18 Jan 2007 12:04:24 +0000 (12:04 +0000)]
Adding a opcode list, which opcode we are supportin convert from

svn path=/trunk/; revision=25506

14 years agofix gcc4 build
Sylvain Petreolle [Thu, 18 Jan 2007 11:13:43 +0000 (11:13 +0000)]
fix gcc4 build

svn path=/trunk/; revision=25505

14 years ago[25 bug fixes]:
Alex Ionescu [Thu, 18 Jan 2007 09:44:49 +0000 (09:44 +0000)]
[25 bug fixes]:
- Implement KeReadStateThread.
- Fix PspTerminateProcess to handle case where there's no threads in the process.
- Fix check in PspTerminateProcess. ObClearProcessHandleTable gets called if there's a debug port, not if there's an object table.
- Simplfy PspReapRoutine.
- Fix PspExitThread to wait for all other threads before continuing to kill the last thread. Should fix lots of race/wait conditions.
- PspExitThread should check for !DeadThread and not !Terminated before determining if it should free the TEB. Also, the DbgK handle should only be closed if the thread isn't already dead.
- Fixup formatting of some code to warn less on MSVC.
- Fail various APIs if acquiring rundown protection failed.
- Fix Process Quantum/Priority settings.
- Grant PROCESS_TERMINATE by default.
- Add PROCESS_SET_INFORMATION, STANDARD_RIGHTS_ALL and PROCESS_SET_QUOTA to the default process granted access mask.
- Initialize process/thread/image notification callbacks durin phase 0 Ps initialization.
- The Audit Name belongs to the system process, not the idle process.
- Detect more failures in phase 0 startup.
- Fix various race conditions/incorrect checks in ps/security.c related to impersonation information. Also allow PspAssignPrimaryToken to be called directly with the token pointer and not only the handle.
- Wrap system thread startup stub in SEH and write a SEH filter function to print out debug information when a system thread dies unexpectedly.

svn path=/trunk/; revision=25504

14 years ago- Fix __rdtsc so it's considered volatile by GCC instead of caching it.
Alex Ionescu [Thu, 18 Jan 2007 06:23:14 +0000 (06:23 +0000)]
- Fix __rdtsc so it's considered volatile by GCC instead of caching it.
- Add NtInitialUserProcessBuffer settings and validate/user them when launching smss.
- Use SePublicDefaultUnrestrictedSd for the root system link.
- Make enough space for the smss process parameters, there's 6 strings, not 4.
- Fix incorrect length of NtSystemRoot string.
- Disable SYSENTER on CPUs that don't support it.
- Detect and enable NX feature bit.
- Detect and enable DTS support.
- Implement Ki386EnableXMMIExceptions (the XMMI handler still needs to be done, however).
- Implement KiI386PentiumLockErrataFixup to work around the F00F bug.
- Implement KiIsNpxErrataPresent to detect the FDIV bug.
- Implement CPU Speed detection.
- Only setup Initial FX State if the CPU supports FXSR.
- Setup some more PCR fields during init.
- Use NX_SUPPORT_POLICY flags documented in ntddk.h
- Don't boot if CMPXCHG8B is not supported by the CPU. This is the same requirement as Windows.
- Don't overwrite all the PRCB locks in KiInitSpinlocks due to a stupid bug in the timer spinlock initialization.

svn path=/trunk/; revision=25503

14 years ago- Remove hack from KiSetPriorityThread. Now it doesn't dispatch threads anymore,...
Alex Ionescu [Wed, 17 Jan 2007 21:53:45 +0000 (21:53 +0000)]
- Remove hack from KiSetPriorityThread. Now it doesn't dispatch threads anymore, but this cleans up the IRQL/Dispatcher hack (it will still insert the higher priority thread in the right queue though, so there's not much visible change, just that priorities suck a bit more -- but this is temporary).
- Guard some more code with #ifdef NEW_SCHEDULER.
- Fix bugs in KiDispatchInterrupt.
- Use PRCB fields instead of PriorityListHead/PriorityListMask to reduces number of code changes between NEW_SCHEDULER and old.
- Fully implement KiDeferredReadyThread, but only for Uni-Processor systems. Supports unwait boosts as well as lock boosts. Not yet used.
- Implement NEW_SCHEDULER version of KiSwapThread and NtYieldExecution.

svn path=/trunk/; revision=25502

14 years ago[10 bug fixes]:
Alex Ionescu [Wed, 17 Jan 2007 20:44:37 +0000 (20:44 +0000)]
[10 bug fixes]:
- Simplify KiSelectReadyThread.
- Use ASSERT_IRQL_EQUAL instead of ASSERT_IRQL, because ASSERT_IRQL is braindead and doesn't actually do what the name proposes. This caused us to miss many critical bugs.
- Don't lower IRQL to PASSIVE_LEVEL after KeInsertQueueApc. This caused a call to KiExitDispatcher at PASSIVE, which is completely fucked. Also do the same fix in KeFreezeAllThreads and KeThawAllThreads.
- Implement code in KiDispatchInterrupt to switch to a new thread, but don't enable for now.
- Fix the KiMask32Array. One of the values was totally off and screwed up priority/affinity masks.
- Exit the dispatcher in KiAdjustQuantumThread. This wasn't done, thus causing a weird system state.
- Fix a bug in KiSetPriorityThread which wasn't properly checking the ProcessReadyQueue member and thus not applying priority changes.
- Fixup lock release and dispatcher exit in wait functions in the NoWait case. It was inverted and messed up, leading to system inconsistency.

svn path=/trunk/; revision=25501

14 years agofixing dymatic abi for ppc, and implement a dymatic abi even for ia32 converter
Magnus Olsen [Wed, 17 Jan 2007 20:25:46 +0000 (20:25 +0000)]
fixing dymatic abi for ppc, and implement a dymatic abi even for ia32 converter

svn path=/trunk/; revision=25500

14 years agofixing count how many reg we are using. so we can setup a frame pointer
Magnus Olsen [Wed, 17 Jan 2007 18:47:08 +0000 (18:47 +0000)]
fixing count how many reg we are using. so we can setup a frame pointer

svn path=/trunk/; revision=25499

14 years agoAdding m68k,arm,ia32,ppc to ppc convert.
Magnus Olsen [Wed, 17 Jan 2007 17:35:18 +0000 (17:35 +0000)]
Adding m68k,arm,ia32,ppc to ppc convert.
Remove the old disambler list from ppc to ppc
implement new ppc to ppc disambler that are allot better at end.

svn path=/trunk/; revision=25498

14 years agofixing a bug did write end code for frame pointer that we do not have
Magnus Olsen [Wed, 17 Jan 2007 16:23:39 +0000 (16:23 +0000)]
fixing a bug did write  end code for frame pointer that we do not have
tempary fix, we can not optimize code so good yet. so if it more that 4 register same time we are using own frame, ebx is working as our ebp for we already resvert  the ebp

svn path=/trunk/; revision=25497

14 years agofixing the ppc to ia32 break, use ebx as ebp if we got to many register.
Magnus Olsen [Wed, 17 Jan 2007 15:31:47 +0000 (15:31 +0000)]
fixing the ppc to ia32 break, use ebx as ebp if we got to many register.

svn path=/trunk/; revision=25496

14 years agoThis break the ppc disambler support and convert to ia32, temporary
Magnus Olsen [Wed, 17 Jan 2007 15:02:43 +0000 (15:02 +0000)]
This break the ppc disambler support and convert to ia32, temporary
I change the desgin lite to preopare the ia32 to ppc

svn path=/trunk/; revision=25495

14 years agoDelete 100 files which are completely unneeded in order to statically compile expat...
Aleksey Bragin [Wed, 17 Jan 2007 12:42:43 +0000 (12:42 +0000)]
Delete 100 files which are completely unneeded in order to statically compile expat library (full source code is located in the vendor branch).

svn path=/trunk/; revision=25494

14 years ago- Simplify KiSelectReadyThread.
Alex Ionescu [Wed, 17 Jan 2007 01:56:15 +0000 (01:56 +0000)]
- Simplify KiSelectReadyThread.
- Disable KiSetAffinityThread to do nothing else but change affinity instead of doing re-scheduling (temporary change).
- Cleanup KiQuantumEnd to prepare for new scheduler.
- Fix up a large bug in KeInsertQueueDpc which was making every DPC become a Threaded DPC due to a bad assignment-instead-of-compare.
- Copy KiSelectNextThread for new scheduler branch, without SMT support.
- Fix a bug in KiAdjustQuantumThread under new scheduler.
- Re-implement KiSetPriorityThread under new scheduler, leave hacks for current scheduler support.
- Remove old testing assert from KiExitDispatcher.

svn path=/trunk/; revision=25491

14 years ago[22 bug fixes]:
Alex Ionescu [Tue, 16 Jan 2007 20:49:40 +0000 (20:49 +0000)]
[22 bug fixes]:
- Make KiComputeNewPriority accept various priority adjuments instead of always assuming an increase of 1 priority level.
- Fix ASSERT in KeSetEventBoostPriority: API is valid *only* for Synchronization events, not notification ones.
- Use proper KiComputeNewPriority call in KeSetEventBoostPriority, since we're not adjusting by 1.
- Make sure the FreezeCount is also 0 in KeAlertResumeThread, before signalling the suspend semaphore.
- Simply alert-mode check in KeAlertThread.
- Don't exit the critical region in KeFreezeAllThreads, it needs to be held.
- Don't enter a critical region in KeThawAllThreads, it should already have been entered; release it after thawing is complete.
- Also change the list loop in these functions to always start with the first thread.
- Copy over boost-disable flag in KeStartThread.
- Don't acquire the dispatcher lock in KeTestAlertThread.
- Set the KernelStackResident flag to TRUE in KeInitThread.
- Fix KeSetIdealProcessorThread to check the CPU is valid on the system, not valid across all valid CPU numbers. Also fix it to compare affinity, not processor.
- Fix KeSetBasePriorityThread to properly call KiComputeNewPriority with an adjustment of 0, and then properly manually adjust with the delta between the new base priority and the old base priority.
- Also normalize the new priority if it's too low.
- Always set the priority decrement back to 0 when KeSetPriorityThread is called.
- Normalize the priority in KeSetPriorityThread if it falls too low.
- Fix process stack count check in KeTerminateThread.
- Acquire thread and PRCB lock in KiAdjustQuantumThread.
- Use KiComputeNewPriority in KiAdjustQuantumThread.
- Dispatch a new thread in KiAdjustQuantumThread to take into account the new scheduler settings.
- Thread priorities should make more sense now...

svn path=/trunk/; revision=25490

14 years agoFix difference in signedness warnings
Thomas Bluemel [Tue, 16 Jan 2007 18:55:06 +0000 (18:55 +0000)]
Fix difference in signedness warnings

svn path=/trunk/; revision=25489

14 years agoimprove cursor loading code
Ged Murphy [Tue, 16 Jan 2007 18:30:54 +0000 (18:30 +0000)]
improve cursor loading code

svn path=/trunk/; revision=25488

14 years ago- Reimplement Process/Thread/Image notification callbacks by using the new executive...
Alex Ionescu [Tue, 16 Jan 2007 15:09:53 +0000 (15:09 +0000)]
- Reimplement Process/Thread/Image notification callbacks by using the new executive lightweight callback implementation.
- Remove corresponding entry from kernel fun.

svn path=/trunk/; revision=25486

14 years ago- Implement ExCompareExchangeCallBack. The CallBack implementation is now ready for...
Alex Ionescu [Tue, 16 Jan 2007 14:20:19 +0000 (14:20 +0000)]
- Implement ExCompareExchangeCallBack. The CallBack implementation is now ready for testing.

svn path=/trunk/; revision=25485

14 years ago- Implement ExReferenceCallBackBlock and ExDereferenceCallBackBlock.
Alex Ionescu [Tue, 16 Jan 2007 07:20:16 +0000 (07:20 +0000)]
- Implement ExReferenceCallBackBlock and ExDereferenceCallBackBlock.
- Code is very similar to Ob* Fast Referencing, and the use of macros to encapsulate generic referencing should be done later. Essentially, Ob sticks ObRefs around FastRefs, while ExCallbacks sticks ExRundown around FastRefs.

svn path=/trunk/; revision=25484

14 years ago- Start partial implementation of Executive Lightweight Callbacks: ExAllocateCallBack...
Alex Ionescu [Tue, 16 Jan 2007 05:31:05 +0000 (05:31 +0000)]
- Start partial implementation of Executive Lightweight Callbacks: ExAllocateCallBack, ExInitializeCallBack, ExFreeCallBack, ExWaitForCallBacks, ExGetCallBackBlockRoutine, ExGetcallBackBlockContext, ExDoCallBack.
- Stub ExReferenceCallBackBlock and ExDereferenceCallBackBlock until I get the locking right.
- These callbacks are used by Cm as well as Ps inside Windows NT and combine the power of PushLocks, Rundown Protection and Fast Referencing to ensure callbacks only get called once and thread safely. Not yet used in ROS.

svn path=/trunk/; revision=25483

14 years ago- Large cleanup of exported callback implementation. It was my first code to ReactOS...
Alex Ionescu [Tue, 16 Jan 2007 04:16:31 +0000 (04:16 +0000)]
- Large cleanup of exported callback implementation. It was my first code to ReactOS and quite messy.
- Make code use standard NT structures.
- Fix object type initialization.
- Fix calls to ExCreatecallback during system initalization which were randomly overwriting memory.
- Fix ExREgisterCallback which was allocating only a pointer inside of the entire structure, also over-writing system memory.

svn path=/trunk/; revision=25482

14 years ago- Fix major bugs in the definition of _KTHREAD inside the NDK. I made some stupid...
Alex Ionescu [Tue, 16 Jan 2007 02:40:41 +0000 (02:40 +0000)]
- Fix major bugs in the definition of _KTHREAD inside the NDK. I made some stupid assumptions when reading the .pdb dump data. _KTHREAD should now be the right size and structure as Win 2003. (the reason this bug wasn't more evident was because we were using 1-byte packing and a "padding" field. this has now been removed).

svn path=/trunk/; revision=25481

14 years ago- Simplify KiWaitTest.
Alex Ionescu [Tue, 16 Jan 2007 02:24:19 +0000 (02:24 +0000)]
- Simplify KiWaitTest.
- Reformat some ke_x.h wait macros to use simpler/shorter variable names.

svn path=/trunk/; revision=25480

14 years ago- Fix insertion of special APC into APC delivery list.
Alex Ionescu [Tue, 16 Jan 2007 01:27:36 +0000 (01:27 +0000)]
- Fix insertion of special APC into APC delivery list.
- Re-identize some APC code (just formatting change).
- Detect APC during GateWait. Previous check scanned for DeferredReady, which is incorrect.
- Simplfy KeremovequeueApc to take advantage of the fact RemoveEntryList now returns whether the list is empty or not.

svn path=/trunk/; revision=25479