mirror of
https://github.com/acpica/acpica/
synced 2025-01-14 21:39:19 +03:00
Misc cleanup
date 2005.04.20.20.54.00; author rmoore1; state Exp;
This commit is contained in:
parent
42fec80e7c
commit
243ee924eb
@ -134,14 +134,8 @@
|
||||
#include "acinterp.h"
|
||||
#include "acapps.h"
|
||||
|
||||
|
||||
extern UINT8 *DsdtPtr;
|
||||
extern UINT32 AcpiDsdtLength;
|
||||
extern UINT8 *AmlStart;
|
||||
extern UINT32 AmlLength;
|
||||
extern FILE *AcpiGbl_DebugFile;
|
||||
|
||||
|
||||
/*
|
||||
* Debug Regions
|
||||
*/
|
||||
@ -184,8 +178,6 @@ typedef union ptr_ovl
|
||||
#define PTR_OVL_BUILD_PTR(p,b,o) {p.ovl.base=b;p.ovl.offset=o;}
|
||||
|
||||
|
||||
#define PARAM_LIST(pl) pl
|
||||
|
||||
#define TEST_OUTPUT_LEVEL(lvl) if ((lvl) & OutputLevel)
|
||||
|
||||
#define OSD_PRINT(lvl,fp) TEST_OUTPUT_LEVEL(lvl) {\
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: aeexec - Support routines for AcpiExec utility
|
||||
* $Revision: 1.84 $
|
||||
* $Revision: 1.85 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -475,7 +475,7 @@ AeRegionHandler (
|
||||
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_OPREGION, "Operation Region request on %s at 0x%X\n",
|
||||
AcpiUtGetRegionName (RegionObject->Region.SpaceId),
|
||||
Address));
|
||||
(UINT32) Address));
|
||||
|
||||
if (RegionObject->Region.SpaceId == ACPI_ADR_SPACE_SMBUS)
|
||||
{
|
||||
@ -630,8 +630,8 @@ AeRegionHandler (
|
||||
((ACPI_INTEGER)(RegionElement->Address) + RegionElement->Length))
|
||||
{
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_WARN,
|
||||
"Request on [%4.4s] is beyond region limit Req-%lX+%lX, Base=%lX, Len-%lX\n",
|
||||
&((RegionObject->Region.Node)->Name), (UINT32) Address,
|
||||
"Request on [%4.4s] is beyond region limit Req-%X+%X, Base=%X, Len-%X\n",
|
||||
(RegionObject->Region.Node)->Name.Ascii, (UINT32) Address,
|
||||
ByteWidth, (UINT32)(RegionElement->Address),
|
||||
RegionElement->Length));
|
||||
|
||||
@ -793,7 +793,7 @@ AeExceptionHandler (
|
||||
Exception = AcpiFormatException (AmlStatus);
|
||||
AcpiOsPrintf (
|
||||
"**** AcpiExec Exception: %s during execution of method [%4.4s] Opcode [%s] @%X\n",
|
||||
Exception, &Name, AcpiPsGetOpcodeName (Opcode), AmlOffset);
|
||||
Exception, (char *) &Name, AcpiPsGetOpcodeName (Opcode), AmlOffset);
|
||||
|
||||
/*
|
||||
* Invoke the _ERR method if present
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: aemain - Main routine for the AcpiExec utility
|
||||
* $Revision: 1.96 $
|
||||
* $Revision: 1.97 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -340,7 +340,7 @@ main (
|
||||
case 'x':
|
||||
AcpiDbgLevel = strtoul (AcpiGbl_Optarg, NULL, 0);
|
||||
AcpiGbl_DbConsoleDebugLevel = AcpiDbgLevel;
|
||||
printf ("Debug Level: %lX\n", AcpiDbgLevel);
|
||||
printf ("Debug Level: %X\n", AcpiDbgLevel);
|
||||
break;
|
||||
|
||||
case 'o':
|
||||
|
Loading…
Reference in New Issue
Block a user