16 years agofix uninitialized variable
Thomas Bluemel [Mon, 18 Apr 2005 19:26:12 +0000 (19:26 +0000)]
fix uninitialized variable

svn path=/trunk/; revision=14678

16 years agoPackageManager: added missing package.h
Maarten Bosma [Mon, 18 Apr 2005 19:22:50 +0000 (19:22 +0000)]
PackageManager: added missing package.h

svn path=/trunk/; revision=14677

16 years agoFix remaining System Process information structure issues and fix compilation
Alex Ionescu [Mon, 18 Apr 2005 18:24:06 +0000 (18:24 +0000)]
Fix remaining System Process information structure issues and fix compilation

svn path=/trunk/; revision=14676

16 years agoFix Process/Thread information structures to match Windows 2000 and have proper struc...
Alex Ionescu [Mon, 18 Apr 2005 17:48:01 +0000 (17:48 +0000)]
Fix Process/Thread information structures to match Windows 2000 and have proper structure. Fix bug in ntdll related to OpenProcess

svn path=/trunk/; revision=14675

16 years agoFix Process/Thread information structures to match Windows 2000 and have proper struc...
Alex Ionescu [Mon, 18 Apr 2005 17:46:59 +0000 (17:46 +0000)]
Fix Process/Thread information structures to match Windows 2000 and have proper structure. Fix bug in ntdll related to OpenProcess

svn path=/trunk/; revision=14674

16 years agoFix incorrect replacement
Alex Ionescu [Mon, 18 Apr 2005 16:25:53 +0000 (16:25 +0000)]
Fix incorrect replacement

svn path=/trunk/; revision=14673

16 years agoRemove excess debugging
Alex Ionescu [Mon, 18 Apr 2005 15:51:21 +0000 (15:51 +0000)]
Remove excess debugging

svn path=/trunk/; revision=14672

16 years agoUse official THREAD_STATE enumeration for thread states
Alex Ionescu [Mon, 18 Apr 2005 15:49:57 +0000 (15:49 +0000)]
Use official THREAD_STATE enumeration for thread states

svn path=/trunk/; revision=14671

16 years agoFix win32k
Alex Ionescu [Mon, 18 Apr 2005 14:56:52 +0000 (14:56 +0000)]
Fix win32k

svn path=/trunk/; revision=14670

16 years agoForgot was 3am
Alex Ionescu [Mon, 18 Apr 2005 14:13:03 +0000 (14:13 +0000)]
Forgot was 3am

svn path=/trunk/; revision=14669

16 years agoRoman Hoegg <>
Gé van Geldorp [Mon, 18 Apr 2005 13:27:16 +0000 (13:27 +0000)]
Roman Hoegg <>
Add support for Swiss German keyboards

svn path=/trunk/; revision=14668

16 years agoImplement PsGetVersion. OSR and other sources say that the build number is a mix...
Alex Ionescu [Mon, 18 Apr 2005 05:47:13 +0000 (05:47 +0000)]
Implement PsGetVersion. OSR and other sources say that the build number is a mix of high and low word, where the high represents checked or free

svn path=/trunk/; revision=14667

16 years agoFix Access Bug. cmd.exe and taskmgr work again, but there remains a bug with the...
Alex Ionescu [Mon, 18 Apr 2005 05:25:07 +0000 (05:25 +0000)]
Fix Access Bug. cmd.exe and taskmgr work again, but there remains a bug with the process list

svn path=/trunk/; revision=14666

16 years agoFix incorrect OpenProcess implementation in kernel32 and make it tidier. I'm now...
Alex Ionescu [Mon, 18 Apr 2005 05:12:36 +0000 (05:12 +0000)]
Fix incorrect OpenProcess implementation in kernel32 and make it tidier. I'm now seeing a bug with Access rights...

svn path=/trunk/; revision=14665

16 years agoFix Process not being deleted
Alex Ionescu [Mon, 18 Apr 2005 04:55:48 +0000 (04:55 +0000)]
Fix Process not being deleted

svn path=/trunk/; revision=14664

