Commit graph

24366 commits

Author SHA1 Message Date
Alex Ionescu c28da2e61a - Fixup some kernel module debugging flags/settings from leftovers.
- Enable debugging during text-mode setup.
- Optimize KeSynhronizeExecution into assembly so we can avoid using EBP and have the fastest possible routine, since it is performance critical.
- 

svn path=/trunk/; revision=26167
2007-03-25 14:33:54 +00:00
Aleksey Bragin ea6edc618d More 26160-style fixes (mandatory addressing of PCR via FS register).
Alex & Dmitry - please check this, just in case.

svn path=/trunk/; revision=26166
2007-03-25 14:31:03 +00:00
Aleksey Bragin 51147f6c84 - Fix (and optimize) KeRemoveByKeyDeviceQueue() routine.
- Add DPRINTs for easier testing/debugging.

svn path=/trunk/; revision=26165
2007-03-25 13:23:30 +00:00
Magnus Olsen 34713168d4 Fixing smaller bugs in dx after some analyzing how vmware drv works.
1. vmware drv do not implement DrvGetDirectDrawInfo
   that show windows 2000/XP/2003 that mean u are not force to implement this api in the drv, only INDEX_DrvEnableDirectDraw and INDEX_DrvDisableDirectDraw are req to be implement in the driver. 

svn path=/trunk/; revision=26164
2007-03-25 10:53:05 +00:00
Ged Murphy 3907b65ae1 rearrange servman language files before sbs goes crazy ...
svn path=/trunk/; revision=26163
2007-03-24 14:55:57 +00:00
Ged Murphy aee5aaff2e ensure correct linkage. fixes build
svn path=/trunk/; revision=26162
2007-03-24 11:36:36 +00:00
Ged Murphy 00b0578558 make entry points unicode compliant
thanks to Colin Finck for noticing

svn path=/trunk/; revision=26161
2007-03-24 10:38:15 +00:00
Dmitry Gorbachev 6afc128ac7 Fix a bug.
svn path=/trunk/; revision=26160
2007-03-24 08:31:23 +00:00
Magnus Olsen 8d9781fe92 rewrite old NtGdiDdBlt I wrote so it match with the new caching of Dx pointers. Fixing varius problem in NtGdiDdCreateSurface. But some who the color are not being draw right with DdBlt work in Progress to figout why. But it works now partly yes dx start working. at kmode or syscall for real apps. or if they are using gdi32.dll or d3d8thk.dll
svn path=/trunk/; revision=26159
2007-03-23 17:07:49 +00:00
Thomas Bluemel 2ac1a08519 Fix bugs in GetBinaryType reported by songlei@qihoo.net
svn path=/trunk/; revision=26158
2007-03-23 15:34:34 +00:00
Magnus Olsen b54c8f6b9b Thank CodeMercenary (CodeMercenary at hotmail dot com) that provide ms ddk example driver code is wrong for how to write a graphice driver with dx support. he gave me input and provide the ddk example code is wrong.
Now I change the desgin after correct infomations
so it lead to even less overhead of code. 
 
 

svn path=/trunk/; revision=26157
2007-03-23 12:47:19 +00:00
Timo Kreuzer b7763201df fix build
svn path=/trunk/; revision=26156
2007-03-23 01:52:24 +00:00
Aleksey Bragin eebea09420 When initial setup is running it asks to press enter to format the drive, then
it displays the exact same message again before finally formatting the drive.

Thanks Colin_Finck.

See issue #1964 for more details.

svn path=/trunk/; revision=26155
2007-03-22 18:38:48 +00:00
Ged Murphy f279772add fix icon
svn path=/trunk/; revision=26154
2007-03-22 18:37:23 +00:00
Hervé Poussineau cc526db47b Send service name to pnproot driver (not used yet)
svn path=/trunk/; revision=26153
2007-03-22 17:13:14 +00:00
Aleksey Bragin fed3766e68 - Clear DPC request when delivering DPCs from the idle loop
(by Alex Ionescu).

svn path=/trunk/; revision=26152
2007-03-21 21:28:58 +00:00
Hervé Poussineau b3f670a641 Add svn:eol-style property
svn path=/trunk/; revision=26151
2007-03-21 20:32:38 +00:00
Hervé Poussineau 3b3c9641e4 Clear DO_DEVICE_INITIALIZING flag when device is initialized.
See issue #1790 for more details.

