Fix ACPI_DEBUG build.

This commit is contained in:
jruoho 2011-02-17 12:08:14 +00:00
parent 2edec7caea
commit fa8715d817
5 changed files with 9 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: files.acpica,v 1.2 2011/02/17 10:13:35 jruoho Exp $
# $NetBSD: files.acpica,v 1.3 2011/02/17 12:08:14 jruoho Exp $
define acpica
makeoptions acpi CPPFLAGS+="-I$S/external/bsd/acpica/dist/include"
@ -10,6 +10,8 @@ file external/bsd/acpica/dist/debugger/dbexec.c acpica & acpi_debug & ddb
file external/bsd/acpica/dist/debugger/dbfileio.c acpica & acpi_debug & ddb
file external/bsd/acpica/dist/debugger/dbhistry.c acpica & acpi_debug & ddb
file external/bsd/acpica/dist/debugger/dbinput.c acpica & acpi_debug & ddb
file external/bsd/acpica/dist/debugger/dbmethod.c acpica & acpi_debug & ddb
file external/bsd/acpica/dist/debugger/dbnames.c acpica & acpi_debug & ddb
file external/bsd/acpica/dist/debugger/dbstats.c acpica & acpi_debug & ddb
file external/bsd/acpica/dist/debugger/dbutils.c acpica & acpi_debug & ddb
file external/bsd/acpica/dist/debugger/dbxface.c acpica & acpi_debug & ddb

View File

@ -925,7 +925,7 @@ static ACPI_ADR_SPACE_TYPE SpaceIdList[] =
typedef struct acpi_handler_info
{
void *Handler;
char *Name;
const char *Name;
} ACPI_HANDLER_INFO;

View File

@ -133,7 +133,7 @@ AcpiUtGetNotifyName (
#endif
const char *
char *
AcpiUtGetTypeName (
ACPI_OBJECT_TYPE Type);
@ -375,7 +375,7 @@ AcpiUtTraceStr (
const char *FunctionName,
const char *ModuleName,
UINT32 ComponentId,
char *String);
const char *String);
void
AcpiUtExit (

View File

@ -374,7 +374,7 @@ AcpiUtTraceStr (
const char *FunctionName,
const char *ModuleName,
UINT32 ComponentId,
char *String)
const char *String)
{
AcpiGbl_NestingLevel++;

View File

@ -312,7 +312,7 @@ static const char *AcpiGbl_NsTypeNames[] =
};
const char *
char *
AcpiUtGetTypeName (
ACPI_OBJECT_TYPE Type)
{
@ -522,7 +522,7 @@ AcpiUtGetReferenceName (
/* Names for internal mutex objects, used for debug output */
static char *AcpiGbl_MutexNames[ACPI_NUM_MUTEX] =
static const char *AcpiGbl_MutexNames[ACPI_NUM_MUTEX] =
{
"ACPI_MTX_Interpreter",
"ACPI_MTX_Namespace",