16 years agoImplement PsSetLegoNotifyRoutine and PsRemoveCreateThreadNotifyroutine. Clean up...
Alex Ionescu [Mon, 18 Apr 2005 04:46:06 +0000 (04:46 +0000)]
Implement PsSetLegoNotifyRoutine and PsRemoveCreateThreadNotifyroutine. Clean up ps/thread.c, move things to their own subsystem, do proper TEB Allocation with MmCreateTeb, remove TEB EPROCESS hack fields. Rename PsFrezeAllThreads to KeFreezeAllThreads and implement a working version.

svn path=/trunk/; revision=14663

16 years agoRemove ps/create.c, it did not fit with the current model of abstraction. Major clean...
Alex Ionescu [Mon, 18 Apr 2005 02:12:30 +0000 (02:12 +0000)]
Remove ps/create.c, it did not fit with the current model of abstraction. Major cleanup of ps/process.c, created ps/notify.c and ps/quota.c. Implemented NtOpenProcess, PsRemoveLoadImageNotifyRoutine, PsGetCurrentProcessSessionId

svn path=/trunk/; revision=14662

16 years agoForgot this
Alex Ionescu [Mon, 18 Apr 2005 02:11:19 +0000 (02:11 +0000)]
Forgot this

svn path=/trunk/; revision=14661

16 years agoMini-merge from my local changes. Rewrite of Process Creation. Notable improvements:
Alex Ionescu [Mon, 18 Apr 2005 00:42:31 +0000 (00:42 +0000)]
Mini-merge from my local changes. Rewrite of Process Creation. Notable improvements:

    - Subsystemization of Process Creation code. Memory code done by new Mm functions (not all used yet),
      Kernel code done by Ke*, etc.
    - Written to be compatible with the information in "Windows Internals".
    - Optimized and cleaned up.
    - ObInsertObject is now called at the end, fixing a plethora of wrong things that were covered with FIXMEs.
    - PEB is allocated with a Memory Area, and so will TEB soon, which allows 4KB allocation without 64KB gra
    - System DLL Mapping/Loading has been changed to be cached at system bootup, resulting in faster code.

Also changed Peb to report NT 5.0

NOTE: Messy, more to come soon. The full benefits of this patch won't be realized until the complete changes
      are in.

svn path=/trunk/; revision=14660

16 years agofixed warning
Thomas Bluemel [Sun, 17 Apr 2005 20:46:36 +0000 (20:46 +0000)]
fixed warning

svn path=/trunk/; revision=14659

16 years agoADVAPI32.DLL / SERVICES.EXE:
Eric Kohl [Sun, 17 Apr 2005 19:56:50 +0000 (19:56 +0000)]
Implement ControlService()

Disable a bogus buffer overflow check in NdrSimpleStructMarshall.

svn path=/trunk/; revision=14658

16 years agoFixed the repeating DHCPOFFER/DHCPACK. I was assuming that the lease timeout
Art Yerkes [Sun, 17 Apr 2005 19:47:44 +0000 (19:47 +0000)]
Fixed the repeating DHCPOFFER/DHCPACK.  I was assuming that the lease timeout
was relative but it's been adjusted by the time we get here.

Thanks to hpoussineau for helping with this bug.

svn path=/trunk/; revision=14657

16 years agoSupport out-pointers to structs.
Eric Kohl [Sun, 17 Apr 2005 19:45:06 +0000 (19:45 +0000)]
Support out-pointers to structs.

svn path=/trunk/; revision=14656

16 years agofixed warning and minor portability fix
Thomas Bluemel [Sun, 17 Apr 2005 19:33:50 +0000 (19:33 +0000)]
fixed warning and minor portability fix

svn path=/trunk/; revision=14655

16 years agofixed warning and minor portability fix
Thomas Bluemel [Sun, 17 Apr 2005 19:32:24 +0000 (19:32 +0000)]
fixed warning and minor portability fix

svn path=/trunk/; revision=14654

16 years agoDon't set a zero timeout for a lease. Zero here is taken to mean infinite.
Art Yerkes [Sun, 17 Apr 2005 19:16:39 +0000 (19:16 +0000)]
Don't set a zero timeout for a lease.  Zero here is taken to mean infinite.

svn path=/trunk/; revision=14653

16 years agosm info ssid - implemented
Emanuele Aliberti [Sun, 17 Apr 2005 17:50:48 +0000 (17:50 +0000)]
sm info ssid - implemented

svn path=/trunk/; revision=14651

