#include "acpi.h"
#include "accommon.h"
#include "acnamesp.h"
Go to the source code of this file.
◆ _COMPONENT
◆ AcpiUtAddAddressRange()
Definition at line 78 of file utaddress.c.
83{
85
86
88
89
92 {
94 }
95
96
97
99 if (!RangeInfo)
100 {
102 }
103
107
108 RangeInfo->
Next = AcpiGbl_AddressRangeList[
SpaceId];
109 AcpiGbl_AddressRangeList[
SpaceId] = RangeInfo;
110
112 "\nAdded [%4.4s] address range: 0x%8.8X%8.8X-0x%8.8X%8.8X\n",
116
118}
#define ACPI_FORMAT_UINT64(i)
#define ACPI_DEBUG_PRINT(pl)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING ACPI_OBJECT_LIST ACPI_BUFFER *ReturnObjectBuffer ACPI_DEVICE_INFO **ReturnBuffer ACPI_HANDLE ACPI_HANDLE ACPI_HANDLE *OutHandle ACPI_HANDLE *OutHandle void *Context void *Context ACPI_EVENT_HANDLER Handler UINT32 UINT32 ACPI_GPE_HANDLER void *Context UINT32 ACPI_NOTIFY_HANDLER void *Context ACPI_ADR_SPACE_TYPE SpaceId
#define ACPI_ADR_SPACE_SYSTEM_IO
#define ACPI_ADR_SPACE_SYSTEM_MEMORY
const char * AcpiUtGetNodeName(void *Object)
_In_ ULONG _In_ ULONG _In_ ULONG Length
ACPI_PHYSICAL_ADDRESS EndAddress
struct acpi_address_range * Next
ACPI_PHYSICAL_ADDRESS StartAddress
ACPI_NAMESPACE_NODE * RegionNode
Referenced by AcpiDsEvalRegionOperands(), and AcpiDsGetRegionArguments().
◆ AcpiUtCheckAddressRange()
Definition at line 211 of file utaddress.c.
216{
218 ACPI_PHYSICAL_ADDRESS EndAddress;
221
222
224
225
228 {
230 }
231
232 RangeInfo = AcpiGbl_AddressRangeList[
SpaceId];
234
235
236
237 while (RangeInfo)
238 {
239
240
241
242
243
244
245
246
247
248
249 if ((Address <= RangeInfo->EndAddress) &&
251 {
252
253
254 OverlapCount++;
256 {
258
260 "%s range 0x%8.8X%8.8X-0x%8.8X%8.8X conflicts with OpRegion 0x%8.8X%8.8X-0x%8.8X%8.8X (%s)",
268 }
269 }
270
271 RangeInfo = RangeInfo->
Next;
272 }
273
275}
char * AcpiNsGetNormalizedPathname(ACPI_NAMESPACE_NODE *Node, BOOLEAN NoTrailing)
#define ACPI_WARNING(plist)
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING Pathname
const char * AcpiUtGetRegionName(UINT8 SpaceId)
Referenced by AcpiCheckAddressRange().
◆ AcpiUtDeleteAddressLists()
Definition at line 292 of file utaddress.c.
294{
298
299
300
301
303 {
304 Next = AcpiGbl_AddressRangeList[
i];
305
306 while (Next)
307 {
308 RangeInfo = Next;
309 Next = RangeInfo->
Next;
311 }
312
313 AcpiGbl_AddressRangeList[
i] =
NULL;
314 }
315}
#define ACPI_ADDRESS_RANGE_MAX
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Referenced by AcpiUtTerminate().
◆ AcpiUtRemoveAddressRange()
Definition at line 139 of file utaddress.c.
142{
145
146
148
149
152 {
154 }
155
156
157
158 RangeInfo = Prev = AcpiGbl_AddressRangeList[
SpaceId];
159 while (RangeInfo)
160 {
162 {
163 if (RangeInfo == Prev)
164 {
165 AcpiGbl_AddressRangeList[
SpaceId] = RangeInfo->
Next;
166 }
167 else
168 {
170 }
171
173 "\nRemoved [%4.4s] address range: 0x%8.8X%8.8X-0x%8.8X%8.8X\n",
177
180 }
181
182 Prev = RangeInfo;
183 RangeInfo = RangeInfo->
Next;
184 }
185
187}
Referenced by AcpiNsDetachObject(), and AcpiUtDeleteInternalObj().