Refactor system resources to be able to distinguish if requested resource does not exist or if it is locked and cannot be reused

This commit is contained in:
2024-06-22 18:54:34 +02:00
parent c2db94125d
commit 156cb7bcac
3 changed files with 31 additions and 22 deletions

View File

@@ -521,10 +521,10 @@ typedef struct _SYSTEM_RESOURCE_HEADER
{
LIST_ENTRY ListEntry;
SYSTEM_RESOURCE_TYPE ResourceType;
BOOLEAN ResourceLocked;
ULONG ResourceSize;
PVOID PhysicalAddress;
PVOID VirtualAddress;
BOOLEAN Acquired;
} SYSTEM_RESOURCE_HEADER, *PSYSTEM_RESOURCE_HEADER;
/* ACPI system resource structure definition */