16 years agoPut in alphabetical order, remove IopCreateDevice, and remove incorrect implementatio...
Alex Ionescu [Sun, 17 Apr 2005 16:26:44 +0000 (16:26 +0000)]
Put in alphabetical order, remove IopCreateDevice, and remove incorrect implementation tag for EFi functions

svn path=/trunk/; revision=14650

16 years ago- Move generated files to the top of the file list.
Eric Kohl [Sun, 17 Apr 2005 11:01:00 +0000 (11:01 +0000)]
- Move generated files to the top of the file list.
- Rename generated file svcctl.h to svcctl_c.h.

svn path=/trunk/; revision=14647

16 years agoAdd sufficient permission to the TCP handle to configure the IP address.
Art Yerkes [Sun, 17 Apr 2005 08:00:01 +0000 (08:00 +0000)]
Add sufficient permission to the TCP handle to configure the IP address.

svn path=/trunk/; revision=14646

16 years agoMore cleaning. Mostly working DHCP. IP address is automatically discovered
Art Yerkes [Sun, 17 Apr 2005 07:58:24 +0000 (07:58 +0000)]
More cleaning.  Mostly working DHCP.  IP address is automatically discovered
and configured on the first ethernet adapter.

svn path=/trunk/; revision=14645

16 years agoNeeded infrastructure for DHCP:
Art Yerkes [Sun, 17 Apr 2005 07:55:24 +0000 (07:55 +0000)]
Needed infrastructure for DHCP:
Corrected adapter index problem in iinfo.c.  Now the index returned is from
ninfo: ditto.
ip.c: Expose IPAddInterfaceRoute and IPRemoveInterfaceRoute for use by
 set ip address IOCTL.
if.c: Allow deleting of TCP context.
main.c: Turn off debugging in CVS.

svn path=/trunk/; revision=14644

16 years agoIoCreateDevice Changes:
Alex Ionescu [Sun, 17 Apr 2005 04:20:16 +0000 (04:20 +0000)]
IoCreateDevice Changes:

    - IoAllocateVpb renamed to IopAllocateVpb and made cleaner
    - Let ObCreateObject do all the memory allocation since the extra data belongs to the
      object and it should be responsible for allocating it. No more extra pool allocations
      or deallocations.
    - Zero out everythign a single time.
    - Remove useless code duplication
    - Use proper I/O Manager types for the object headers.
    - Honour Exclusive Flag, and Has Name Flag.
    - Only initialize event if there is a volume.
    - Initialize a VPB for Virtual Disks also.
    - Set up Device Object Extension properly
    - Use proper sector sizes, don't hardcode 512 (should be 2048 for cds)
    - Actually insert the object into the object table with ObInsertObject. This might seem
      useless, but remember that's simply because ROS has a broken Ob Manager which does way
      too much in ObCreateObject. It will be easier to use the rewrite if this is done properly.
    - Set the right sizes in some places.

svn path=/trunk/; revision=14643

16 years agoMake the broadcast address all 1's.
Art Yerkes [Sat, 16 Apr 2005 22:11:59 +0000 (22:11 +0000)]
Make the broadcast address all 1's.

svn path=/trunk/; revision=14642

16 years agoFixed multiple bind of DHCP client port. Later, we need to implement
Art Yerkes [Sat, 16 Apr 2005 22:10:55 +0000 (22:10 +0000)]
Fixed multiple bind of DHCP client port.  Later, we need to implement
per adapter binding.

svn path=/trunk/; revision=14641

