mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[HAL]
replace ' laH' by TAG_HAL svn path=/trunk/; revision=68105
This commit is contained in:
parent
67e8c26969
commit
658c64a7fe
6 changed files with 21 additions and 21 deletions
|
@ -656,7 +656,7 @@ HalpQueryPciRegistryInfo(VOID)
|
|||
/* Allocate the return structure */
|
||||
PciRegistryInfo = ExAllocatePoolWithTag(NonPagedPool,
|
||||
sizeof(PCI_REGISTRY_INFO_INTERNAL),
|
||||
' laH');
|
||||
TAG_HAL);
|
||||
if (!PciRegistryInfo) return NULL;
|
||||
|
||||
/* Fill it out */
|
||||
|
|
|
@ -118,7 +118,7 @@ HalpAcpiCopyBiosTable(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
|
|||
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 @@ HalpQueryAcpiResourceRequirements(OUT PIO_RESOURCE_REQUIREMENTS_LIST *Requiremen
|
|||
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 @@ HalpQueryAcpiResourceRequirements(OUT PIO_RESOURCE_REQUIREMENTS_LIST *Requiremen
|
|||
else
|
||||
{
|
||||
/* Fail */
|
||||
ExFreePoolWithTag(RequirementsList, ' laH');
|
||||
ExFreePoolWithTag(RequirementsList, TAG_HAL);
|
||||
Status = STATUS_NO_SUCH_DEVICE;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -218,7 +218,7 @@ HalpQueryDeviceRelations(IN PDEVICE_OBJECT DeviceObject,
|
|||
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 @@ HalpQueryDeviceRelations(IN PDEVICE_OBJECT DeviceObject,
|
|||
/* 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 @@ HalpQueryResources(IN PDEVICE_OBJECT DeviceObject,
|
|||
/* 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 @@ HalpQueryResources(IN PDEVICE_OBJECT DeviceObject,
|
|||
/* Return resources and success */
|
||||
*Resources = ResourceList;
|
||||
|
||||
ExFreePoolWithTag(RequirementsList, ' laH');
|
||||
ExFreePoolWithTag(RequirementsList, TAG_HAL);
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
@ -541,7 +541,7 @@ HalpQueryIdPdo(IN PDEVICE_OBJECT DeviceObject,
|
|||
/* 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 @@ HalpQueryIdFdo(IN PDEVICE_OBJECT DeviceObject,
|
|||
/* Allocate the buffer */
|
||||
Buffer = ExAllocatePoolWithTag(PagedPool,
|
||||
Length + sizeof(UNICODE_NULL),
|
||||
' laH');
|
||||
TAG_HAL);
|
||||
if (Buffer)
|
||||
{
|
||||
/* Copy the string and null-terminate it */
|
||||
|
|
|
@ -261,8 +261,8 @@ HalpReportResourceUsage(IN PUNICODE_STRING HalName,
|
|||
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 */
|
||||
|
|
|
@ -50,7 +50,7 @@ HalpAllocateBusHandler(IN INTERFACE_TYPE InterfaceType,
|
|||
/* 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 */
|
||||
|
|
|
@ -210,7 +210,7 @@ HalpQueryDeviceRelations(IN PDEVICE_OBJECT DeviceObject,
|
|||
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 @@ HalpQueryDeviceRelations(IN PDEVICE_OBJECT DeviceObject,
|
|||
/* 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 @@ HalpQueryResources(IN PDEVICE_OBJECT DeviceObject,
|
|||
/* 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 @@ HalpQueryResources(IN PDEVICE_OBJECT DeviceObject,
|
|||
/* Return resources and success */
|
||||
*Resources = ResourceList;
|
||||
|
||||
// ExFreePoolWithTag(RequirementsList, ' laH');
|
||||
// ExFreePoolWithTag(RequirementsList, TAG_HAL);
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
@ -539,7 +539,7 @@ HalpQueryIdPdo(IN PDEVICE_OBJECT DeviceObject,
|
|||
/* 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 @@ HalpQueryIdFdo(IN PDEVICE_OBJECT DeviceObject,
|
|||
/* Allocate the buffer */
|
||||
Buffer = ExAllocatePoolWithTag(PagedPool,
|
||||
Length + sizeof(UNICODE_NULL),
|
||||
' laH');
|
||||
TAG_HAL);
|
||||
if (Buffer)
|
||||
{
|
||||
/* Copy the string and null-terminate it */
|
||||
|
|
Loading…
Reference in a new issue