mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
6f67132686
- No need to use a PCH when compiling a 1-file library. - Add the _NTSYSTEM_ definition. - Since the arbiter.h file is to be included by the users of this library, namely only kernel-mode NT components (incl. NTOS), there is no need to include the standard kernel-mode headers in it. Include these headers instead in the private implementation of the library, arbiter.c.
44 lines
1.2 KiB
C
44 lines
1.2 KiB
C
/*
|
|
* PROJECT: ReactOS Kernel
|
|
* COPYRIGHT: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
* FILE: lib/drivers/arbiter/arbiter.c
|
|
* PURPOSE: Hardware Resources Arbiter Library
|
|
* PROGRAMMERS: Copyright 2020 Vadim Galyant <vgal@rambler.ru>
|
|
*/
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include <ntifs.h>
|
|
#include <ndk/rtltypes.h>
|
|
|
|
#include "arbiter.h"
|
|
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
/* GLOBALS ********************************************************************/
|
|
|
|
/* DATA **********************************************************************/
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
NTSTATUS
|
|
NTAPI
|
|
ArbInitializeArbiterInstance(
|
|
_Inout_ PARBITER_INSTANCE Arbiter,
|
|
_In_ PDEVICE_OBJECT BusDeviceObject,
|
|
_In_ CM_RESOURCE_TYPE ResourceType,
|
|
_In_ PCWSTR ArbiterName,
|
|
_In_ PCWSTR OrderName,
|
|
_In_ PARB_TRANSLATE_ORDERING TranslateOrderingFunction)
|
|
{
|
|
NTSTATUS Status;
|
|
|
|
DPRINT("ArbInitializeArbiterInstance: Initializing %S Arbiter\n", ArbiterName);
|
|
UNIMPLEMENTED;
|
|
|
|
Status = STATUS_SUCCESS;
|
|
return Status;
|
|
}
|
|
|
|
/* EOF */
|