Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/intel-public/acpica/dist/resources Build fixes ...
details: https://anonhg.NetBSD.org/src/rev/82857cf65b8f
branches: trunk
changeset: 746706:82857cf65b8f
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Aug 18 17:13:09 2009 +0000
description:
Build fixes for NetBSD.
diffstat:
sys/external/intel-public/acpica/dist/resources/rsdump.c | 34 ++++++++--------
1 files changed, 17 insertions(+), 17 deletions(-)
diffs (126 lines):
diff -r dc20b523a613 -r 82857cf65b8f sys/external/intel-public/acpica/dist/resources/rsdump.c
--- a/sys/external/intel-public/acpica/dist/resources/rsdump.c Tue Aug 18 17:09:25 2009 +0000
+++ b/sys/external/intel-public/acpica/dist/resources/rsdump.c Tue Aug 18 17:13:09 2009 +0000
@@ -130,32 +130,32 @@
static void
AcpiRsOutString (
- char *Title,
- char *Value);
+ const char *Title,
+ const char *Value);
static void
AcpiRsOutInteger8 (
- char *Title,
+ const char *Title,
UINT8 Value);
static void
AcpiRsOutInteger16 (
- char *Title,
+ const char *Title,
UINT16 Value);
static void
AcpiRsOutInteger32 (
- char *Title,
+ const char *Title,
UINT32 Value);
static void
AcpiRsOutInteger64 (
- char *Title,
+ const char *Title,
UINT64 Value);
static void
AcpiRsOutTitle (
- char *Title);
+ const char *Title);
static void
AcpiRsDumpByteList (
@@ -376,7 +376,7 @@
static ACPI_RSDUMP_INFO AcpiRsDumpMemoryFlags[5] =
{
- {ACPI_RSD_LITERAL, ACPI_RSD_TABLE_SIZE (AcpiRsDumpMemoryFlags), "Resource Type", (void *) "Memory Range"},
+ {ACPI_RSD_LITERAL, ACPI_RSD_TABLE_SIZE (AcpiRsDumpMemoryFlags), "Resource Type", (const char * const *) "Memory Range"},
{ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET (Address.Info.Mem.WriteProtect), "Write Protect", AcpiGbl_RwDecode},
{ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET (Address.Info.Mem.Caching), "Caching", AcpiGbl_MemDecode},
{ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET (Address.Info.Mem.RangeType), "Range Type", AcpiGbl_MtpDecode},
@@ -385,7 +385,7 @@
static ACPI_RSDUMP_INFO AcpiRsDumpIoFlags[4] =
{
- {ACPI_RSD_LITERAL, ACPI_RSD_TABLE_SIZE (AcpiRsDumpIoFlags), "Resource Type", (void *) "I/O Range"},
+ {ACPI_RSD_LITERAL, ACPI_RSD_TABLE_SIZE (AcpiRsDumpIoFlags), "Resource Type", (const char * const *) "I/O Range"},
{ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET (Address.Info.Io.RangeType), "Range Type", AcpiGbl_RngDecode},
{ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET (Address.Info.Io.Translation), "Translation", AcpiGbl_TtpDecode},
{ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET (Address.Info.Io.TranslationType), "Translation Type", AcpiGbl_TrsDecode}
@@ -424,7 +424,7 @@
{
UINT8 *Target = NULL;
UINT8 *PreviousTarget;
- char *Name;
+ const char *Name;
UINT8 Count;
@@ -758,8 +758,8 @@
static void
AcpiRsOutString (
- char *Title,
- char *Value)
+ const char *Title,
+ const char *Value)
{
AcpiOsPrintf ("%27s : %s", Title, Value);
if (!*Value)
@@ -771,7 +771,7 @@
static void
AcpiRsOutInteger8 (
- char *Title,
+ const char *Title,
UINT8 Value)
{
AcpiOsPrintf ("%27s : %2.2X\n", Title, Value);
@@ -779,7 +779,7 @@
static void
AcpiRsOutInteger16 (
- char *Title,
+ const char *Title,
UINT16 Value)
{
AcpiOsPrintf ("%27s : %4.4X\n", Title, Value);
@@ -787,7 +787,7 @@
static void
AcpiRsOutInteger32 (
- char *Title,
+ const char *Title,
UINT32 Value)
{
AcpiOsPrintf ("%27s : %8.8X\n", Title, Value);
@@ -795,7 +795,7 @@
static void
AcpiRsOutInteger64 (
- char *Title,
+ const char *Title,
UINT64 Value)
{
AcpiOsPrintf ("%27s : %8.8X%8.8X\n", Title,
@@ -804,7 +804,7 @@
static void
AcpiRsOutTitle (
- char *Title)
+ const char *Title)
{
AcpiOsPrintf ("%27s : ", Title);
}
Home |
Main Index |
Thread Index |
Old Index