James Tabor [Sun, 26 Nov 2006 00:53:07 +0000 (00:53 +0000)]
Fixed iType for non and file meta dc.
svn path=/trunk/; revision=24829
James Tabor [Sun, 26 Nov 2006 00:37:40 +0000 (00:37 +0000)]
Add the Enhmetafile and Metafiledc structs.
svn path=/trunk/; revision=24828
James Tabor [Sun, 26 Nov 2006 00:24:56 +0000 (00:24 +0000)]
Add the pDc_Attr to the main DC object. It will become a internal structure to Win32k.
svn path=/trunk/; revision=24827
Johannes Anderwald [Sat, 25 Nov 2006 22:46:03 +0000 (22:46 +0000)]
-fix a critical bug in SamGetUserSid
"I wonder how this all has worked with this..." :o)
svn path=/trunk/; revision=24826
James Tabor [Sat, 25 Nov 2006 20:21:22 +0000 (20:21 +0000)]
Example coding for Enhance Meta File and Meta DC implementation.
- Add printing.c
- Add a new CreateEnhMetaFileW
svn path=/trunk/; revision=24825
Magnus Olsen [Sat, 25 Nov 2006 14:43:29 +0000 (14:43 +0000)]
get rid of some of vs warings when we are using our own objidl, it did forget #undef some interface
svn path=/trunk/; revision=24824
Magnus Olsen [Sat, 25 Nov 2006 13:45:36 +0000 (13:45 +0000)]
update the def file
svn path=/trunk/; revision=24823
Magnus Olsen [Sat, 25 Nov 2006 08:36:45 +0000 (08:36 +0000)]
Update dejavu font from 2.10 to 2.12, see the change log for dejavu for more info
Charter changes Sans Serif Sans Mono
old : U+0180 Latin Extended-B 100% (208/208) 89% (187/208) 57% (119/208)
update : U+0180 Latin Extended-B 100% (208/208) 90% (188/208) 57% (119/208)
old : U+0400 Cyrillic 97% (249/255) 73% (188/255) 66% (170/255)
update : U+0400 Cyrillic 98% (251/255) 74% (190/255) 66% (170/255)
old : U+0500 Cyrillic Supplement 90% (18/20) (0/20) (0/20)
update : U+0500 Cyrillic Supplement 100% (20/20) (0/20) (0/20)
old : U+1400 Unified Canadian Aboriginal Syllabics (0/630) (0/630) (0/630)
update : U+1400 Unified Canadian Aboriginal Syllabics 23% (150/630) (0/630) (0/630)
old : U+2000 General Punctuation 82% (87/106) 44% (47/106) 37% (40/106)
update : U+2000 General Punctuation 82% (87/106) 45% (48/106) 38% (41/106)
old : U+2100 Letterlike Symbols 56% (45/79) 7% (6/79) 7% (6/79)
update : U+2100 Letterlike Symbols 59% (47/79) 7% (6/79) 7% (6/79)
old : U+2600 Miscellaneous Symbols 99% (175/176) 17% (30/176) 84% (149/176)
update : U+2600 Miscellaneous Symbols 100% (176/176) 17% (30/176) 84% (149/176)
svn path=/trunk/; revision=24822
Christoph von Wittich [Fri, 24 Nov 2006 13:57:20 +0000 (13:57 +0000)]
add mingw, mingw-common and msvcrt libs where needed
svn path=/trunk/; revision=24821
Christoph von Wittich [Fri, 24 Nov 2006 10:46:14 +0000 (10:46 +0000)]
-added cpl applet debugging support
-added naive target support (custom C::B version needed atm)
-handle linker options like baseaddress, entrypoint, stdlib and alignment
-use def files when linking dlls
svn path=/trunk/; revision=24820
James Tabor [Fri, 24 Nov 2006 08:53:59 +0000 (08:53 +0000)]
Add Enhanced Meta File header pointer to local DC structure.
svn path=/trunk/; revision=24819
Martin Fuchs [Fri, 24 Nov 2006 07:21:29 +0000 (07:21 +0000)]
update TODO lisi
svn path=/trunk/; revision=24818
Magnus Olsen [Thu, 23 Nov 2006 21:49:29 +0000 (21:49 +0000)]
adding new ddraw.h header. we are delete wine ddraw.h header and using my header I wrote instead.
svn path=/trunk/; revision=24817
Magnus Olsen [Thu, 23 Nov 2006 20:19:54 +0000 (20:19 +0000)]
adding some new ddk header, the info are base/got from windows xp ddk kit version 3790.1830
svn path=/trunk/; revision=24816
Magnus Olsen [Thu, 23 Nov 2006 20:13:17 +0000 (20:13 +0000)]
adding two new ddk header, the info are base/got from windows xp ddk kit version 3790.1830
svn path=/trunk/; revision=24815
Magnus Olsen [Thu, 23 Nov 2006 20:09:07 +0000 (20:09 +0000)]
adding one new ddk header, the info are base/got from windows xp ddk kit version 3790.1830
svn path=/trunk/; revision=24814
Magnus Olsen [Thu, 23 Nov 2006 20:06:14 +0000 (20:06 +0000)]
adding two new ddk header, the info are base/got from windows xp ddk kit version 3790.1830
svn path=/trunk/; revision=24813
Magnus Olsen [Thu, 23 Nov 2006 19:48:12 +0000 (19:48 +0000)]
update : ddk header, the info are base/got from windows xp ddk kit version 3790.1830
svn path=/trunk/; revision=24812
Magnus Olsen [Thu, 23 Nov 2006 18:49:17 +0000 (18:49 +0000)]
update : ddk header, the info are base/got from windows xp ddk kit version 3790.1830
svn path=/trunk/; revision=24811
Magnus Olsen [Thu, 23 Nov 2006 18:41:41 +0000 (18:41 +0000)]
adding three new ddk header, the info are base/got from windows xp ddk kit version 3790.1830
svn path=/trunk/; revision=24810
Magnus Olsen [Thu, 23 Nov 2006 18:38:19 +0000 (18:38 +0000)]
1. adding two new ddk header, the info are base/got from windows xp ddk kit version 3790.1830
2. change bit of layout in usbkern
svn path=/trunk/; revision=24809
Magnus Olsen [Thu, 23 Nov 2006 18:35:38 +0000 (18:35 +0000)]
adding two new ddk header, the info are base/got from windows xp ddk kit version 3790.1830
svn path=/trunk/; revision=24808
Aleksey Bragin [Thu, 23 Nov 2006 16:57:58 +0000 (16:57 +0000)]
Partial shell32 wine-sync
svn path=/trunk/; revision=24807
Aleksey Bragin [Thu, 23 Nov 2006 15:49:53 +0000 (15:49 +0000)]
comctl32 auto-winesync
svn path=/trunk/; revision=24806
Christoph von Wittich [Thu, 23 Nov 2006 11:38:49 +0000 (11:38 +0000)]
-always keep the correct file extension (fixes building of control panel applets)
-escape defines (fixes loading of some project files)
svn path=/trunk/; revision=24805
Christoph von Wittich [Wed, 22 Nov 2006 21:37:56 +0000 (21:37 +0000)]
better subsystem handling
svn path=/trunk/; revision=24804
Magnus Olsen [Wed, 22 Nov 2006 20:38:40 +0000 (20:38 +0000)]
written header usbkern.h
svn path=/trunk/; revision=24803
Christoph von Wittich [Wed, 22 Nov 2006 20:35:11 +0000 (20:35 +0000)]
use the correct compiler for .c/.cpp files
svn path=/trunk/; revision=24802
Christoph von Wittich [Wed, 22 Nov 2006 20:19:12 +0000 (20:19 +0000)]
fixed a function declaration
some minor formatting changes
svn path=/trunk/; revision=24801
Christoph von Wittich [Wed, 22 Nov 2006 15:23:17 +0000 (15:23 +0000)]
-fix line endings
-set eol-style:native
svn path=/trunk/; revision=24800
Christoph von Wittich [Wed, 22 Nov 2006 15:18:51 +0000 (15:18 +0000)]
Code::Blocks backend
svn path=/trunk/; revision=24799
Aleksey Bragin [Wed, 22 Nov 2006 10:15:51 +0000 (10:15 +0000)]
The code expects synchronous behaviour here, so until a better solution exists, IoSynchronousInvalidateDeviceRelations() is going to be used.
This fixes the "Loading ndis.sys" problems.
Thanks to Dmitry Gorbachev, confirmed by Herve Poussineau.
See issue #1875 for more details.
svn path=/trunk/; revision=24798
Alex Ionescu [Wed, 22 Nov 2006 07:45:30 +0000 (07:45 +0000)]
- Update kernel fun.
svn path=/trunk/; revision=24797
Alex Ionescu [Wed, 22 Nov 2006 07:01:32 +0000 (07:01 +0000)]
- Fix boot CD with 10 lines of code. That's right Fireball, go shame yourself!
svn path=/trunk/; revision=24796
Aleksey Bragin [Mon, 20 Nov 2006 13:07:57 +0000 (13:07 +0000)]
Fix warning when compiled with DBG=0
svn path=/trunk/; revision=24795
Ged Murphy [Sun, 19 Nov 2006 22:36:37 +0000 (22:36 +0000)]
tab -> space
svn path=/trunk/; revision=24794
Magnus Olsen [Sun, 19 Nov 2006 21:17:52 +0000 (21:17 +0000)]
fixing a small bug, do not known why, with this change I getting 19 of 20 booting working for me. I have not update to lates svn yet.
old change I did get 11 of 12 booting working
svn path=/trunk/; revision=24793
Eric Kohl [Sun, 19 Nov 2006 21:17:42 +0000 (21:17 +0000)]
Remove the obsolete STDCALL decorations from .def files.
svn path=/trunk/; revision=24792
Thomas Bluemel [Sun, 19 Nov 2006 21:14:49 +0000 (21:14 +0000)]
- Correct definition of DbgPrompt
- Add definitions for the CSTRING structure
svn path=/trunk/; revision=24791
Eric Kohl [Sun, 19 Nov 2006 21:10:56 +0000 (21:10 +0000)]
Use '-enable-stdcall-fixup' linker option for all mingw builds.
svn path=/trunk/; revision=24790
Eric Kohl [Sun, 19 Nov 2006 21:06:30 +0000 (21:06 +0000)]
- Remove some global variables.
- Clean up the source code.
- Display the names of the screen savers.
- Sort the screen saver list by the screen saver names.
- Disable setting controls when 'None' screen saver is selected.
svn path=/trunk/; revision=24789
Magnus Olsen [Sun, 19 Nov 2006 20:35:11 +0000 (20:35 +0000)]
adding a wcsstrlen to make msg "Unable to start , error" when no screensaver have been set.
I hope it is all check we need. hpousin if u dislike this check u are wellcome to remove it.
svn path=/trunk/; revision=24788
Aleksey Bragin [Sun, 19 Nov 2006 20:24:46 +0000 (20:24 +0000)]
Add PsInitialSystemProcess declaration into winddk.h (fixes win32k compilation)
svn path=/trunk/; revision=24787
Magnus Olsen [Sun, 19 Nov 2006 20:24:15 +0000 (20:24 +0000)]
remove the start of reactos vbe directdraw support until it is ready. allot problem with current code. so I discde to remove it from reactos, untill it is stable.
svn path=/trunk/; revision=24786
Aleksey Bragin [Sun, 19 Nov 2006 20:06:44 +0000 (20:06 +0000)]
Add a typecast to remove a warning
svn path=/trunk/; revision=24785
Ged Murphy [Sun, 19 Nov 2006 19:49:45 +0000 (19:49 +0000)]
- merge the latest code from my minibranch:
- use a static image to refer to when choosing your image brightness so returning to normal (100) displays the original colours
- allow individual colours (RGB) to be adjusted as well as adjusting them all simultaneously
- apply the chosen brightness from the dialog to the main image
- implement greyscale, so an image can be displayed in black and white
- implement inverting of colours so an image can be displayed as a negative.
svn path=/trunk/; revision=24784
Johannes Anderwald [Sun, 19 Nov 2006 19:43:54 +0000 (19:43 +0000)]
- fix prototype
svn path=/trunk/; revision=24783
Magnus Olsen [Sun, 19 Nov 2006 19:13:35 +0000 (19:13 +0000)]
the new desgin of ddraw are in place some files need be rename.
1. this version does not working and contain allot of bugs
2. HAL are not setup right yet
3. HEL are not setup right yet
4. crashing VS when u try debug it from vs if it compile with gcc.
5. implement HEL in user mode.
6. remove some code that was working for it is not longer compatible with new desgin
svn path=/trunk/; revision=24782
Johannes Anderwald [Sun, 19 Nov 2006 19:08:42 +0000 (19:08 +0000)]
fix typo
svn path=/trunk/; revision=24781
Alex Ionescu [Sun, 19 Nov 2006 19:00:03 +0000 (19:00 +0000)]
- Change kdcom.sys to kdcom.dll.
- Remove all kdcom exports and files from HAL and link with kdcom.dll instead.
- Add support in freeldr for loading kdcom.dll (and theoretically any other import, such as the Code Integrity DLL for kernel-mode signing, but for now I've only tested this one).
- Refactor some of the HAL loading code to make it generic for any image.
- Load HAL manually when loading kernel, before processing imports, to make sure that HAL is index 1 in the loader modules and loads before KDCOM.
- Fix some build problems.
svn path=/trunk/; revision=24780
Alex Ionescu [Sun, 19 Nov 2006 18:12:27 +0000 (18:12 +0000)]
- Fix last-minute compiler bug.
svn path=/trunk/; revision=24779
Alex Ionescu [Sun, 19 Nov 2006 17:53:31 +0000 (17:53 +0000)]
- Major changes to HAL/kernel loading and freeldr hacks:
- Add PE routines for traversing the import table and fixing up the imports.
- Add routine for getting the LOADER_MODULE for a freeldr module by name.
- Add the ability to load a not-yet-loaded-driver that's in an import entry (ie: dependencies). Only used for HAL now.
- Map HAL in the same was as the kernel, instead of relocating it as a hack from within the kernel.
- Refactor some routines to better share code. Don't read freed memory anymore.
- Use LdrRelocateImageWithBias instead of quintuplicating relocation code.
- Parse kernel and HAL imports while PE-loading from within freeldr.
- Remove dozens of freeldr.c hacks from the kernel. Remove slow code which was making two copies of the parameter block and wasting over 30KB in static strings that were immediately copied to other strings...
- Don't use HalModuleObject and NtoskrnlModuleObject anymore. Remove LdrSafePEProcessModule and other similar boot-time hacks. Reimplement MmGetSystemRoutineAddress.
- NDK/DDK fixes.
- Add KDCOM to bootcd/installation.
svn path=/trunk/; revision=24778
Aleksey Bragin [Sun, 19 Nov 2006 17:22:18 +0000 (17:22 +0000)]
- Add a null-check to the IopLoadServiceModule.
- Add a DPRINT1 saying about the possible memory-overwrite bug. This is a hack to get a bootable tree, but still have a note when The Bug happens (look for 'weird' in the debug log).
svn path=/trunk/; revision=24777
Magnus Olsen [Sun, 19 Nov 2006 17:01:23 +0000 (17:01 +0000)]
- Change movw $0x0000,%ax to xorw %ax,%ax (because of probable bug in binutils, which compiles the first instruction into something weird)
- Add segment registers save+restore in Int386() in FreeLdr (thanks to tamlin too)
svn path=/trunk/; revision=24776
Alex Ionescu [Fri, 17 Nov 2006 06:14:31 +0000 (06:14 +0000)]
- Add kdcom driver. It contains the exact same functions as in HAL/kdbg.c (not yet used).
- Fix halxbox compile.
svn path=/trunk/; revision=24775
Alex Ionescu [Fri, 17 Nov 2006 04:18:41 +0000 (04:18 +0000)]
- Fix some more MSVC problems.
- Get rid of HAL's own intrisics and use intrin_i.h and/or MSVC intrinsics from intrin.h
- If anyone knows how to make a .DEF file that is not only understood by both compilers, but also creates a proper import library, please let me know.
svn path=/trunk/; revision=24774
Alex Ionescu [Fri, 17 Nov 2006 02:44:37 +0000 (02:44 +0000)]
- MSVC VCPROJ Maker:
* Don't insert NDEBUG as a define, files define this manually already.
* Don't add _CRT flags, since the RTM WDK defines them properly.
* Force warning.h to be included just like the WDK does.
* Disable WPO and LTCG for now.
* Disable 64-bit warnings for now.
* Fix assembly custom steps. NASMW for .asm, and GAS for .S.
- Please remember that you NEED the WDK 6000 RTM installed to use MSVC for building ReactOS. Don't change global build settings just because you were too lazy to download it and think that because your Win32 app doesn't need it, it's ok to break other people's native/system/kernel/hal builds. Change it locally if you're lazy, but don't revert these changes again.
svn path=/trunk/; revision=24773
Hervé Poussineau [Thu, 16 Nov 2006 20:52:13 +0000 (20:52 +0000)]
Fix HAL compilation
svn path=/trunk/; revision=24772
Ged Murphy [Thu, 16 Nov 2006 18:49:58 +0000 (18:49 +0000)]
- Add test code for adjusting the brightness of an image. It's a bit of a hack at the moment, but adjusting the trackbar in the brightness dialog will alter the brightness of the small image.
- save pointer to the bitmap header and bitmap bits in the image struct.
svn path=/trunk/; revision=24771
Alex Ionescu [Thu, 16 Nov 2006 17:30:52 +0000 (17:30 +0000)]
- Reorganize HAL exports and export KeTRyToAcquireQueuedSpinlock and KeTryToAcquireQueuedSpinLockRaisetoSynch.
- Add stub for HalSetTimeIncrement.
- Cleanup CMOS-related routines (Get/Set environment value and get/set RTC). Fixup some prototypes as well. Inline HalpReadCmos/HalpWriteCmos instead of having a separate function.
- Fixup wrong protypes for various Queued Spinlock functions.
- Use __rdtsc intrinsic instead of Ke386RdTsc.
- Other MSVC compilation fixes.
svn path=/trunk/; revision=24770
Aleksey Bragin [Thu, 16 Nov 2006 17:26:31 +0000 (17:26 +0000)]
Use Uint32x32To64() function instead of ULONG * ULONG. Fixes partition length truncation.
See issue #1871 for more details.
svn path=/trunk/; revision=24769
Magnus Olsen [Thu, 16 Nov 2006 15:56:10 +0000 (15:56 +0000)]
remove two compiling warnings thx frik85 to notice it.
svn path=/trunk/; revision=24768
Alex Ionescu [Thu, 16 Nov 2006 07:09:37 +0000 (07:09 +0000)]
- Purposefully add 6 debug prints to RtlpGetRegistryHandle, which, while ndis.sys is initializing, should BSOD the system. I have seen this "RtlpGetRegistryHandle" BSOD randomly during boot (But always with the same stack trace), and a local HAL patch managed to cause it 100% of the time. I know that the problem had nothing to do with the HAL or registry paths, because it came up before too when I added debug prints to fstub. These 6 prints 100% reproduce the problem on my machine with GCC 3.4.5. It is my hope it will do the same for everyone. This is a nasty bug, either stack related or some critical structure is being damaged. I am breaking trunk because it's been here for a long time, but now I found a way to repro it so that we can work together to try finding it. In a way, trunk was always broken, but this patch should force a freeze. Please help.
svn path=/trunk/; revision=24767
Alex Ionescu [Thu, 16 Nov 2006 06:55:59 +0000 (06:55 +0000)]
- Remove internal HAL function from ntifs
- Make sure obfuncs.h includes obtypes.h if it's ever included separately.
- Add ARC_STATUS and ARC Error Codes.
svn path=/trunk/; revision=24766
Thomas Bluemel [Wed, 15 Nov 2006 20:24:55 +0000 (20:24 +0000)]
Fix some compilation errors
svn path=/trunk/; revision=24765
Aleksey Bragin [Wed, 15 Nov 2006 16:57:15 +0000 (16:57 +0000)]
Properly use the second param.
svn path=/trunk/; revision=24764
Aleksey Bragin [Wed, 15 Nov 2006 10:42:46 +0000 (10:42 +0000)]
Fix build by:
- Matching HAL MP HalStartNextProcessor() and commenting out a call to HaliStartApplicationProcessor() (because it needs ProcessorContext). Proper fix should be done.
- Removing HalReportResourceUsage from MP version, and marking what it did differently as FIXME in the generic version.
svn path=/trunk/; revision=24763
Alex Ionescu [Wed, 15 Nov 2006 00:08:51 +0000 (00:08 +0000)]
- Export ExiTryToAcquireFastMutex from ntoskrnl, I had forgotten to export this ages ago when adding the other Exi*FastMutex* stuff.
- Remove fmutex.c and fastmutex functions from HAL. The whole point of having the Exi ones in the kernel was that HAL calls them through forward exports now (so any old driver can still link with HAL). Now we don't duplicate the implementation anymore.
- Remove DriverEntry, it's useless. Also move HalReportResourceUsage to halinit because it's a call-once-on-boot function much akin a HalInitPhase2 function, so delete resource.c
- Keep track of interrupt affinity and active processor mask each time a new CPU initializes.
svn path=/trunk/; revision=24762
Ged Murphy [Tue, 14 Nov 2006 23:15:02 +0000 (23:15 +0000)]
- split the main header file into seperate files as it was becoming annoying to maintain
- split the open / new file code
- Add a dialog for adjusting the brightness. The code for adjusting the brightness will follow soon, as will many other image adjusting dialogs.
- change the menus to show the image adjustment tools which will be present
- remove the horrible image property dialog code. I'll rewrite it at a later stage
- Set Arial as the default font
- fix a few API's to be 64-bit compatable
- reduce msvc warnings
svn path=/trunk/; revision=24761
Alex Ionescu [Tue, 14 Nov 2006 22:42:59 +0000 (22:42 +0000)]
- Build fixes.
svn path=/trunk/; revision=24760
Alex Ionescu [Tue, 14 Nov 2006 20:59:48 +0000 (20:59 +0000)]
- Delete HAL cruft files.
- Implement (or cleanup + mark as implemented, these are 4 line functions) HalDisplayString, HalAcquireDisplayOwnership, HalSetDisplayParameters, HalQueryDisplayParameters, HalInitailizeProcessor, HalAllProcessorsStarted, HalStartNextProcessor, HalProcessorIdle, HalRequestIpi.
- Fix some prototype definitions and cleanup some formatting.
svn path=/trunk/; revision=24759
Hervé Poussineau [Tue, 14 Nov 2006 18:35:29 +0000 (18:35 +0000)]
Don't force screensaver file names to have at least 4 chars
Terminate the string just after the last read character.
svn path=/trunk/; revision=24758
Alex Ionescu [Tue, 14 Nov 2006 18:17:33 +0000 (18:17 +0000)]
- Implement HalSystemVectorDispatchEntry, KeFlushWriteBuffer, HalFlushCommonBuffer, HalAllocateCrashDumpRegisters.
- Add lots of missing PCI definitions to the DDK, and to the internal file pci.h
- Make HAL compilable with the WDK thanks to a nice hack/trick I found.
svn path=/trunk/; revision=24757
Johannes Anderwald [Tue, 14 Nov 2006 17:10:26 +0000 (17:10 +0000)]
- print debug logs on stdout
- sysreg is now ready for deployment
svn path=/trunk/; revision=24756
Johannes Anderwald [Tue, 14 Nov 2006 16:58:42 +0000 (16:58 +0000)]
- dump reached checkpoints when an BSOD is detected
- dump rest of log file when a BSOD is detected
- write debugging data to ROSBOOT_DEBUG_FILE when reading from a pipe
- update configuration files
- silence debug print in sym_file.cpp
svn path=/trunk/; revision=24755
Johannes Anderwald [Tue, 14 Nov 2006 16:51:32 +0000 (16:51 +0000)]
- update testboot script
svn path=/trunk/; revision=24754
Magnus Olsen [Tue, 14 Nov 2006 16:50:47 +0000 (16:50 +0000)]
fixing Usurp bug repot in irc channel, if a screensaver does not exists it try execute a no exiting screensaver it make reactos freze on real hw and in qemu, acoring Usurp. With this change it does not longer freze and does not either try execute a no existing screensaver. Thx Usurp for testing it.
svn path=/trunk/; revision=24753
Johannes Anderwald [Tue, 14 Nov 2006 16:26:15 +0000 (16:26 +0000)]
- ignore failure if dir already exists
svn path=/trunk/; revision=24752
Johannes Anderwald [Tue, 14 Nov 2006 12:58:52 +0000 (12:58 +0000)]
- update svn properties
- improve error checking
- return -2 when the test fails
- add a few test configs (required for sysregtest target)
svn path=/trunk/; revision=24751
Johannes Anderwald [Tue, 14 Nov 2006 12:47:42 +0000 (12:47 +0000)]
- implement target sysregtest which compiles all required modules and generates an unattended bootcdregtest which is feed to sysregtest and executes the required tests
- fix regtest target
svn path=/trunk/; revision=24750
The Wine Synchronizer [Mon, 13 Nov 2006 15:20:30 +0000 (15:20 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=24747
The Wine Synchronizer [Mon, 13 Nov 2006 14:51:39 +0000 (14:51 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=24746
Aleksey Bragin [Mon, 13 Nov 2006 12:40:02 +0000 (12:40 +0000)]
Dmitry G. Gorbachev: After kbd controller init, the System Flag should be set to 1.
Fixes rebooting on real hardware (famous "Flushing cache" hang).
See issue #1842 for more details.
svn path=/trunk/; revision=24744
Aleksey Bragin [Mon, 13 Nov 2006 10:14:08 +0000 (10:14 +0000)]
Delete unneeded files
svn path=/trunk/; revision=24743
Alex Ionescu [Mon, 13 Nov 2006 04:34:57 +0000 (04:34 +0000)]
- Make HalMakeBeep a bit nicer by making the PUCHAR typedef part of the TIMER constants.
svn path=/trunk/; revision=24742
Alex Ionescu [Mon, 13 Nov 2006 04:33:45 +0000 (04:33 +0000)]
- Add some more descriptive comments to HalpReboot (and rename it from HalReboot) since some of the operations lacked comments.
- Stall the CPU after each I/O command to simulate I/O delay.
- Flush write buffers before rebooting.
- Refactor sending the reset command since it's not always a matter of using the keyboard port.
- HalReturnToFirmware does a HalpReboot no matter what parameter is sent.
svn path=/trunk/; revision=24741
Alex Ionescu [Mon, 13 Nov 2006 04:31:39 +0000 (04:31 +0000)]
- Re-implement messy portio.c by using MSVC-compatible intrinsics instead. 20 lines of code become 1, yay!
svn path=/trunk/; revision=24740
Alex Ionescu [Mon, 13 Nov 2006 01:47:10 +0000 (01:47 +0000)]
- Fix a typo in DbgkCreateThread which caused a boot-time crash/regression.
svn path=/trunk/; revision=24739
Alex Ionescu [Sun, 12 Nov 2006 23:32:11 +0000 (23:32 +0000)]
- Fix build error.
svn path=/trunk/; revision=24738
Alex Ionescu [Sun, 12 Nov 2006 22:51:06 +0000 (22:51 +0000)]
- FSTUB Patch for Mount Manager Support, Part 1:
- Create new /fstub directory in the kernel tree and move iomgr's xhal functions there.
- Delete disk.c entirely from iomgr.c and spread it across fstub.
- Entirely reimplement from scratch IoWritePartitionTable, IoReadPartitionTable, IoSetPartitionInformation, HalExamineMbr. Lots of bug fixes in terms of wrong assumptions and compatibility with weird partition tables.
- Fix prototype of IoAssignDriveLetters, but for now, keep the old code (xHalIoAssignDriveLetters) because this has not been rewritten yet.
- Move some functions to fstubex.c for future implementation, and some to volume.c. Move the HAL table to halstub.c
- Make use of the hal.h file commited earlier.
- Move IoAssignDriveLetters from halfuncs to iofuncs.h
- Implement missing functions in HAL (IoRead/Write/Set PartitionInfo) and make them call into the ntoskrnl exports.
svn path=/trunk/; revision=24737
Alex Ionescu [Sun, 12 Nov 2006 22:43:43 +0000 (22:43 +0000)]
- Move out SEH-support routines from ntoskrnl/rtl to lib/rtl
- Re-implement the routines in intel syntax and also cleanup the formatting.
- Also re-implement the way the routines work, by following Matt Pietrek's c code that he wrote in one of his articles after looking at the disassembly.
- Also used a patch for mingw found on Google which contained some implementations in C.
- New changes mostly add protection during unwinding, faster speed, and add implementations for __except_handler2 and _abnormal_termination which were not previously present.
svn path=/trunk/; revision=24736
Alex Ionescu [Sun, 12 Nov 2006 22:39:09 +0000 (22:39 +0000)]
- Implement IoSetCompletionRoutineEx, which is a safe way to set completion routines that almost all newer drivers will be using (XP+).
svn path=/trunk/; revision=24735
Alex Ionescu [Sun, 12 Nov 2006 22:37:52 +0000 (22:37 +0000)]
- Argh, another forgotten file. Too many local changes :(
svn path=/trunk/; revision=24734
Alex Ionescu [Sun, 12 Nov 2006 22:36:21 +0000 (22:36 +0000)]
- Apologies, forgot these two files for the Dbgk patch.
- Adds PsNtDllPathName constant string since we use it in two place (PsLocateSystemDll and DbgkpCreateThread).
- Adds PsImageNotifyEnabled boolean flag and sets it to true (although it should only be when a routine is installed, but ROS doesn't do this yet.
svn path=/trunk/; revision=24733
Alex Ionescu [Sun, 12 Nov 2006 22:34:28 +0000 (22:34 +0000)]
- Implement MmAddVerifierThunks, MmIsDriverVerifying, MmIsVerifierEnabled.
- Not used by anything, these are for 3rd-party drivers and Driver Verifier.
svn path=/trunk/; revision=24732
Alex Ionescu [Sun, 12 Nov 2006 22:33:04 +0000 (22:33 +0000)]
- Fix flags in DbgkpSectionToFileHandle
- Implement DbgkpCreateThread.
- Implement DbgkpSetProcessDebugObject.
svn path=/trunk/; revision=24731
Alex Ionescu [Sun, 12 Nov 2006 22:31:45 +0000 (22:31 +0000)]
- Cleanup fastio.c
- Implement FsRtlMdlReadDev (this function is not called, no risk of regressions).
- Move FsRtlAcquireFileExclusive and FsRtlReleaseFileExclusive from filelock.c to fastio.c.
- Bugfix these functions to actually call FsRtlEnter/ExitFileSystem.
- Huge cleanusp of filelock.c, but no code changes, except the usage of some simpler macros provided by NTIFS.H (with equivalent code).
svn path=/trunk/; revision=24730
Alex Ionescu [Sun, 12 Nov 2006 22:27:10 +0000 (22:27 +0000)]
- Add CcFastMdlReadWait extern to ntifs.h
- Add FsRtlCompleteRequest macro to ntifs.h
- Add LDRP_DRIVER_VERIFYING flag to ldrtypes.h
- Add MM_DRIVER_VERIFIER_DATA and DRIVER_SPECIFIED_DRIVER_THUNKS to mmtypes.h
- Add MAXLONGLONG to ntdef.h.
svn path=/trunk/; revision=24729
Ged Murphy [Sun, 12 Nov 2006 20:13:39 +0000 (20:13 +0000)]
- fix a bug freeing memory for floating windows.
- ShowHideWindow needs no more than a Window handle
svn path=/trunk/; revision=24728
Johannes Anderwald [Sun, 12 Nov 2006 13:37:02 +0000 (13:37 +0000)]
- add dbgprint tool as optional tool
svn path=/trunk/; revision=24727