mirror of
https://github.com/reactos/reactos.git
synced 2024-11-06 06:33:08 +00:00
527f2f9057
* Create a branch for some evul shell experiments. svn path=/branches/shell-experiments/; revision=61927
71 lines
1.7 KiB
C
71 lines
1.7 KiB
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS Kernel
|
|
* FILE: ntoskrnl/cache/logsup.c
|
|
* PURPOSE: Logging and configuration routines
|
|
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
|
|
*/
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include <ntoskrnl.h>
|
|
#include "newcc.h"
|
|
//#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
/* GLOBALS ********************************************************************/
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
VOID
|
|
NTAPI
|
|
CcSetAdditionalCacheAttributes(IN PFILE_OBJECT FileObject,
|
|
IN BOOLEAN DisableReadAhead,
|
|
IN BOOLEAN DisableWriteBehind)
|
|
{
|
|
UNIMPLEMENTED_DBGBREAK();
|
|
}
|
|
|
|
VOID
|
|
NTAPI
|
|
CcSetLogHandleForFile(IN PFILE_OBJECT FileObject,
|
|
IN PVOID LogHandle,
|
|
IN PFLUSH_TO_LSN FlushToLsnRoutine)
|
|
{
|
|
PNOCC_CACHE_MAP Map = FileObject->SectionObjectPointer->SharedCacheMap;
|
|
if (!Map) return;
|
|
Map->LogHandle = LogHandle;
|
|
Map->FlushToLsn = FlushToLsnRoutine;
|
|
}
|
|
|
|
LARGE_INTEGER
|
|
NTAPI
|
|
CcGetDirtyPages(IN PVOID LogHandle,
|
|
IN PDIRTY_PAGE_ROUTINE DirtyPageRoutine,
|
|
IN PVOID Context1,
|
|
IN PVOID Context2)
|
|
{
|
|
LARGE_INTEGER Result = {{0}};
|
|
UNIMPLEMENTED_DBGBREAK();
|
|
return Result;
|
|
}
|
|
|
|
BOOLEAN
|
|
NTAPI
|
|
CcIsThereDirtyData(IN PVPB Vpb)
|
|
{
|
|
UNIMPLEMENTED_DBGBREAK();
|
|
return FALSE;
|
|
}
|
|
|
|
LARGE_INTEGER
|
|
NTAPI
|
|
CcGetLsnForFileObject(IN PFILE_OBJECT FileObject,
|
|
OUT OPTIONAL PLARGE_INTEGER OldestLsn)
|
|
{
|
|
LARGE_INTEGER Result = {{0}};
|
|
UNIMPLEMENTED_DBGBREAK();
|
|
return Result;
|
|
}
|
|
|
|
/* EOF */
|