Commit graph

23872 commits

Author SHA1 Message Date
Maarten Bosma
88b9f31e3a Merge xml changes to 0.3.1 branch.
svn path=/branches/ros-branch-0_3_1/; revision=25554
2007-01-21 15:12:00 +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
Aleksey Bragin
7f1c973339 Merge 25454, 25455, 25457, 25458.
svn path=/branches/ros-branch-0_3_1/; revision=25547
2007-01-20 15:29:52 +00:00
Aleksey Bragin
60f76ba979 Merge 25429:25431, 25437, 25441:25443.
svn path=/branches/ros-branch-0_3_1/; revision=25546
2007-01-20 15:15:54 +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
Christoph von Wittich
7f361aca5b fix some gcc 4.2 warnings
svn path=/trunk/; revision=25529
2007-01-19 10:14:29 +00:00
Christoph von Wittich
a356a76c21 fix some gcc 4.2 compilation problems and warnings
svn path=/trunk/; revision=25528
2007-01-19 09:26:20 +00:00
Magnus Olsen
fa8f26e7c6 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
2007-01-19 08:20:42 +00:00
Thomas Bluemel
4f8fd087f7 Fix compilation (second attempt, too many local changes to keep track of)
svn path=/trunk/; revision=25526
2007-01-19 01:06:25 +00:00
Thomas Bluemel
f0b7c5e2d6 Fix compilation
svn path=/trunk/; revision=25525
2007-01-19 01:05:44 +00:00
Christoph von Wittich
d5a1f83701 fix some warnings (gcc 4.2 on Linux x64)
svn path=/trunk/; revision=25524
2007-01-19 01:00:06 +00:00
Thomas Bluemel
ff8132912c Fix freeing memory
svn path=/trunk/; revision=25523
2007-01-19 00:23:48 +00:00
Thomas Bluemel
0c3e4dc99b Move the "Computer Name" page to netid.dll
svn path=/trunk/; revision=25522
2007-01-19 00:09:21 +00:00
Thomas Bluemel
717f760ac7 set eol-style to native
svn path=/trunk/; revision=25521
2007-01-18 23:42:21 +00:00
Andrew Greenwood
8a64d7ef61 PC speaker MIDI driver (see README.TXT for info)
Tested on Windows XP but should be compatible with ReactOS


svn path=/trunk/; revision=25520
2007-01-18 23:26:30 +00:00
Johannes Anderwald
f8edfc8d99 - forgot these changes in my local svn
- generating dependency map works
- results can be viewed with XSL capable browser

svn path=/trunk/; revision=25519
2007-01-18 22:37:10 +00:00
Magnus Olsen
0cb4e210e1 Fixing another bug in converting
PPC 
stwu r1,-32(r1) 

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

svn path=/trunk/; revision=25518
2007-01-18 22:09:08 +00:00
Magnus Olsen
a286bd796f 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
2007-01-18 21:35:48 +00:00
Thomas Bluemel
9ea6afafc7 Merge 3 STATICs together
svn path=/trunk/; revision=25516
2007-01-18 21:09:56 +00:00
Johannes Anderwald
62b03bfff8 - dutch translation by Eric Janssen (janssuhhh@gmail.com)
See issue #1989 for more details.

svn path=/trunk/; revision=25515
2007-01-18 20:22:56 +00:00
Magnus Olsen
36a8eccf27 Implement disambler for stwu, left todo add it to the Converter
svn path=/trunk/; revision=25514
2007-01-18 19:33:48 +00:00
Christoph von Wittich
4e16032857 fix some warnings
svn path=/trunk/; revision=25513
2007-01-18 17:12:49 +00:00
Thomas Bluemel
bdce0f47d1 Use comctl32's syslink control, no need to reinvent the wheel
svn path=/trunk/; revision=25512
2007-01-18 16:37:30 +00:00
Magnus Olsen
e6cfb666ca 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
2007-01-18 15:40:37 +00:00
James Tabor
fd1467e3a2 Add Arc.c to win32k. See gdi32 painting.c for more info.
svn path=/trunk/; revision=25508
2007-01-18 13:56:58 +00:00
Magnus Olsen
48cd2b3e75 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
2007-01-18 13:43:17 +00:00
Magnus Olsen
4da115c6b5 Adding a opcode list, which opcode we are supportin convert from
svn path=/trunk/; revision=25506
2007-01-18 12:04:24 +00:00
Sylvain Petreolle
d245564623 fix gcc4 build
svn path=/trunk/; revision=25505
2007-01-18 11:13:43 +00:00
Alex Ionescu
9522e0a02b [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
2007-01-18 09:44:49 +00:00
Alex Ionescu
ccee43a360 - 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
2007-01-18 06:23:14 +00:00
Alex Ionescu
8be76ffcb3 - 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
2007-01-17 21:53:45 +00:00
Alex Ionescu
a04cac242c [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
2007-01-17 20:44:37 +00:00
Magnus Olsen
22033f60ea fixing dymatic abi for ppc, and implement a dymatic abi even for ia32 converter
svn path=/trunk/; revision=25500
2007-01-17 20:25:46 +00:00