diff options
Diffstat (limited to 'source/components')
-rw-r--r-- | source/components/debugger/dbstats.c | 4 | ||||
-rw-r--r-- | source/components/utilities/utdebug.c | 6 | ||||
-rw-r--r-- | source/components/utilities/utinit.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source/components/debugger/dbstats.c b/source/components/debugger/dbstats.c index b5f31948b..a30d9948d 100644 --- a/source/components/debugger/dbstats.c +++ b/source/components/debugger/dbstats.c @@ -647,8 +647,8 @@ AcpiDbDisplayStatistics ( AcpiGbl_EntryStackPointer, AcpiGbl_LowestStackPointer); AcpiOsPrintf ("\nSubsystem Stack Usage:\n\n"); - AcpiOsPrintf ("Entry Stack Pointer %p\n", ACPI_TO_POINTER(AcpiGbl_EntryStackPointer)); - AcpiOsPrintf ("Lowest Stack Pointer %p\n", ACPI_TO_POINTER(AcpiGbl_LowestStackPointer)); + AcpiOsPrintf ("Entry Stack Pointer %p\n", AcpiGbl_EntryStackPointer); + AcpiOsPrintf ("Lowest Stack Pointer %p\n", AcpiGbl_LowestStackPointer); AcpiOsPrintf ("Stack Use %X (%u)\n", Temp, Temp); AcpiOsPrintf ("Deepest Procedure Nesting %u\n", AcpiGbl_DeepestNesting); #endif diff --git a/source/components/utilities/utdebug.c b/source/components/utilities/utdebug.c index b6e914592..b0c3640f2 100644 --- a/source/components/utilities/utdebug.c +++ b/source/components/utilities/utdebug.c @@ -185,7 +185,7 @@ AcpiUtInitStackPtrTrace ( ACPI_SIZE CurrentSp; - AcpiGbl_EntryStackPointer = ACPI_TO_INTEGER(&CurrentSp); + AcpiGbl_EntryStackPointer = &CurrentSp; } @@ -208,9 +208,9 @@ AcpiUtTrackStackPtr ( ACPI_SIZE CurrentSp; - if (ACPI_TO_INTEGER(&CurrentSp) < AcpiGbl_LowestStackPointer) + if (&CurrentSp < AcpiGbl_LowestStackPointer) { - AcpiGbl_LowestStackPointer = ACPI_TO_INTEGER(&CurrentSp); + AcpiGbl_LowestStackPointer = &CurrentSp; } if (AcpiGbl_NestingLevel > AcpiGbl_DeepestNesting) diff --git a/source/components/utilities/utinit.c b/source/components/utilities/utinit.c index 1e21ebdc3..37ec63bc6 100644 --- a/source/components/utilities/utinit.c +++ b/source/components/utilities/utinit.c @@ -359,7 +359,7 @@ AcpiUtInitGlobals ( #endif #ifdef ACPI_DEBUG_OUTPUT - AcpiGbl_LowestStackPointer = ACPI_SIZE_MAX; + AcpiGbl_LowestStackPointer = ACPI_CAST_PTR (ACPI_SIZE, ACPI_SIZE_MAX); #endif #ifdef ACPI_DBG_TRACK_ALLOCATIONS |