- Whitespace files.
- Add missing PSEH inclusion (that can be detected if one comments the objbase.h include in rtl.h ...)

[MKHIVE]
Code cleanup + add a comment to explain what this ntoskrnl.h file is.

svn path=/trunk/; revision=66138
This commit is contained in:
Hermès Bélusca-Maïto 2015-02-01 13:33:06 +00:00
parent 5a6cb60c3d
commit b799bbb859
26 changed files with 77 additions and 57 deletions

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* FILE: lib/rtl/access.c * FILE: lib/rtl/access.c
* PURPOSE: Access rights handling functions * PURPOSE: Access rights handling functions

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* PURPOSE: Security manager * PURPOSE: Security manager
* FILE: lib/rtl/acl.c * FILE: lib/rtl/acl.c

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* FILE: lib/rtl/atom.c * FILE: lib/rtl/atom.c
* PURPOSE: Atom managment * PURPOSE: Atom managment

View file

@ -1,10 +1,10 @@
/* /*
* PROJECT: ReactOS Runtime Library * PROJECT: ReactOS Runtime Library
* LICENSE: BSD - See COPYING.ARM in the top level directory * LICENSE: BSD - See COPYING.ARM in the top level directory
* FILE: lib/rtl/avltable.c * FILE: lib/rtl/avltable.c
* PURPOSE: AVL Tree Generic Table Implementation * PURPOSE: AVL Tree Generic Table Implementation
* PROGRAMMERS: ReactOS Portable Systems Group * PROGRAMMERS: ReactOS Portable Systems Group
*/ */
/* INCLUDES ******************************************************************/ /* INCLUDES ******************************************************************/

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* PURPOSE: Boot Data implementation * PURPOSE: Boot Data implementation
* FILE: lib/rtl/bootdata.c * FILE: lib/rtl/bootdata.c

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* FILE: lib/rtl/mem.c * FILE: lib/rtl/mem.c
* PURPOSE: Memory functions * PURPOSE: Memory functions

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* PURPOSE: Compression and decompression functions * PURPOSE: Compression and decompression functions
* FILE: lib/rtl/compress.c * FILE: lib/rtl/compress.c

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* PURPOSE: crc32 functions * PURPOSE: crc32 functions
* FILE: lib/rtl/crc32.c * FILE: lib/rtl/crc32.c

View file