16 years agoMore I/O Stuff that was leftover in the old branch. Yes I'm still on break, I'm just...
Alex Ionescu [Sat, 16 Apr 2005 21:41:32 +0000 (21:41 +0000)]
More I/O Stuff that was leftover in the old branch. Yes I'm still on break, I'm just comitting
my local work to avoid duplication.

    - Implemented IoRegisterBootDriverReinitialization, but routines don't actually get called yet.
    - Created IopGetDeviceObjectPointer to deal with the case when the pointer is needed for an attach;
      when this happens, a special (documented) flag should be sent to the driver, so that it can do any
      internal routines to be ready for an attach.
    - Fixed IoAttachDevice to use the Safe Attach routine and sent the IO_ATTACH_DEVICE_API flag (See above)
    - Fixed IoAttachDeviceToDeviceStack to call the safe function.
    - Optimized IoAttachDeviceByPointer
    - Implemented IoAttachDeviceToDeviceStackSafe. Support Device Extension Attach semantics.
    - Added various checks for unload/delete flags (that we never supported). Checks are pretty useless for now
      since we don't use the flags, but I've added one during IoDeleteDevice.
    - Implemented IoEnumerateDeviceObjectList. Should work, but untested.
    - Implemented IoGetDeviceAttachmentBaseRef.
    - Optimized IoGetRelatedDeviceObject.
    - Made IoGetDeviceObjectPointer call the internal routine (see #2 above).
    - Implemented IoDetachDevice.
    - Removed IoOpenDeviceInstanceKey and IoQueryDeviceEnumInfo. Obsoleted, unimplemented, undocumented NT4 APIs.
    - Various Attach/Detach fixes.

svn path=/trunk/; revision=14640

16 years agoAdd file object flags, complete DEVOBJ_EXTENSION, and implement: IoIsFileOriginRemote...
Alex Ionescu [Sat, 16 Apr 2005 19:38:14 +0000 (19:38 +0000)]
Add file object flags, complete DEVOBJ_EXTENSION, and implement: IoIsFileOriginRemote, IoGetLowerDeviceObject, IoGetdiskDeviceObject, IoGetRequestorSessionId, IoGetRequestorProcessId

svn path=/trunk/; revision=14639

16 years agoFix WaitAll bug. Previously, not all Wait Objects in a WaitAll were checked for signa...
Alex Ionescu [Sat, 16 Apr 2005 17:48:46 +0000 (17:48 +0000)]
Fix WaitAll bug. Previously, not all Wait Objects in a WaitAll were checked for signaling, which meant as soon as one was signaled, all were supposed to be satisfied. Worse however, only one object would get satisfied anyways, because of a second bug which hid the first during my testing. Now, all wait all objects must be signaled before satsifcation, and satisfaction is correctly done on all the objects. Reg tested with multithrdwin, which did not properly work before. Thanks to w3seek for notifying me of this bug.

svn path=/trunk/; revision=14638

16 years agoPackageManager: Ported GUI to C
Maarten Bosma [Sat, 16 Apr 2005 17:09:12 +0000 (17:09 +0000)]
PackageManager: Ported GUI to C

svn path=/trunk/; revision=14637

Hervé Poussineau [Sat, 16 Apr 2005 16:04:38 +0000 (16:04 +0000)]

svn path=/trunk/; revision=14636

16 years agoADVAPI32.DLL:
Eric Kohl [Sat, 16 Apr 2005 12:50:33 +0000 (12:50 +0000)]
- Implement LockServiceDatabase and UnlockServiceDatabase.

- Add stubs: ScmrLockServiceDatabase, ScmrUnlockDerviceDatabase, SamrNotifyBootConfigStatus, and ScmrCreateServiceW.
- Store and check access rights.

svn path=/trunk/; revision=14635

16 years agoPackageManager: Little fix
Maarten Bosma [Sat, 16 Apr 2005 11:48:26 +0000 (11:48 +0000)]
PackageManager: Little fix

svn path=/trunk/; revision=14634

16 years agoPackageManager: Changed download server to my own webspace. Because http://svn.reacto...
Maarten Bosma [Sat, 16 Apr 2005 11:42:44 +0000 (11:42 +0000)]
PackageManager: Changed download server to my own webspace. Because is still offline.

svn path=/trunk/; revision=14633

16 years agoPackageManager: Converted cmdline interface to C
Maarten Bosma [Sat, 16 Apr 2005 11:11:52 +0000 (11:11 +0000)]
PackageManager: Converted cmdline interface to C

svn path=/trunk/; revision=14632

16 years agoAllow interrupts indicating an empty buffer only if some bytes are pending
Hervé Poussineau [Fri, 15 Apr 2005 22:14:13 +0000 (22:14 +0000)]
Allow interrupts indicating an empty buffer only if some bytes are pending
This should correct the boot in Qemu

svn path=/trunk/; revision=14631

16 years agoUse RPC for making calls to the Service Control Manager.
Eric Kohl [Fri, 15 Apr 2005 22:02:37 +0000 (22:02 +0000)]
Use RPC for making calls to the Service Control Manager.

svn path=/trunk/; revision=14630

16 years agoRemoved need for separately prefixed binutils.
Art Yerkes [Fri, 15 Apr 2005 19:33:51 +0000 (19:33 +0000)]
Removed need for separately prefixed binutils.

svn path=/trunk/; revision=14629

16 years agoSupport in-pointers to structs.
Eric Kohl [Fri, 15 Apr 2005 17:56:40 +0000 (17:56 +0000)]
Support in-pointers to structs.

svn path=/trunk/; revision=14628

16 years agoAdd ASSERTs
Hervé Poussineau [Fri, 15 Apr 2005 15:56:19 +0000 (15:56 +0000)]
Correct a bug when processing IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / TargetDeviceRelation (serenum)
Don't breakpoint if NDEBUG is defined (serenum)
Allow to write more than 16 bytes in one IRP_MJ_WRITE (serial)

svn path=/trunk/; revision=14627

16 years agouse the correct version of KeGetCurrentIrql for MP
Thomas Bluemel [Fri, 15 Apr 2005 10:52:29 +0000 (10:52 +0000)]
use the correct version of KeGetCurrentIrql for MP

svn path=/trunk/; revision=14626

16 years agoImplemented Guarded Mutex, a drop-in replacement for Fast Mutex (the correct one...
Alex Ionescu [Fri, 15 Apr 2005 06:24:35 +0000 (06:24 +0000)]
Implemented Guarded Mutex, a drop-in replacement for Fast Mutex (the correct one, not the one ROS incorrectly implements) on NT 5.2. Not fully tested yet, so nothing switched to it and probably not usable. Also made KeGetCurrentThread/Irql become inlined, since this should create quite a speed boost. Made KeLeaveCriticalRegion deliver APCs if possible, and made Crit regions macros usable from outside ntoskrnl thanks to a new NT 5.2 API (KiCheckForKernelApcDelivery). Guarded Mutex code based on Filip Navara.

svn path=/trunk/; revision=14625

16 years agoUse DriverDesc in the registry as the adapter name since the ndis name OID
Art Yerkes [Fri, 15 Apr 2005 00:48:25 +0000 (00:48 +0000)]
Use DriverDesc in the registry as the adapter name since the ndis name OID
seems generally unimplemented.  What a pain.

svn path=/trunk/; revision=14624

16 years agoChange debug messages to more neutral ones
Hervé Poussineau [Thu, 14 Apr 2005 22:41:48 +0000 (22:41 +0000)]
Change debug messages to more neutral ones

svn path=/trunk/; revision=14623

16 years agoSimple Win32/text application to query the SM (incomplete/untested).
Emanuele Aliberti [Thu, 14 Apr 2005 21:46:14 +0000 (21:46 +0000)]
Simple Win32/text application to query the SM (incomplete/untested).

svn path=/trunk/; revision=14621

16 years agocharn <>:
Martin Fuchs [Thu, 14 Apr 2005 20:32:00 +0000 (20:32 +0000)]
charn <>:
A function for desktopbar.cpp that controls how the taskbar can be resized.

svn path=/trunk/; revision=14620

16 years agofrom ThomasLa <>:
Martin Fuchs [Thu, 14 Apr 2005 20:23:02 +0000 (20:23 +0000)]
from ThomasLa <>:

Corrected DE.rc language controls
Modifed EN.rc
implemented part of screensaver functions

Shows Screensavers
Get Some Values from registry
get default screensaver
implemented delete screensavers

svn path=/trunk/; revision=14619

16 years agoadd some missing gdi functions to the driver function table
Thomas Bluemel [Thu, 14 Apr 2005 15:47:03 +0000 (15:47 +0000)]
add some missing gdi functions to the driver function table

svn path=/trunk/; revision=14618

16 years agodefine KGATE in win32api
Thomas Bluemel [Thu, 14 Apr 2005 15:45:14 +0000 (15:45 +0000)]
define KGATE in win32api

svn path=/trunk/; revision=14617

16 years agoSorry, forgot header for API dll communication.
Art Yerkes [Wed, 13 Apr 2005 06:55:26 +0000 (06:55 +0000)]
Sorry, forgot header for API dll communication.

svn path=/trunk/; revision=14605

16 years agoKernel Gates. Ultra-lightweight and exclusive Wait Objects used in NT 5.2+ as high...
Alex Ionescu [Wed, 13 Apr 2005 01:12:08 +0000 (01:12 +0000)]
Kernel Gates. Ultra-lightweight and exclusive Wait Objects used in NT 5.2+ as high-speed events. Code is untested, so it's not added to the build until I'm back in May.

svn path=/trunk/; revision=14603

16 years agoAdded DHCP and dhcpcapi to the makefile.
Art Yerkes [Tue, 12 Apr 2005 23:33:29 +0000 (23:33 +0000)]
Added DHCP and dhcpcapi to the makefile.

svn path=/trunk/; revision=14602

16 years agoPatch by tinus_ to fix a persistent problem with kdbg. Fixes the y umlaut
Art Yerkes [Tue, 12 Apr 2005 23:27:59 +0000 (23:27 +0000)]
Patch by tinus_ to fix a persistent problem with kdbg.  Fixes the y umlaut

svn path=/trunk/; revision=14601

16 years agoFirst instance of DHCP client API. Not tested yet. Next, the control
Art Yerkes [Tue, 12 Apr 2005 23:25:14 +0000 (23:25 +0000)]
First instance of DHCP client API.  Not tested yet.  Next, the control

svn path=/trunk/; revision=14600

16 years agoAdded client API interface.
Art Yerkes [Tue, 12 Apr 2005 23:23:26 +0000 (23:23 +0000)]
Added client API interface.

svn path=/trunk/; revision=14599

16 years agoSM: some server side code for SM_API_QUERY_INFORMATION
Emanuele Aliberti [Tue, 12 Apr 2005 21:25:58 +0000 (21:25 +0000)]
SM: some server side code for SM_API_QUERY_INFORMATION

svn path=/trunk/; revision=14598

16 years agoRemove unneeded hack. DriverEntry is now called only once.
Hervé Poussineau [Mon, 11 Apr 2005 22:38:53 +0000 (22:38 +0000)]
Remove unneeded hack. DriverEntry is now called only once.

svn path=/trunk/; revision=14597

16 years agoRespect OBJ_OPENIF flag in ObCreateObject
Hervé Poussineau [Mon, 11 Apr 2005 22:38:05 +0000 (22:38 +0000)]
Respect OBJ_OPENIF flag in ObCreateObject

svn path=/trunk/; revision=14596

16 years agoOpen \Windows directory if it exists
Hervé Poussineau [Mon, 11 Apr 2005 22:37:46 +0000 (22:37 +0000)]
Open \Windows directory if it exists

svn path=/trunk/; revision=14595

16 years agoDon't call DriverEntry more than once. Fix suggested by Filip Navara.
Hervé Poussineau [Mon, 11 Apr 2005 22:29:31 +0000 (22:29 +0000)]
Don't call DriverEntry more than once. Fix suggested by Filip Navara.

svn path=/trunk/; revision=14594

16 years agosupport kernel handles, creating them is however not yet supported
Thomas Bluemel [Mon, 11 Apr 2005 21:50:15 +0000 (21:50 +0000)]
support kernel handles, creating them is however not yet supported

svn path=/trunk/; revision=14593

16 years agoPackage Manager: fixed HotKeys (thanks to w3seek) *shamed*
Maarten Bosma [Mon, 11 Apr 2005 20:27:20 +0000 (20:27 +0000)]
Package Manager: fixed HotKeys (thanks to w3seek) *shamed*

svn path=/trunk/; revision=14592

16 years agoPackageManager: Bug fix
Maarten Bosma [Mon, 11 Apr 2005 17:59:52 +0000 (17:59 +0000)]
PackageManager: Bug fix

svn path=/trunk/; revision=14590

16 years agoFilip Navara <>: Use correct service name in IopInitializeDriverModule
Hervé Poussineau [Mon, 11 Apr 2005 17:28:14 +0000 (17:28 +0000)]
Filip Navara <>: Use correct service name in IopInitializeDriverModule

svn path=/trunk/; revision=14589

16 years agoCommit for blight: fix stack alignment.
Art Yerkes [Mon, 11 Apr 2005 15:43:04 +0000 (15:43 +0000)]
Commit for blight: fix stack alignment.

svn path=/trunk/; revision=14588

16 years agoInitial version of uhci driver import from Linux 2.5 kernel. Currently compiles and...
Aleksey Bragin [Mon, 11 Apr 2005 12:49:25 +0000 (12:49 +0000)]
Initial version of uhci driver import from Linux 2.5 kernel. Currently compiles and links, but not usable (most probably will bugcheck when loaded).
Also a lot of compile warnings exist.
I will update UsbStack wiki page sometime soon to reflect direction of my work.

svn path=/trunk/; revision=14587

16 years agoUse the right set (the referenced file objects) to compare when killing
Art Yerkes [Mon, 11 Apr 2005 08:41:58 +0000 (08:41 +0000)]
Use the right set (the referenced file objects) to compare when killing
exclusive select objects.  This fixes the select leakage observed when
running Xircon.

svn path=/trunk/; revision=14586

16 years agoFixed warning, uninitialized length. Sorry, I did this in a different way
Art Yerkes [Mon, 11 Apr 2005 08:07:41 +0000 (08:07 +0000)]
Fixed warning, uninitialized length.  Sorry, I did this in a different way
and missed one use of NewBufferLen.  Not sure why I don't see the 'might be
used uninitialized' warning.

svn path=/trunk/; revision=14585

16 years agolock: Fixes suggested by w3seek:
Art Yerkes [Mon, 11 Apr 2005 06:03:20 +0000 (06:03 +0000)]
lock: Fixes suggested by w3seek:
protect the remaining MmProbeAndLockPages
don't return from the exception handler

read: Hopefully the last indecision in here:

Avoid using AFD_EVENT_CLOSE until the socket is really toast.
Use AFD_EVENT_DISCONNECT instead when we've got an EOF, but still have
buffered data.
I was doing this socket fiddling without a callout block.  Fixed.

svn path=/trunk/; revision=14584

16 years agoStarted implementing Locale property page of intl.cpl appltet. It already provides...
Aleksey Bragin [Sun, 10 Apr 2005 21:01:13 +0000 (21:01 +0000)]
Started implementing Locale property page of intl.cpl appltet. It already provides choices for locale, the only thing it doesn't do - actually set chosen locale. Also it doesn't work under ReactOS.

svn path=/trunk/; revision=14583

16 years agoSM: initial work on SM_API_QUERY_INFORMATION (client side; ROS specific).
Emanuele Aliberti [Sun, 10 Apr 2005 19:08:23 +0000 (19:08 +0000)]
SM: initial work on SM_API_QUERY_INFORMATION (client side; ROS specific).
SM: fixed connection data in callback SM->subsystem_server during ss registration

svn path=/trunk/; revision=14581

16 years agoPackageManager: Cmdline fix
Maarten Bosma [Sun, 10 Apr 2005 17:03:40 +0000 (17:03 +0000)]
PackageManager: Cmdline fix

svn path=/trunk/; revision=14580

16 years agoAdded dependency tracking.
Hartmut Birr [Sun, 10 Apr 2005 16:45:30 +0000 (16:45 +0000)]
Added dependency tracking.

svn path=/trunk/; revision=14579

16 years agoSet a better value for gap3 on read/write requests.
Hartmut Birr [Sun, 10 Apr 2005 16:44:00 +0000 (16:44 +0000)]
Set a better value for gap3 on read/write requests.

svn path=/trunk/; revision=14578

16 years agoMade the hard coded value for the HUT a little bit longer.
Hartmut Birr [Sun, 10 Apr 2005 16:41:32 +0000 (16:41 +0000)]
Made the hard coded value for the HUT a little bit longer.

svn path=/trunk/; revision=14577

16 years agoPackageManager: Depencies
Maarten Bosma [Sun, 10 Apr 2005 15:34:15 +0000 (15:34 +0000)]
PackageManager: Depencies

svn path=/trunk/; revision=14576

16 years agoChange OsLoadOptions back to the default value
Aleksey Bragin [Sun, 10 Apr 2005 14:16:38 +0000 (14:16 +0000)]
Change OsLoadOptions back to the default value

svn path=/trunk/; revision=14574

16 years agoAdd russian keyboard layout to HKLM\...\KeyboardLayours, and also add kbdru.dll into...
Aleksey Bragin [Sun, 10 Apr 2005 14:02:31 +0000 (14:02 +0000)]
Add russian keyboard layout to HKLM\...\KeyboardLayours, and also add kbdru.dll into reactos.dff (as pointed again by unC0Rr :-))

svn path=/trunk/; revision=14573

16 years agoAdded kbdru.dll into build process
Aleksey Bragin [Sun, 10 Apr 2005 11:37:57 +0000 (11:37 +0000)]
Added kbdru.dll into build process

svn path=/trunk/; revision=14572

16 years agoFix incorrect file name of kgbgb.dll to kbduk.dll (by unC0Rr), added kbdru.dll into...
Aleksey Bragin [Sun, 10 Apr 2005 11:35:19 +0000 (11:35 +0000)]
Fix incorrect file name of kgbgb.dll to kbduk.dll (by unC0Rr), added kbdru.dll into keyboard layouts

svn path=/trunk/; revision=14571

16 years agoFixed incorrect version (was 1010h) to 1000h, as reported by XP's kbdru.dll
Aleksey Bragin [Sun, 10 Apr 2005 11:18:05 +0000 (11:18 +0000)]
Fixed incorrect version (was 1010h) to 1000h, as reported by XP's kbdru.dll

svn path=/trunk/; revision=14570

16 years agoSome minor additions to support newer versions of uhci driver (though doesn't even...
Aleksey Bragin [Sun, 10 Apr 2005 10:20:10 +0000 (10:20 +0000)]
Some minor additions to support newer versions of uhci driver (though doesn't even compile atm).

svn path=/trunk/; revision=14569

16 years ago- Fixed the destination path for installing freeldr on a floppy.
Hartmut Birr [Sun, 10 Apr 2005 10:16:37 +0000 (10:16 +0000)]
- Fixed the destination path for installing freeldr on a floppy.
- Used NtOpenFile for accessing the mbr or the boot sector.

svn path=/trunk/; revision=14568

16 years agoFixed freeldr fat16 boot sector to use the bios provided boot device number instead...
Phillip Susi [Sun, 10 Apr 2005 05:00:27 +0000 (05:00 +0000)]
Fixed freeldr fat16 boot sector to use the bios provided boot device number instead of the ( usually invalid ) one in the boot sector header.

svn path=/trunk/; revision=14567

16 years ago- Pass correct parameters to MmLocateMemoryAreaByAddress in MmLockPagableDataSection.
Filip Navara [Sun, 10 Apr 2005 04:02:54 +0000 (04:02 +0000)]
- Pass correct parameters to MmLocateMemoryAreaByAddress in MmLockPagableDataSection.
- Change UNIMPLEMENTED to DPRINT1 in MmLockPagableSectionByHandle.

svn path=/trunk/; revision=14566

16 years agoFix "make bootcd"
Gé van Geldorp [Sat, 9 Apr 2005 22:37:15 +0000 (22:37 +0000)]
Fix "make bootcd"

svn path=/trunk/; revision=14565

16 years agoImplemented kbdru.dll, tested under Windows XP - works great. Though I would apprecia...
Aleksey Bragin [Sat, 9 Apr 2005 17:33:47 +0000 (17:33 +0000)]
Implemented kbdru.dll, tested under Windows XP - works great. Though I would appreciate more thorough testing.

svn path=/trunk/; revision=14564

16 years agoClose the desktop handle after getting the object pointer.
Hartmut Birr [Sat, 9 Apr 2005 17:10:25 +0000 (17:10 +0000)]
Close the desktop handle after getting the object pointer.

svn path=/trunk/; revision=14563

16 years agosvn path=/trunk/; revision=14562
Maarten Bosma [Sat, 9 Apr 2005 13:48:31 +0000 (13:48 +0000)]
svn path=/trunk/; revision=14562

16 years agoFixed the dereferencing of an existing named object in IoCreateFile.
Hartmut Birr [Sat, 9 Apr 2005 09:40:44 +0000 (09:40 +0000)]
Fixed the dereferencing of an existing named object in IoCreateFile.

svn path=/trunk/; revision=14561

16 years agoObCreateObject should return an existing named object if one already exist.
Hartmut Birr [Sat, 9 Apr 2005 09:37:32 +0000 (09:37 +0000)]
ObCreateObject should return an existing named object if one already exist.

svn path=/trunk/; revision=14560