[NTOS][SDK:LIB] Add a Resources Arbiter library, to be used by bus drivers (acpi, pci), kernel and legacy hal (PIC HAL). (#2471)

This commit is contained in:
Vadim Galyant 2020-03-26 18:45:59 +04:00 committed by Hermès Bélusca-Maïto
parent 28e277b65f
commit 374f2b4d98
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
10 changed files with 470 additions and 4 deletions

View file

@ -0,0 +1,41 @@
/*
* 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 *******************************************************************/
#define NDEBUG
#include <debug.h>
#include "arbiter.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 */