Standardize comment headers. Patch by Trevor McCort
[reactos.git] / reactos / ntoskrnl / mm / drvlck.c
1 /* $Id$
2 *
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/mm/drvlck.c
6 * PURPOSE: Managing driver managing
7 *
8 * PROGRAMMERS: David Welch (welch@mcmail.com)
9 */
10
11 /* INCLUDES *****************************************************************/
12
13 #include <ntoskrnl.h>
14 #include <internal/debug.h>
15
16 /* FUNCTIONS *****************************************************************/
17
18 #if 0
19 VOID
20 MmUnlockPagableImageSection(IN PVOID ImageSectionHandle)
21 /*
22 * FUNCTION: Releases a section of driver code or driver data, previously
23 * locked into system space with MmLockPagableCodeSection,
24 * MmLockPagableDataSection or MmLockPagableSectionByHandle
25 * ARGUMENTS:
26 * ImageSectionHandle = Handle returned by MmLockPagableCodeSection or
27 * MmLockPagableDataSection
28 */
29 {
30 // MmUnlockMemoryArea((MEMORY_AREA *)ImageSectionHandle);
31 UNIMPLEMENTED;
32 }
33 #endif
34
35
36 /*
37 * @unimplemented
38 */
39 VOID STDCALL
40 MmLockPagableSectionByHandle(IN PVOID ImageSectionHandle)
41 {
42 // MmLockMemoryArea((MEMORY_AREA *)ImageSectionHandle);
43 UNIMPLEMENTED;
44 }
45
46
47 #if 0
48 PVOID
49 MmLockPagableCodeSection(IN PVOID AddressWithinSection)
50 {
51 PVOID Handle;
52 Handle = MmLocateMemoryAreaByAddress(NULL,AddressWithinSection);
53 MmLockPagableSectionByHandle(Handle);
54 return(Handle);
55 }
56 #endif
57
58
59 /*
60 * @implemented
61 */
62 PVOID STDCALL
63 MmLockPagableDataSection(IN PVOID AddressWithinSection)
64 {
65 PVOID Handle;
66 Handle = MmLocateMemoryAreaByAddress(NULL, AddressWithinSection);
67 MmLockPagableSectionByHandle(Handle);
68 return(Handle);
69 }
70
71
72 /*
73 * @unimplemented
74 */
75 VOID STDCALL
76 MmUnlockPagableImageSection(IN PVOID ImageSectionHandle)
77 {}
78
79
80 /*
81 * @unimplemented
82 */
83 VOID STDCALL
84 MmPageEntireDriver(IN PVOID AddressWithinSection)
85 {}
86
87
88 /*
89 * @unimplemented
90 */
91 VOID STDCALL
92 MmResetDriverPaging(IN PVOID AddressWithinSection)
93 {}
94
95 /* EOF */