Maarten Bosma [Tue, 12 Dec 2006 17:51:50 +0000 (17:51 +0000)]
Make it a compile time choice, whether you want to use a clipper or not, because our ddraw does not support it yet.
svn path=/trunk/; revision=25130
Aleksey Bragin [Tue, 12 Dec 2006 12:18:17 +0000 (12:18 +0000)]
ChangeDisplaySettingsEx() can be called with NULL DeviceName. In this case, we should look it up, instead of BSODing.
Right now, this case is fixed by substituting the value to a hardcoded one "\\.\DISPLAY1" in case of NULL and call is made to store the values in registry.
svn path=/trunk/; revision=25129
Johannes Anderwald [Tue, 12 Dec 2006 07:59:45 +0000 (07:59 +0000)]
set svn:eolstyle native
svn path=/trunk/; revision=25128
Sylvain Petreolle [Mon, 11 Dec 2006 22:41:37 +0000 (22:41 +0000)]
add french translation to ipconfig
svn path=/trunk/; revision=25127
Sylvain Petreolle [Mon, 11 Dec 2006 18:04:02 +0000 (18:04 +0000)]
unicode build fixes
svn path=/trunk/; revision=25126
Aleksey Bragin [Mon, 11 Dec 2006 17:31:04 +0000 (17:31 +0000)]
- Assign a proper InterfaceType to the resource descriptor. Fixes assert when using VMWare video driver.
Approved by hpoussin.
svn path=/trunk/; revision=25125
Peter Ward [Sun, 10 Dec 2006 22:39:21 +0000 (22:39 +0000)]
- Fix GCC 4.1.2 build. Patch by Usurp.
svn path=/trunk/; revision=25122
Peter Ward [Sun, 10 Dec 2006 22:26:01 +0000 (22:26 +0000)]
Fix compilation \ -> /.
svn path=/trunk/; revision=25121
Alex Ionescu [Sun, 10 Dec 2006 21:21:08 +0000 (21:21 +0000)]
- Add missing header.
svn path=/trunk/; revision=25119
Alex Ionescu [Sun, 10 Dec 2006 18:40:30 +0000 (18:40 +0000)]
- Fix SleepEx.
- Put volatile statements in EX_RUNDOWN_REF, IRP, DEVICE_OBJECT, ERESOURCE, FILE_OBJECT, IO_REMOVE_LOCK, WORK_QUEUE_ITEM where required (thanks to Microsoft's changes in the WDK to mark the fields properly).
- Update FILE_OBJECT definition.
- Add some asserts to some I/O functions.
- Add stub support for File Objects created by XP+ Drivers which have File Object Extensions.
- Add some fixes to IopDeleteFile, including proper reference counting for the DO and VPB, as well as cleanup when the file is closed without a handle.
- Fix a bug in IopSecurityFile.
- Queue and unqueue IRPs in all I/O functions.
- Fully support IRP cancellation now.
- Fix critical bugs in NtDeviceIoControlFile and NtDeviceFsControlFile which were causing double queueing of IRPs and freeing of invalid memory, as well as invalid paramter checking for user-mode buffers.
- Add exhaustive validation checks to IoCreateFile, add more failure cases, and validate the EA buffer. Also support IO_ATTACH_DEVICE_API flag.
- Implement IoCreateStreamFileObjectEx and IoCreateStreamFileObjectLite and fix several bugs in the original implementation of IoCreateStreamFileObject.
- Fix a bug in RtlRaiseException.
- Update Io*ShareAccess routines to support XP+ style semantics related to special File Object flags which disable their use.
- Add validation to all Query/Set routines so that information clasess, lengths, buffers and alignment are properly checked.
- Also add an array for the proper acess rights that each query/set operation requires.
- Check backup/restore privileges during I/O File operations.
- Check traverse access during I/O File Operations.
- Check access privileges to the device during I/O file operations.
- Rename IopReferenceDeviceObject and also verify if an exclusive DO is trying to be invalidly opened.
- Support various extra security checks during I/O File/Device Parse Routine.
- Fix a bug during IopCleanupIrp so that we don't dereference the File OBject if this was a create operation.
- Fix some bogus asserts in IofCompleteRequest, and save the IRP Flags before signalling it's event, since the driver might've freed it behind our back.
- Fix a large bug in ObInsertObject which affected the insert of unnamed objects with forced security options (Such as process/threads).
- Fix the creation of the Process/Thread/Job Obejct Types to that security information is forced.
- Remove "Fix PS!!!" messages since the bug is now fixed and these objects now get proper security descriptors.
- Fix another bug in ObInsertObjet which wasn't properly validating user-mode objects and always assumed kernel mode.
- Silence multiple trace/checkpoint messages that have accumulated throughout time for various debugging purposes.
svn path=/trunk/; revision=25118
Magnus Olsen [Sun, 10 Dec 2006 17:39:01 +0000 (17:39 +0000)]
commit the patch from bug 1874 even it does not use the RDMSR and WRMSR measure methood, we need use the RDMSR and WRMSR for dual core and CPU support it see Intel documentations AP-485, who u should do it. The patch is from HTO Bugfix detections of RTSC support for single and dual core by me, adding check if the CPU support RDMSR and WRMSR and send a true or false value to GetCpuSpeed, so we known which method we should use. HTO patch should be use when it is false. other wise we should use the RDMSR and WRMSR measure method
See issue #1874 for more details.
svn path=/trunk/; revision=25117
Andrew Greenwood [Sun, 10 Dec 2006 15:12:12 +0000 (15:12 +0000)]
Stubbing of Kernel Streaming DRM module
svn path=/trunk/; revision=25115
Andrew Greenwood [Sun, 10 Dec 2006 15:09:46 +0000 (15:09 +0000)]
Further stubbing of Kernel Streaming APIs:
KS.SYS PORTCLS.SYS
svn path=/trunk/; revision=25114
Magnus Olsen [Sun, 10 Dec 2006 13:32:35 +0000 (13:32 +0000)]
Fixed all hack in createsurface, we still have some bugs and do not create surface as we should.
but we lest create a single primary surface.
svn path=/trunk/; revision=25113
Magnus Olsen [Sun, 10 Dec 2006 10:44:39 +0000 (10:44 +0000)]
fixed some check in createsurface so user can not easy crash it.
svn path=/trunk/; revision=25112
Magnus Olsen [Sun, 10 Dec 2006 08:11:08 +0000 (08:11 +0000)]
Remove more of createsurface hack for primary surface.
svn path=/trunk/; revision=25111
Magnus Olsen [Sun, 10 Dec 2006 07:39:20 +0000 (07:39 +0000)]
small optimzing of drawing line by George Veskov (jkxxster at gmail dot com) irc nick jkxx
svn path=/trunk/; revision=25110
Peter Ward [Sun, 10 Dec 2006 05:43:49 +0000 (05:43 +0000)]
- Revert 25108, requested by silverblade.
svn path=/trunk/; revision=25109
Andrew Greenwood [Sun, 10 Dec 2006 04:16:35 +0000 (04:16 +0000)]
Further stubbing of Kernel Streaming APIs
(corrective path fix to follow...)
svn path=/trunk/; revision=25108
Andrew Greenwood [Sun, 10 Dec 2006 04:04:03 +0000 (04:04 +0000)]
These files aren't complete yet, but this will put them at least in
their right place...
svn path=/trunk/; revision=25107
Magnus Olsen [Sat, 9 Dec 2006 21:41:42 +0000 (21:41 +0000)]
remove most of the hack in createsurface
svn path=/trunk/; revision=25105
Magnus Olsen [Sat, 9 Dec 2006 18:31:31 +0000 (18:31 +0000)]
Test code to create surface. it is a big hack to create a primare surface.
but we success create a primary surface. with this hack.
svn path=/trunk/; revision=25104
Eric Kohl [Sat, 9 Dec 2006 15:31:06 +0000 (15:31 +0000)]
Don't show a wallpapers file extension.
svn path=/trunk/; revision=25102
Johannes Anderwald [Sat, 9 Dec 2006 14:43:02 +0000 (14:43 +0000)]
- only control panel applet should be started with rundll32.exe, other modules can be started w/o it
svn path=/trunk/; revision=25101
Christoph von Wittich [Sat, 9 Dec 2006 13:47:38 +0000 (13:47 +0000)]
fix version information display when using yasm
svn path=/trunk/; revision=25100
Magnus Olsen [Sat, 9 Dec 2006 12:11:09 +0000 (12:11 +0000)]
revert the 25082 it cause unknown regress.
I did not notice it becose I did have a crashed dx hal interface.
svn path=/trunk/; revision=25099
Johannes Anderwald [Sat, 9 Dec 2006 09:07:15 +0000 (09:07 +0000)]
- various msvc fixes
* inline -> __inline
* use msvc generated interface name
* fix duplicate definition of ElfrRegisterEventSourceA -> ElfrRegisterEventSourceW
* fix memory leak in ElfrOpenELA
svn path=/trunk/; revision=25097
Christoph von Wittich [Fri, 8 Dec 2006 18:41:20 +0000 (18:41 +0000)]
-display version information for compiler, binutils and nasm
svn path=/trunk/; revision=25092
Johannes Anderwald [Fri, 8 Dec 2006 12:47:58 +0000 (12:47 +0000)]
- generated client header/source files get _c postfix
- generated server header/source files get _s postfix
- only generate code for the required module
Note: due to an bug in VS2005 build tool lib tool does only get part of generated object filename i.e. pnp_c.obj becomes pnp.obj. As a result the lib tool cannot link. However we need to generate unique obj files so that client / server project always compiles the requires source files
svn path=/trunk/; revision=25091
Johannes Anderwald [Fri, 8 Dec 2006 12:24:40 +0000 (12:24 +0000)]
- silence output
svn path=/trunk/; revision=25090
Johannes Anderwald [Fri, 8 Dec 2006 11:50:56 +0000 (11:50 +0000)]
- include path to generated idl files for dependant projects
svn path=/trunk/; revision=25089
Christoph von Wittich [Fri, 8 Dec 2006 11:15:48 +0000 (11:15 +0000)]
fix unused variable warning in release build
svn path=/trunk/; revision=25088
Johannes Anderwald [Fri, 8 Dec 2006 10:53:14 +0000 (10:53 +0000)]
- add missing source header
svn path=/trunk/; revision=25087
Christoph von Wittich [Fri, 8 Dec 2006 02:01:34 +0000 (02:01 +0000)]
updated buslogic driver to version 1.2.0.4
See issue #1891 for more details.
svn path=/trunk/; revision=25086
Christoph von Wittich [Fri, 8 Dec 2006 01:06:10 +0000 (01:06 +0000)]
fix a typo in ObFindObject patch by hto
See issue #1861 for more details.
svn path=/trunk/; revision=25085
Christoph von Wittich [Fri, 8 Dec 2006 01:00:51 +0000 (01:00 +0000)]
-new german language file
-some fixed for the english language file
patch by Colin Finck
See issue #1900 for more details.
svn path=/trunk/; revision=25084
Christoph von Wittich [Fri, 8 Dec 2006 00:50:58 +0000 (00:50 +0000)]
fix gcc 4.1.2 build patch by Coviti
See issue #1897 for more details.
svn path=/trunk/; revision=25083
Magnus Olsen [Thu, 7 Dec 2006 20:48:00 +0000 (20:48 +0000)]
Adding more setup infromations for createsurface. (does not working yet)
svn path=/trunk/; revision=25082
Magnus Olsen [Thu, 7 Dec 2006 18:27:16 +0000 (18:27 +0000)]
start config up createsurface right to create surface but we are not setting all value right yet.
svn path=/trunk/; revision=25081
Magnus Olsen [Thu, 7 Dec 2006 16:46:33 +0000 (16:46 +0000)]
start writing on the createsurface code, current does not setup the interface right yet so we do not doing the callbacks yet
svn path=/trunk/; revision=25080
Peter Ward [Thu, 7 Dec 2006 16:43:30 +0000 (16:43 +0000)]
- Fix for "pice.sys gets loaded unexpectedly".
- Patch by Usurp.
- See bug http://www.reactos.org/bugzilla/show_bug.cgi?id=1898.
svn path=/trunk/; revision=25079
Johannes Anderwald [Thu, 7 Dec 2006 08:54:16 +0000 (08:54 +0000)]
- fix a few warnings
- make it compilable with msvc and gcc4.1.1
svn path=/trunk/; revision=25078
Aleksey Bragin [Wed, 6 Dec 2006 20:55:42 +0000 (20:55 +0000)]
Add KdChangeOption() stub
svn path=/trunk/; revision=25077
Magnus Olsen [Wed, 6 Dec 2006 19:54:53 +0000 (19:54 +0000)]
did forget to exlucde the ddraw.rbuild. sorry I did break the build
svn path=/trunk/; revision=25076
Magnus Olsen [Wed, 6 Dec 2006 19:53:43 +0000 (19:53 +0000)]
fixed a pointer I forget setup. the This->lcl->lpDDCB was not set. and that mean we did not use any interface. we are using This->lcl->lpDDCB in the iface calls
svn path=/trunk/; revision=25075
Christoph von Wittich [Wed, 6 Dec 2006 16:22:32 +0000 (16:22 +0000)]
set minimum req. gcc version to 3.4.2
svn path=/trunk/; revision=25074
Aleksey Bragin [Wed, 6 Dec 2006 13:29:21 +0000 (13:29 +0000)]
- vfat now checks what CcCopyRead() returned, and return that value to the caller in case of failure
- Added a check for successful call to ReadCacheSegmentChain() in CC
See issue #1855 for more details.
svn path=/trunk/; revision=25073
Alex Ionescu [Tue, 5 Dec 2006 18:33:03 +0000 (18:33 +0000)]
- Revert 25070: NO.
- Please look what I did inside FreeLdr. I called this function perfectly without needing to modify how it works. It's what the AdditionalBias parameter is there for...
svn path=/trunk/; revision=25071
Aleksey Bragin [Tue, 5 Dec 2006 18:28:08 +0000 (18:28 +0000)]
A necessary hack for PE relocation within physical address space (in FreeLdr).
Using it removes code duplication from FreeLdr / winldr.
To get rid of this hack, either freeldr should be fully switched to virtual paged mode (which is not good) or code must be duplicated inside freeldr.
svn path=/trunk/; revision=25070
Johannes Anderwald [Tue, 5 Dec 2006 11:27:45 +0000 (11:27 +0000)]
- fix build with gcc 4.1.0
svn path=/trunk/; revision=25069
Christoph von Wittich [Mon, 4 Dec 2006 16:46:52 +0000 (16:46 +0000)]
-revert janderwalds change until because it breaks the gcc 4.x build
svn path=/trunk/; revision=25065
Christoph von Wittich [Mon, 4 Dec 2006 16:34:26 +0000 (16:34 +0000)]
fix ks.rbuild
svn path=/trunk/; revision=25064
Michael Steil [Mon, 4 Dec 2006 15:33:06 +0000 (15:33 +0000)]
ReactOS Intel Mac compatibility commits, part 2/2
== LBA Functionality BIOS Bug ==
When the BIOS is asked whether it supports INT 13 extensions, it will answer yes if the device is a hard disk, but it will pretend that even the function to ask about this functionality is unsupported if asked about a CD drive. This is similar to what is documented in the code already: Some BIOSes return "doesn't support INT 13 extensions" for CDs.
Code has been added to use INT 13 extensions (and therefore LBA read as opposed to CHS) even if the BIOS claims this is unsupported, if the device is a CD-ROM. The check for the drive type is done by comparing with 0x90: If the device number is 0x90 or above, it's a CD drive. (On Insyde's BIOS, it's 0x90, on most others, it's 0x9F).
(Ironically, Insyde's BIOS cannot even do CHS on CDs, so if the bootloader correctly asks for LBA support, it will get a "no" and will fail when trying to do CHS: When querying the max. CHS values, the BIOS returns 0 sectors per track, which will make conversions from LBA to CHS impossible.)
== LBA Read BIOS Bug ==
When trying to read from CD using the LBA function INT 13/42, the BIOS function will return as it is supposed to, with CF and AH cleared, but with an unchanged buffer. This is because freeldr passes a "disk address packets" that structure contains an extra 64 bit value at the end and is therefore 24 bytes long instead of 16. This is perfectly fine, and a BIOS should ignore any extra data in the structure, but Insyde's BIOS, which doesn't support the extra field (and thus the EDD-3.0 standard) just ignores the complete task and returns in this case.
The extra field has been removed from the structure in freeldr, as it is not used anyway. The structure is now 16 bytes long.
svn path=/trunk/; revision=25063
Michael Steil [Mon, 4 Dec 2006 15:00:11 +0000 (15:00 +0000)]
ReactOS Intel Mac compatibility commits, part 1/2, by Michael Steil.
== A20 Gate and the Keyboard Controller ==
In order to turn on the A20 gate, the keyboard controller has to be emptied. This is done in freeldr by reading bytes until the keyboard controller signals it's empty. Intel Macs don't have PS/2 keyboard controller and the status register always reads back 0xFF, so the "there is data" bit will never be cleared. (The same problem has been in GRUB as well as in Darwin's BIOS loader.)
Added code that doesn't bother to clear the keyboard buffer if the status port reads back 0xFF.
== Serial Port BIOS Bug ==
Insyde's BIOS reports that there is a COM1 serial port at 0x3F8 (as stored in 0040:0000 in memory), but there is none in Intel Macs, so freeldr spins infinitely while trying to empty the serial port's buffer.
Added code that makes sure the loop only gets executed up to 200 times
svn path=/trunk/; revision=25062
Peter Ward [Mon, 4 Dec 2006 01:50:47 +0000 (01:50 +0000)]
- Small compilation fix for roshttpd.
svn path=/trunk/; revision=25060
Johannes Anderwald [Sun, 3 Dec 2006 23:35:02 +0000 (23:35 +0000)]
- give roshttpd a rbuild file
- include it in build
- fix building with msvc
svn path=/trunk/; revision=25059
Johannes Anderwald [Sun, 3 Dec 2006 22:43:22 +0000 (22:43 +0000)]
-fix compiling with msvc
svn path=/trunk/; revision=25058
Johannes Anderwald [Sun, 3 Dec 2006 22:29:07 +0000 (22:29 +0000)]
- fix compiling with msvc
- replace getopt with simple parse routine
svn path=/trunk/; revision=25057
Johannes Anderwald [Sun, 3 Dec 2006 21:51:50 +0000 (21:51 +0000)]
- fix some warnings when compiling with msvc
svn path=/trunk/; revision=25056
Johannes Anderwald [Sun, 3 Dec 2006 21:37:38 +0000 (21:37 +0000)]
- remove unused make files
svn path=/trunk/; revision=25055
Johannes Anderwald [Sun, 3 Dec 2006 21:33:17 +0000 (21:33 +0000)]
- fix msvc compile problems
svn path=/trunk/; revision=25054
Johannes Anderwald [Sun, 3 Dec 2006 21:19:23 +0000 (21:19 +0000)]
- move undocumented constants to more appropiate location
- thnx to Alex_Ionescu
svn path=/trunk/; revision=25053
Andrew Greenwood [Sun, 3 Dec 2006 21:11:56 +0000 (21:11 +0000)]
New stubbing of KS (Kernel Streaming) and associated header files.
Updated README.
svn path=/trunk/; revision=25052
Magnus Olsen [Sun, 3 Dec 2006 21:11:40 +0000 (21:11 +0000)]
started hacked SetCooperativeLevel and ReCreateDirectDraw code. we need it if hwnd are not null we need recreate the HAL and HEL interface for we already inistate it early.
svn path=/trunk/; revision=25051
Johannes Anderwald [Sun, 3 Dec 2006 21:09:04 +0000 (21:09 +0000)]
- default to __cdecl convention for gui / console apps
svn path=/trunk/; revision=25050
Aleksey Bragin [Sun, 3 Dec 2006 21:06:03 +0000 (21:06 +0000)]
[AUDIT]
Change name everywhere back to Ariadne because real person could not be contacted. Non-working email address removed.
If this person doesn't contact me before finish of the audit, the copyright will be transferred to ReactOS Foundation.
svn path=/trunk/; revision=25049
Andrew Greenwood [Sun, 3 Dec 2006 20:59:52 +0000 (20:59 +0000)]
Kernel Streaming cleanup - replacing with new stubs shortly!
svn path=/trunk/; revision=25048
Johannes Anderwald [Sun, 3 Dec 2006 20:48:25 +0000 (20:48 +0000)]
-fix compiling with msvc
svn path=/trunk/; revision=25047
Johannes Anderwald [Sun, 3 Dec 2006 20:43:21 +0000 (20:43 +0000)]
- include gettype in build process
- add missing dependency
svn path=/trunk/; revision=25046
Johannes Anderwald [Sun, 3 Dec 2006 20:36:53 +0000 (20:36 +0000)]
- give getfirefox a WinMain it deserves
- theres no reason to include NDK for it
- fix a bug in dlOnProgress while debugging it
svn path=/trunk/; revision=25045
Johannes Anderwald [Sun, 3 Dec 2006 20:17:55 +0000 (20:17 +0000)]
- fix some warnings when compiling with msvc
svn path=/trunk/; revision=25044
Johannes Anderwald [Sun, 3 Dec 2006 20:04:09 +0000 (20:04 +0000)]
- fix correct app type
svn path=/trunk/; revision=25043
Johannes Anderwald [Sun, 3 Dec 2006 19:52:19 +0000 (19:52 +0000)]
- fix warning
- fix svn properties
svn path=/trunk/; revision=25042
Johannes Anderwald [Sun, 3 Dec 2006 19:17:19 +0000 (19:17 +0000)]
- update readme
See issue #1890 for more details.
svn path=/trunk/; revision=25041
Johannes Anderwald [Sun, 3 Dec 2006 19:16:30 +0000 (19:16 +0000)]
- update readme
See issue #1890 for more details.
svn path=/trunk/; revision=25040
Magnus Olsen [Sun, 3 Dec 2006 18:53:05 +0000 (18:53 +0000)]
Fixed HALDD been setup right.
svn path=/trunk/; revision=25039
Johannes Anderwald [Sun, 3 Dec 2006 18:48:29 +0000 (18:48 +0000)]
- New changes for the Greek Keyboard layout
- by Apostolos Alexiadis
- fix some formating issues
See issue #1831 for more details.
svn path=/trunk/; revision=25038
Alex Ionescu [Sun, 3 Dec 2006 18:04:32 +0000 (18:04 +0000)]
- Fix IopSecurityFile to send the IRP to the right device.
- Fix IoSetInformation to send the IRP to the right device.
- After the major fix in 24996, the functions that had been written to work with the I/O bug stopped working (by sending the IRP to the wrong device object, which, due to the bug was the ""right"" object), this is now fixed and the bootcd works again.
svn path=/trunk/; revision=25037
Magnus Olsen [Sun, 3 Dec 2006 17:54:25 +0000 (17:54 +0000)]
fixed so we return almost same flags in DD->GBL->dwFlags left todo is the DDRAWI_DRIVERINFO2
svn path=/trunk/; revision=25036
Magnus Olsen [Sun, 3 Dec 2006 15:42:12 +0000 (15:42 +0000)]
fixed a refer counter that was zero out, but it should be have set to 1
svn path=/trunk/; revision=25035
Magnus Olsen [Sun, 3 Dec 2006 15:23:44 +0000 (15:23 +0000)]
Fixed the initate process so it do not call to StartDirectDrawHel when GUID DDCREATE_HARDWAREONLY
Fixed the initate process so it do not call to StartDirectDrawHal when GUID DDCREATE_EMLATIONONLY
svn path=/trunk/; revision=25034
Aleksey Bragin [Sun, 3 Dec 2006 11:13:05 +0000 (11:13 +0000)]
NCI interface auditing, sysfuncs.lst.
- Fixed NtCompressKey() and NtQuerySystemEnvironmentValueEx() prototypes (they were incorrectly declared/defined, but had a correct number of params in sysfuncs.lst)
- Fixed incorrect number of parameters specified in sysfuncs.lst for NtLoadKeyEx(), NtQueryOpenSubKeysEx(), NtTranslateFilePath()
sysfuncs.lst now perfectly matches all functions definitions.
svn path=/trunk/; revision=25029
Magnus Olsen [Sun, 3 Dec 2006 09:12:35 +0000 (09:12 +0000)]
Fixed so we can optain the HAL again.
Do not trust on ddraw value yo get blindy. it will rest the value you need to optian the HAL and you can not spy on it so easy then.
svn path=/trunk/; revision=25027
Alex Ionescu [Sun, 3 Dec 2006 08:08:08 +0000 (08:08 +0000)]
- Clear capacity data buffer before reading it to avoid 0xCCCCCCCC values and manually set failure code if nobody filled it in (a hack, but I don't understand our pre-Nixon-era storage stack to "properly" fix it, so this is good enough and kills off the 0xCCCCCCCC byte non-paged pool allocations.
svn path=/trunk/; revision=25026
Alex Ionescu [Sun, 3 Dec 2006 07:34:03 +0000 (07:34 +0000)]
- Enable V86/DR save in HAL Clock Interrupt (and fix build).
- Add debug message to fs_rec driver to analyse why it's trying to allocate 4GB of non paged memory.
svn path=/trunk/; revision=25025
Magnus Olsen [Sun, 3 Dec 2006 00:17:56 +0000 (00:17 +0000)]
fixed a werid crash do not initate the member dwObsolete1 in LPDDRAWI_DIRECTDRAW_LCL
svn path=/trunk/; revision=25022
Magnus Olsen [Sat, 2 Dec 2006 23:04:11 +0000 (23:04 +0000)]
bug fixed some more info getting same as ms ddraw when you execute DirectDrawCreateEx
fixed some comment in main.c, Comment why memory does not being fill to zero in lest windows 2000 after you play with directdraw.
svn path=/trunk/; revision=25021
Alex Ionescu [Sat, 2 Dec 2006 20:49:56 +0000 (20:49 +0000)]
- Implement V86 trap fixup during traps and interrupts.
- Implement DR register save/restore during traps, interrupts and system calls.
- Remove respective entry from krnlfun.c.
svn path=/trunk/; revision=25020
Magnus Olsen [Sat, 2 Dec 2006 19:26:55 +0000 (19:26 +0000)]
fixed so only NULL and DDCREATE_HARDWAREONLY are accpect when you linking two directdraw interface.
svn path=/trunk/; revision=25019
Magnus Olsen [Sat, 2 Dec 2006 18:59:05 +0000 (18:59 +0000)]
fixed follow bugs
1. Fixed memory crash bug for linking two directdraw interface
2. Fixed meoory alloc does not being overwrite when it being linked
svn path=/trunk/; revision=25018
Magnus Olsen [Sat, 2 Dec 2006 16:57:21 +0000 (16:57 +0000)]
Fixed follow bug Create_DirectDraw
1. did not set the DDRAWILCL_DIRECTDRAW7 to This->lpLcl->dwLocalFlags
2. did not initate the This->lpLcl->dwLocalRefCnt to 0 and Main_DDrawSurface_AddRef did wrong count then
svn path=/trunk/; revision=25017
Magnus Olsen [Sat, 2 Dec 2006 13:37:55 +0000 (13:37 +0000)]
fixed partly linking with other directdraw interface, but we still overwrite some member and crash it, when we doing a link.
svn path=/trunk/; revision=25016
Magnus Olsen [Sat, 2 Dec 2006 10:27:56 +0000 (10:27 +0000)]
adding check if it is IID_IDirectDraw7 on right place and learn it is lpDD->QueryInterface that optain the d3d interface.
svn path=/trunk/; revision=25015
Magnus Olsen [Sat, 2 Dec 2006 10:20:33 +0000 (10:20 +0000)]
remove trunk stuff. for it was wine idea, if you reading msdn and test ms ddraw you can not use other interface that IID_IDirectDraw7
but wine allown you use older IID interface. But It will be hell to support DirectX 1-6 IID_IDirectDraw, IID_IDirectDraw2, IID_IDirectDraw4 so we doing like microsoft kill it. and this check can be use to detect if it wine ddraw or not. like test if other that IID_IDirectDraw7 are vaild.
svn path=/trunk/; revision=25014
Magnus Olsen [Sat, 2 Dec 2006 08:30:16 +0000 (08:30 +0000)]
Adding two new debuger macro and debocument each debug macro I am using in windows and why you should use one of them
with time the debug macro will be compelete remove.
svn path=/trunk/; revision=25013
Magnus Olsen [Fri, 1 Dec 2006 17:36:07 +0000 (17:36 +0000)]
Colin Finck (mail at colinfinck dot de)
patch to sysdm (id=1161)
fixing truncate of string and making allot better layout of the system info.
See issue #1858 for more details.
svn path=/trunk/; revision=25012
Alex Ionescu [Fri, 1 Dec 2006 08:20:37 +0000 (08:20 +0000)]
- Kill some debug prints.
- Remove debug-test infinite loop from DbgkForwardException
- Fix missing "break" statement in DbgkFreeDebugEvent, causing a handle leak, and in DbgkpOpenHandles, causing user-mode to get a kernel-mode handle for DLL images instead of the correct duplicated one.
- Currently struggling with the fact that ArbitraryUserPointer seems to be reset to zero before it's read for the debug event, so DLL names don't come through.
svn path=/trunk/; revision=25011
Alex Ionescu [Fri, 1 Dec 2006 07:36:49 +0000 (07:36 +0000)]
- Write DLL Being mapped into NtTib->ArbitraryUserPointer so that the debugger can pick it up.
- Fix bugs in DbgkWakeTarget, DbgkCreateThread, DbgkMapViewOfSection and call from NtMapViewOfSection.
svn path=/trunk/; revision=25010
Magnus Olsen [Thu, 30 Nov 2006 22:58:48 +0000 (22:58 +0000)]
fixed crash in stub of createsurface
svn path=/trunk/; revision=25009
Magnus Olsen [Thu, 30 Nov 2006 21:43:07 +0000 (21:43 +0000)]
stubed Main_DirectDraw_SetCooperativeLevel
it need be rewrite
svn path=/trunk/; revision=25008