mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 16:51:18 +00:00
- Fix some small formatting issues.
svn path=/trunk/; revision=20427
This commit is contained in:
parent
39f36b9840
commit
e642f64e26
3 changed files with 17 additions and 23 deletions
|
@ -3,7 +3,6 @@
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/ex/lookas.c
|
* FILE: ntoskrnl/ex/lookas.c
|
||||||
* PURPOSE: Lookaside lists
|
* PURPOSE: Lookaside lists
|
||||||
*
|
|
||||||
* PROGRAMMERS: Alex Ionescu (alex@relsoft.net)
|
* PROGRAMMERS: Alex Ionescu (alex@relsoft.net)
|
||||||
* David Welch (welch@mcmail.com)
|
* David Welch (welch@mcmail.com)
|
||||||
* Casper S. Hornstrup (chorns@users.sourceforge.net)
|
* Casper S. Hornstrup (chorns@users.sourceforge.net)
|
||||||
|
@ -185,7 +184,6 @@ ExInitializeNPagedLookasideList(PNPAGED_LOOKASIDE_LIST Lookaside,
|
||||||
&ExpNonPagedLookasideListLock);
|
&ExpNonPagedLookasideListLock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
/* $Id$
|
/*
|
||||||
*
|
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS Kernel
|
||||||
* FILE: ntoskrnl/ex/win32k.c
|
* FILE: ntoskrnl/ex/win32k.c
|
||||||
* PURPOSE: Executive Win32 subsystem support
|
* PURPOSE: Executive Win32 Object Support (Desktop/WinStation)
|
||||||
*
|
* PROGRAMMERS: Alex Ionescu (alex@relsoft.net)
|
||||||
* PROGRAMMERS: Alex Ionescu (alex@relsoft.net) - Moved callbacks to win32k and cleanup.
|
|
||||||
* Casper S. Hornstrup (chorns@users.sourceforge.net)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ntoskrnl.h>
|
#include <ntoskrnl.h>
|
||||||
|
@ -104,7 +101,7 @@ STDCALL
|
||||||
ExpDesktopCreate(PVOID ObjectBody,
|
ExpDesktopCreate(PVOID ObjectBody,
|
||||||
PVOID Parent,
|
PVOID Parent,
|
||||||
PWSTR RemainingPath,
|
PWSTR RemainingPath,
|
||||||
struct _OBJECT_ATTRIBUTES* ObjectAttributes)
|
POBJECT_ATTRIBUTES ObjectAttributes)
|
||||||
{
|
{
|
||||||
/* Call the Registered Callback */
|
/* Call the Registered Callback */
|
||||||
return ExpDesktopObjectCreate(ObjectBody,
|
return ExpDesktopObjectCreate(ObjectBody,
|
||||||
|
@ -128,8 +125,7 @@ ExpWin32kInit(VOID)
|
||||||
{
|
{
|
||||||
OBJECT_TYPE_INITIALIZER ObjectTypeInitializer;
|
OBJECT_TYPE_INITIALIZER ObjectTypeInitializer;
|
||||||
UNICODE_STRING Name;
|
UNICODE_STRING Name;
|
||||||
|
DPRINT("Creating Win32 Object Types\n");
|
||||||
DPRINT("Creating window station Object Type\n");
|
|
||||||
|
|
||||||
/* Create the window station Object Type */
|
/* Create the window station Object Type */
|
||||||
RtlZeroMemory(&ObjectTypeInitializer, sizeof(ObjectTypeInitializer));
|
RtlZeroMemory(&ObjectTypeInitializer, sizeof(ObjectTypeInitializer));
|
||||||
|
@ -140,7 +136,9 @@ ExpWin32kInit(VOID)
|
||||||
ObjectTypeInitializer.OpenProcedure = ExpWinStaObjectOpen;
|
ObjectTypeInitializer.OpenProcedure = ExpWinStaObjectOpen;
|
||||||
ObjectTypeInitializer.DeleteProcedure = ExpWinStaObjectDelete;
|
ObjectTypeInitializer.DeleteProcedure = ExpWinStaObjectDelete;
|
||||||
ObjectTypeInitializer.ParseProcedure = ExpWinStaObjectParse;
|
ObjectTypeInitializer.ParseProcedure = ExpWinStaObjectParse;
|
||||||
ObpCreateTypeObject(&ObjectTypeInitializer, &Name, &ExWindowStationObjectType);
|
ObpCreateTypeObject(&ObjectTypeInitializer,
|
||||||
|
&Name,
|
||||||
|
&ExWindowStationObjectType);
|
||||||
|
|
||||||
/* Create desktop object type */
|
/* Create desktop object type */
|
||||||
RtlInitUnicodeString(&Name, L"Desktop");
|
RtlInitUnicodeString(&Name, L"Desktop");
|
||||||
|
@ -148,7 +146,6 @@ ExpWin32kInit(VOID)
|
||||||
ObjectTypeInitializer.OpenProcedure = NULL;
|
ObjectTypeInitializer.OpenProcedure = NULL;
|
||||||
ObjectTypeInitializer.DeleteProcedure = ExpDesktopDelete;
|
ObjectTypeInitializer.DeleteProcedure = ExpDesktopDelete;
|
||||||
ObjectTypeInitializer.ParseProcedure = NULL;
|
ObjectTypeInitializer.ParseProcedure = NULL;
|
||||||
|
|
||||||
ObpCreateTypeObject(&ObjectTypeInitializer, &Name, &ExDesktopObjectType);
|
ObpCreateTypeObject(&ObjectTypeInitializer, &Name, &ExDesktopObjectType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/ex/zone.c
|
* FILE: ntoskrnl/ex/zone.c
|
||||||
* PURPOSE: Implements zone buffers
|
* PURPOSE: Implements zone buffers
|
||||||
*
|
|
||||||
* PROGRAMMERS: Alex Ionescu (alex@relsoft.net)
|
* PROGRAMMERS: Alex Ionescu (alex@relsoft.net)
|
||||||
* David Welch (welch@mcmail.com)
|
* David Welch (welch@mcmail.com)
|
||||||
*/
|
*/
|
||||||
|
@ -41,7 +40,8 @@ ExExtendZone(PZONE_HEADER Zone,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Link the Zone and Segment */
|
/* Link the Zone and Segment */
|
||||||
PushEntryList(&Zone->SegmentList,&((PZONE_SEGMENT_HEADER)Segment)->SegmentList);
|
PushEntryList(&Zone->SegmentList,
|
||||||
|
&((PZONE_SEGMENT_HEADER)Segment)->SegmentList);
|
||||||
|
|
||||||
/* Get to the first entry */
|
/* Get to the first entry */
|
||||||
Entry = (ULONG_PTR)Segment + sizeof(ZONE_SEGMENT_HEADER);
|
Entry = (ULONG_PTR)Segment + sizeof(ZONE_SEGMENT_HEADER);
|
||||||
|
@ -65,7 +65,6 @@ ExExtendZone(PZONE_HEADER Zone,
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
|
@ -74,7 +73,7 @@ STDCALL
|
||||||
ExInterlockedExtendZone(PZONE_HEADER Zone,
|
ExInterlockedExtendZone(PZONE_HEADER Zone,
|
||||||
PVOID Segment,
|
PVOID Segment,
|
||||||
ULONG SegmentSize,
|
ULONG SegmentSize,
|
||||||
PKSPIN_LOCK Lock)
|
PKSPIN_LOCK Lock)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
KIRQL OldIrql;
|
KIRQL OldIrql;
|
||||||
|
@ -90,7 +89,6 @@ ExInterlockedExtendZone(PZONE_HEADER Zone,
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FUNCTION: Initalizes a zone header
|
* FUNCTION: Initalizes a zone header
|
||||||
* ARGUMENTS:
|
* ARGUMENTS:
|
||||||
|
@ -130,7 +128,8 @@ ExInitializeZone(PZONE_HEADER Zone,
|
||||||
/* Link empty list */
|
/* Link empty list */
|
||||||
Zone->FreeList.Next = NULL;
|
Zone->FreeList.Next = NULL;
|
||||||
Zone->SegmentList.Next = NULL;
|
Zone->SegmentList.Next = NULL;
|
||||||
PushEntryList(&Zone->SegmentList, &((PZONE_SEGMENT_HEADER)InitialSegment)->SegmentList);
|
PushEntryList(&Zone->SegmentList,
|
||||||
|
&((PZONE_SEGMENT_HEADER)InitialSegment)->SegmentList);
|
||||||
((PZONE_SEGMENT_HEADER)InitialSegment)->Reserved = NULL;
|
((PZONE_SEGMENT_HEADER)InitialSegment)->Reserved = NULL;
|
||||||
|
|
||||||
/* Get first entry */
|
/* Get first entry */
|
||||||
|
|
Loading…
Reference in a new issue