svn path=/trunk/; revision=26150
2007-03-21 18:13:32 +00:00
Johannes Anderwald f8cf12b484 - revert 26147
svn path=/trunk/; revision=26149
2007-03-21 17:16:26 +00:00
Aleksey Bragin 6276a365f6 - KiRosFrldrLpbToNtLpb(): Round up to the correct size in pages (I don't see a reason to provide a "cropped" size of modules).
- Change "FreeLDR BIAS hack" to a better one: measure sizes of all 3 codepages, and place them contiguously. Is this still required at all? On my system I didn't see a case when these tables are placed not contiguously by freeldr.
- This fixes early bugcheck in ExpInitNls().

svn path=/trunk/; revision=26148
2007-03-21 14:31:57 +00:00
Johannes Anderwald f24347940e - fix makefiles to depend on TOOLS_OUT_ value than directly hardcoding it to $(OUTPUT)
svn path=/trunk/; revision=26147
2007-03-20 20:12:10 +00:00
Aleksey Bragin 1f06d767be Fix MSVC compilation with NT4 ddk.
svn path=/trunk/; revision=26146
2007-03-20 19:09:55 +00:00
Dmitry Gorbachev 1f7253af8d Italian translation by Paolo Devoti.
svn path=/trunk/; revision=26145
2007-03-20 16:03:32 +00:00
Dmitry Gorbachev 7c4c2ff00b Italian translation by Paolo Devoti.
svn path=/trunk/; revision=26144
2007-03-20 16:02:01 +00:00
Dmitry Gorbachev bb0f048c4c Italian translation by Paolo Devoti (see bug #2027)
svn path=/trunk/; revision=26143
2007-03-20 16:01:19 +00:00
Alex Ionescu 6de9ae607d - Fix an important bug which was causing us to incorrectly set the DPC Stack in the Processor Region Control Block.
- Enable usage of the DPC Stack during DPCs.
- Enable usage of the DPC Stack during Fast System Calls and put back the correct push/pop code in FASTCALL_PROLOG.

svn path=/trunk/; revision=26142
2007-03-19 21:53:38 +00:00
Alex Ionescu 5037bca4df - Don't use the stack in FASTCALL_PROLOG. It messes up NPX checks (this is a bug, it shouldn't happen... related to DPC stack bug.)
- Zero out the trap/npx frame for new user-mode threads.
- Use KeI386FxsrPresent and not KEI386XMMIPresent when setting up the context for a new thread.

svn path=/trunk/; revision=26141
2007-03-19 19:43:50 +00:00
Alex Ionescu 71e781df12 - Fix NPX check in context switcher.
- Fix ObLogSecurityDescriptor.
- Fix some missing features in SeAccessCheck.

svn path=/trunk/; revision=26140
2007-03-19 19:05:39 +00:00
Alex Ionescu 1d2fd8ac1f - Change FASTCALL_PROLOG to use the stack to update FS, since we run in the DPC stack.
- Implement KeDisableInterrupts to disable interrupts and return whether or not they were enabled.
- Implement KiCheckTimerTable, in DBG mode, to validate the timer tables.
- Implement DPC Timeout detection, in DBG mode.
- Fix a bug in KiQuantumEnd which would've affected real-time threads.
- Fix some bugs in KiRetireDpcList to avoid issues should the DPC Queue Depth drop below 0, and solve some possible races.
- Fix KeRemoveQueueDpc only to enable interrupts if it was called with interrupts enabled.

svn path=/trunk/; revision=26139
2007-03-19 17:55:38 +00:00
Alex Ionescu 755994a386 - Change the way DR_TRAP_FIXUP and V86_TRAP_FIXUP work so that they can be combined into TRAP_FIXUPS, which will also handle ABIOS Fixups later.
- Modified the way TRAP_FIXUPS and XXX_PROLOGS work, so that the fixup code doesn't depend on numerical values anymore, but instead on unique labels for each function (kitd thus becomes kitd_a and kitd_t, for entry and exit).
- Now we can put the TRAP_FIXUPS for the Interrupt Template as part of the code, and at the end.
- Enable Dr Save/Restore in lots of places where it was previously disable.
- Implement Dr Save/Restore in V86 traps.

svn path=/trunk/; revision=26138
2007-03-19 05:56:27 +00:00
Alex Ionescu 32ca724933 - New ISR Timeout detection code.
- New Interrupt Storm detection code.
- Use PCR everywhere instead of fs:[ or [fs:. Significant improvements on UP builds because we use ds:[KPCRADDRESSS] for them.
- Ongoing work.

svn path=/trunk/; revision=26137
2007-03-19 03:29:29 +00:00
Eric Kohl 42c0ac532c Fix some dialog issues:
- Use AUTOCHECKBOXes instead of CHECKBOXes.
- Set the height of CHECKBOXes and PUSHBUTTONs to 14.
- Get rid of overlapping controls.
- Remove DS_FIXEDSYS dialog style.
- Move language-independent resources to the main .rc file.

svn path=/trunk/; revision=26136
2007-03-18 21:56:25 +00:00
Aleksey Bragin 0b926dc709 It's better to zero-initialize these variables before calling RtlQueryRegistryValues().
svn path=/trunk/; revision=26135
2007-03-18 21:55:21 +00:00
Sylvain Petreolle 1d40e5858d add KsInitializeDriver
svn path=/trunk/; revision=26134
2007-03-18 17:12:18 +00:00
Sylvain Petreolle 08dcc6be8a reenable mpu401_ks,
it builds since andrew added the needed includes

svn path=/trunk/; revision=26133
2007-03-18 15:51:37 +00:00
Sylvain Petreolle 8c680affb1 various fixes
sb16_ks now builds, but cannot be built

svn path=/trunk/; revision=26132
2007-03-18 15:38:04 +00:00
Hervé Poussineau 87bde6d032 Add a variable to change the name of the ReactOS directory on bootcd.
If a non default name is chosen, the cdrom is created, but it is unusable as freeldr doesn't find txtsetup.inf

svn path=/trunk/; revision=26131
2007-03-18 14:33:17 +00:00
Hervé Poussineau b0385e2a41 Fix SeAccessCheck to perform correct checks.
When returning STATUS_ACCESS_DENIED when required (currently disabled), ReactOS boots up to login screen on 3rd boot.
Now, we just need to fix callers.

svn path=/trunk/; revision=26130
2007-03-18 12:47:27 +00:00
Sylvain Petreolle 567f8a2469 add missing parenthesis
svn path=/trunk/; revision=26129
2007-03-18 11:39:27 +00:00
Hervé Poussineau 0423e310b2 Fix warnings
svn path=/trunk/; revision=26128
2007-03-18 00:27:02 +00:00
Hervé Poussineau 2d8e002457 Fix some warnings
svn path=/trunk/; revision=26127
2007-03-17 23:21:23 +00:00
Hervé Poussineau 889d81aa97 Disable PS/2 auxiliary port detection, which is too unreliable.
svn path=/trunk/; revision=26126
2007-03-17 21:25:00 +00:00
Hervé Poussineau 958ed9973b Add some missing definitions
svn path=/trunk/; revision=26125
2007-03-17 21:14:11 +00:00
Hervé Poussineau 4670093f37 Fix default data sent to RtlQueryRegistryValues
svn path=/trunk/; revision=26124
2007-03-17 20:53:05 +00:00
Magnus Olsen f06ffd93b8 fixing a gcc4 warring. why does gcc4 warning a uninsiated value but the value are being iniste in seh
svn path=/trunk/; revision=26123
2007-03-17 18:32:32 +00:00
Magnus Olsen 287d86906b Now we can call to the driver createsurface, but we fail create a surface. maybe I miss fill in some value ??
svn path=/trunk/; revision=26122
2007-03-17 15:15:27 +00:00
Andrew Greenwood d157ccaa15 Should compile now...
svn path=/trunk/; revision=26121
2007-03-17 13:27:50 +00:00
Andrew Greenwood f8ed50f1f4 A few header files I forgot to commit last time. Sorry!
svn path=/trunk/; revision=26120
2007-03-17 13:21:33 +00:00
Dmitry Gorbachev f4f6d1b7e2 Fix my bad fix.
svn path=/trunk/; revision=26119
2007-03-17 08:30:26 +00:00
Magnus Olsen 566a0ec7e9 small typo in DdCreateSurface
svn path=/trunk/; revision=26118
2007-03-16 17:04:53 +00:00