@ -1,8 +1,9 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* PROJECT: ReactOS system libraries * COPYRIGHT: See COPYING in the top level directory
* FILE: lib/rtl/dbgbuffer.c * PROJECT: ReactOS system libraries
* PROGRAMER: James Tabor * FILE: lib/rtl/dbgbuffer.c
*/ * PROGRAMER: James Tabor
*/
/* INCLUDES *****************************************************************/ /* INCLUDES *****************************************************************/
@ -14,8 +15,8 @@
/* FUNCTIONS *****************************************************************/ /* FUNCTIONS *****************************************************************/
/* /*
* @unimplemented * @unimplemented
*/ */
PRTL_DEBUG_INFORMATION PRTL_DEBUG_INFORMATION
NTAPI NTAPI
RtlCreateQueryDebugBuffer(IN ULONG Size, RtlCreateQueryDebugBuffer(IN ULONG Size,
@ -42,8 +43,8 @@ RtlCreateQueryDebugBuffer(IN ULONG Size,
} }
/* /*
* @unimplemented * @unimplemented
*/ */
NTSTATUS NTSTATUS
NTAPI NTAPI
RtlDestroyQueryDebugBuffer(IN PRTL_DEBUG_INFORMATION Buf) RtlDestroyQueryDebugBuffer(IN PRTL_DEBUG_INFORMATION Buf)
@ -66,9 +67,8 @@ RtlDestroyQueryDebugBuffer(IN PRTL_DEBUG_INFORMATION Buf)
} }
/* /*
* Based on lib/epsapi/enum/modules.c by KJK::Hyperion. * Based on lib/epsapi/enum/modules.c by KJK::Hyperion.
* */
*/
NTSTATUS NTSTATUS
NTAPI NTAPI
RtlpQueryRemoteProcessModules(HANDLE ProcessHandle, RtlpQueryRemoteProcessModules(HANDLE ProcessHandle,
@ -233,8 +233,8 @@ RtlpQueryRemoteProcessModules(HANDLE ProcessHandle,
} }
/* /*
* @unimplemented * @unimplemented
*/ */
NTSTATUS NTSTATUS
NTAPI NTAPI
RtlQueryProcessDebugInformation(IN ULONG ProcessId, RtlQueryProcessDebugInformation(IN ULONG ProcessId,

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* FILE: lib/rtl/dos8dot3.c * FILE: lib/rtl/dos8dot3.c
* PURPOSE: Short name (8.3 name) functions * PURPOSE: Short name (8.3 name) functions

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* PURPOSE: Security descriptor functions * PURPOSE: Security descriptor functions
* FILE: lib/rtl/encode.c * FILE: lib/rtl/encode.c

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS Runtime Library * PROJECT: ReactOS Runtime Library
* PURPOSE: User-Mode Exception Support * PURPOSE: User-Mode Exception Support
* FILE: lib/rtl/exception.c * FILE: lib/rtl/exception.c

View file

@ -1,10 +1,10 @@
/* /*
* PROJECT: ReactOS Runtime Library * PROJECT: ReactOS Runtime Library
* LICENSE: GPL - See COPYING in the top level directory * LICENSE: GPL - See COPYING in the top level directory
* FILE: lib/rtl/generictable.c * FILE: lib/rtl/generictable.c
* PURPOSE: Splay Tree Generic Table Implementation * PURPOSE: Splay Tree Generic Table Implementation
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org) * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
*/ */
/* INCLUDES ******************************************************************/ /* INCLUDES ******************************************************************/

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* PURPOSE: Handle table * PURPOSE: Handle table
* FILE: lib/rtl/handle.c * FILE: lib/rtl/handle.c

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* FILE: lib/rtl/heap.c * FILE: lib/rtl/heap.c
* PURPOSE: RTL Heap backend allocator * PURPOSE: RTL Heap backend allocator

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* FILE: lib/rtl/heappage.c * FILE: lib/rtl/heappage.c
* PURPOSE: RTL Page Heap implementation * PURPOSE: RTL Page Heap implementation

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* FILE: lib/rtl/heap.c * FILE: lib/rtl/heap.c
* PURPOSE: RTL Heap backend allocator (user mode only functions) * PURPOSE: RTL Heap backend allocator (user mode only functions)

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* FILE: lib/rtl/image.c * FILE: lib/rtl/image.c
* PURPOSE: Image handling functions * PURPOSE: Image handling functions

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* FILE: lib/rtl/largeint.c * FILE: lib/rtl/largeint.c
* PURPOSE: Large integer operations * PURPOSE: Large integer operations

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* PURPOSE: Locally unique identifier (LUID) helper functions * PURPOSE: Locally unique identifier (LUID) helper functions
* FILE: lib/rtl/luid.c * FILE: lib/rtl/luid.c

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* FILE: lib/rtl/mem.c * FILE: lib/rtl/mem.c
* PURPOSE: Memory functions * PURPOSE: Memory functions

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* FILE: lib/rtl/mem.c * FILE: lib/rtl/mem.c
* PURPOSE: MemoryStream functions * PURPOSE: MemoryStream functions

View file

@ -1,4 +1,5 @@
/* COPYRIGHT: See COPYING in the top level directory /*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
* FILE: lib/rtl/message.c * FILE: lib/rtl/message.c
* PURPOSE: Message table functions * PURPOSE: Message table functions

View file

@ -39,6 +39,9 @@
#include <ndk/sefuncs.h> #include <ndk/sefuncs.h>
#include <ndk/umfuncs.h> #include <ndk/umfuncs.h>
/* SEH support with PSEH */
#include <pseh/pseh2.h>
/* Internal RTL header */ /* Internal RTL header */
#include "rtlp.h" #include "rtlp.h"

View file

@ -219,7 +219,7 @@ CmiAllocateHashTableCell (
return Status; return Status;
} }
NTSTATUS static NTSTATUS
CmiCreateSubKey( CmiCreateSubKey(
IN PCMHIVE RegistryHive, IN PCMHIVE RegistryHive,
IN HCELL_INDEX ParentKeyCellOffset, IN HCELL_INDEX ParentKeyCellOffset,
@ -363,6 +363,7 @@ CmiAddSubKey(
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
#if 0 // Those two functions seem to be unused, but keep them just in case we may need to use them in the future...
static BOOLEAN static BOOLEAN
CmiCompareHash( CmiCompareHash(
IN PCUNICODE_STRING KeyName, IN PCUNICODE_STRING KeyName,
@ -378,8 +379,7 @@ CmiCompareHash(
return (strncmp(Buffer, HashString, 4) == 0); return (strncmp(Buffer, HashString, 4) == 0);
} }
static BOOLEAN
BOOLEAN
CmiCompareHashI( CmiCompareHashI(
IN PCUNICODE_STRING KeyName, IN PCUNICODE_STRING KeyName,
IN PCHAR HashString) IN PCHAR HashString)
@ -393,6 +393,7 @@ CmiCompareHashI(
return (strncasecmp(Buffer, HashString, 4) == 0); return (strncasecmp(Buffer, HashString, 4) == 0);
} }
#endif
NTSTATUS NTSTATUS
CmiScanForSubKey( CmiScanForSubKey(

View file

@ -1,10 +1,6 @@
/*
* This header is used together with cmindex.c and cmname.c
*/
#define NDEBUG #define NDEBUG
#include "mkhive.h" #include "mkhive.h"
PVOID
NTAPI
CmpAllocate(
IN SIZE_T Size,
IN BOOLEAN Paged,
IN ULONG Tag
);