Author: cwittich
Date: Thu Jun 11 18:38:52 2015
New Revision: 68105
URL:
http://svn.reactos.org/svn/reactos?rev=68105&view=rev
Log:
[HAL]
replace ' laH' by TAG_HAL
Modified:
trunk/reactos/hal/halppc/generic/pci.c
trunk/reactos/hal/halx86/acpi/halacpi.c
trunk/reactos/hal/halx86/acpi/halpnpdd.c
trunk/reactos/hal/halx86/generic/usage.c
trunk/reactos/hal/halx86/legacy/bussupp.c
trunk/reactos/hal/halx86/legacy/halpnpdd.c
Modified: trunk/reactos/hal/halppc/generic/pci.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halppc/generic/pci.c?r…
==============================================================================
--- trunk/reactos/hal/halppc/generic/pci.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halppc/generic/pci.c [iso-8859-1] Thu Jun 11 18:38:52 2015
@@ -656,7 +656,7 @@
/* Allocate the return structure */
PciRegistryInfo = ExAllocatePoolWithTag(NonPagedPool,
sizeof(PCI_REGISTRY_INFO_INTERNAL),
- ' laH');
+ TAG_HAL);
if (!PciRegistryInfo) return NULL;
/* Fill it out */
Modified: trunk/reactos/hal/halx86/acpi/halacpi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/acpi/halacpi.c?…
==============================================================================
--- trunk/reactos/hal/halx86/acpi/halacpi.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/acpi/halacpi.c [iso-8859-1] Thu Jun 11 18:38:52 2015
@@ -118,7 +118,7 @@
else
{
/* Use Mm pool */
- CachedTable = ExAllocatePoolWithTag(NonPagedPool, Size, ' laH');
+ CachedTable = ExAllocatePoolWithTag(NonPagedPool, Size, TAG_HAL);
}
/* Do we have the cached table? */
@@ -1022,7 +1022,7 @@
ListSize = FIELD_OFFSET(IO_RESOURCE_REQUIREMENTS_LIST, List[0].Descriptors) +
(Count * sizeof(IO_RESOURCE_DESCRIPTOR));
DPRINT("Resource list size: %d\n", ListSize);
- RequirementsList = ExAllocatePoolWithTag(PagedPool, ListSize, ' laH');
+ RequirementsList = ExAllocatePoolWithTag(PagedPool, ListSize, TAG_HAL);
if (RequirementsList)
{
/* Initialize it */
@@ -1042,7 +1042,7 @@
else
{
/* Fail */
- ExFreePoolWithTag(RequirementsList, ' laH');
+ ExFreePoolWithTag(RequirementsList, TAG_HAL);
Status = STATUS_NO_SUCH_DEVICE;
}
}
Modified: trunk/reactos/hal/halx86/acpi/halpnpdd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/acpi/halpnpdd.c…
==============================================================================
--- trunk/reactos/hal/halx86/acpi/halpnpdd.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/acpi/halpnpdd.c [iso-8859-1] Thu Jun 11 18:38:52 2015
@@ -218,7 +218,7 @@
FIELD_OFFSET(DEVICE_RELATIONS,
Objects) +
sizeof(PDEVICE_OBJECT) * PdoCount,
- ' laH');
+ TAG_HAL);
if (!FdoRelations) return STATUS_INSUFFICIENT_RESOURCES;
/* Save our count */
@@ -275,7 +275,7 @@
/* Only one entry */
PdoRelations = ExAllocatePoolWithTag(PagedPool,
sizeof(DEVICE_RELATIONS),
- ' laH');
+ TAG_HAL);
if (!PdoRelations) return STATUS_INSUFFICIENT_RESOURCES;
/* Fill it out and reference us */
@@ -376,12 +376,12 @@
/* Allocate the resourcel ist */
ResourceList = ExAllocatePoolWithTag(PagedPool,
sizeof(CM_RESOURCE_LIST),
- ' laH');
+ TAG_HAL);
if (!ResourceList )
{
/* Fail, no memory */
Status = STATUS_INSUFFICIENT_RESOURCES;
- ExFreePoolWithTag(RequirementsList, ' laH');
+ ExFreePoolWithTag(RequirementsList, TAG_HAL);
return Status;
}
@@ -425,7 +425,7 @@
/* Return resources and success */
*Resources = ResourceList;
- ExFreePoolWithTag(RequirementsList, ' laH');
+ ExFreePoolWithTag(RequirementsList, TAG_HAL);
return STATUS_SUCCESS;
}
@@ -541,7 +541,7 @@
/* Allocate the buffer */
Buffer = ExAllocatePoolWithTag(PagedPool,
Length + sizeof(UNICODE_NULL),
- ' laH');
+ TAG_HAL);
if (Buffer)
{
/* Copy the string and null-terminate it */
@@ -607,7 +607,7 @@
/* Allocate the buffer */
Buffer = ExAllocatePoolWithTag(PagedPool,
Length + sizeof(UNICODE_NULL),
- ' laH');
+ TAG_HAL);
if (Buffer)
{
/* Copy the string and null-terminate it */
Modified: trunk/reactos/hal/halx86/generic/usage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/usage.c…
==============================================================================
--- trunk/reactos/hal/halx86/generic/usage.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/generic/usage.c [iso-8859-1] Thu Jun 11 18:38:52 2015
@@ -261,8 +261,8 @@
HalpBuildAddressMap();
/* Allocate the master raw and translated lists */
- RawList = ExAllocatePoolWithTag(NonPagedPool, PAGE_SIZE * 2, ' laH');
- TranslatedList = ExAllocatePoolWithTag(NonPagedPool, PAGE_SIZE * 2, ' laH');
+ RawList = ExAllocatePoolWithTag(NonPagedPool, PAGE_SIZE * 2, TAG_HAL);
+ TranslatedList = ExAllocatePoolWithTag(NonPagedPool, PAGE_SIZE * 2, TAG_HAL);
if (!(RawList) || !(TranslatedList))
{
/* Bugcheck the system */
Modified: trunk/reactos/hal/halx86/legacy/bussupp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/legacy/bussupp.…
==============================================================================
--- trunk/reactos/hal/halx86/legacy/bussupp.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/legacy/bussupp.c [iso-8859-1] Thu Jun 11 18:38:52 2015
@@ -50,7 +50,7 @@
/* Allocate address ranges and zero them out */
Bus->BusAddresses = ExAllocatePoolWithTag(NonPagedPoolMustSucceed,
sizeof(SUPPORTED_RANGES),
- ' laH');
+ TAG_HAL);
RtlZeroMemory(Bus->BusAddresses, sizeof(SUPPORTED_RANGES));
/* Build the data structure */
Modified: trunk/reactos/hal/halx86/legacy/halpnpdd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/legacy/halpnpdd…
==============================================================================
--- trunk/reactos/hal/halx86/legacy/halpnpdd.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/legacy/halpnpdd.c [iso-8859-1] Thu Jun 11 18:38:52 2015
@@ -210,7 +210,7 @@
FIELD_OFFSET(DEVICE_RELATIONS,
Objects) +
sizeof(PDEVICE_OBJECT) * PdoCount,
- ' laH');
+ TAG_HAL);
if (!FdoRelations) return STATUS_INSUFFICIENT_RESOURCES;
/* Save our count */
@@ -267,7 +267,7 @@
/* Only one entry */
PdoRelations = ExAllocatePoolWithTag(PagedPool,
sizeof(DEVICE_RELATIONS),
- ' laH');
+ TAG_HAL);
if (!PdoRelations) return STATUS_INSUFFICIENT_RESOURCES;
/* Fill it out and reference us */
@@ -370,12 +370,12 @@
/* Allocate the resourcel ist */
ResourceList = ExAllocatePoolWithTag(PagedPool,
sizeof(CM_RESOURCE_LIST),
- ' laH');
+ TAG_HAL);
if (!ResourceList )
{
/* Fail, no memory */
Status = STATUS_INSUFFICIENT_RESOURCES;
-// ExFreePoolWithTag(RequirementsList, ' laH');
+// ExFreePoolWithTag(RequirementsList, TAG_HAL);
return Status;
}
@@ -421,7 +421,7 @@
/* Return resources and success */
*Resources = ResourceList;
-// ExFreePoolWithTag(RequirementsList, ' laH');
+// ExFreePoolWithTag(RequirementsList, TAG_HAL);
return STATUS_SUCCESS;
}
@@ -539,7 +539,7 @@
/* Allocate the buffer */
Buffer = ExAllocatePoolWithTag(PagedPool,
Length + sizeof(UNICODE_NULL),
- ' laH');
+ TAG_HAL);
if (Buffer)
{
/* Copy the string and null-terminate it */
@@ -605,7 +605,7 @@
/* Allocate the buffer */
Buffer = ExAllocatePoolWithTag(PagedPool,
Length + sizeof(UNICODE_NULL),
- ' laH');
+ TAG_HAL);
if (Buffer)
{
/* Copy the string and null-terminate it */