1 # $DragonFly: src/sys/dev/acpica5/include,acpiosxf.h.patch,v 1.2 2007/03/26 02:34:39 y0netan1 Exp $
3 --- acpiosxf.h.orig 2006-11-30 05:58:15.000000000 +0900
4 +++ acpiosxf.h 2007-03-11 14:39:09.000000000 +0900
5 @@ -197,9 +197,18 @@ void
10 +#define AcpiOsAcquireLock(Handle) \
11 +_AcpiOsAcquireLock(Handle, __func__, __LINE__)
14 + ACPI_SPINLOCK Handle,
15 + const char *func, int line);
19 ACPI_SPINLOCK Handle);
24 @@ -271,6 +280,24 @@ void
28 +#if ACPI_DEBUG_MEMMAP
29 +#define AcpiOsMapMemory(Where, Length) \
30 +_AcpiOsMapMemory((Where), (Length), __func__, __LINE__)
31 +#define AcpiOsUnmapMemory(LogicalAddress, Size) \
32 +_AcpiOsUnmapMemory((LogicalAddress), (Size), __func__, __LINE__)
36 + ACPI_PHYSICAL_ADDRESS Where,
37 + ACPI_NATIVE_UINT Length,
38 + const char *caller, int line);
42 + void *LogicalAddress,
44 + const char *caller, int line);
48 ACPI_PHYSICAL_ADDRESS Where,
49 @@ -280,6 +307,7 @@ void
56 AcpiOsGetPhysicalAddress (
57 @@ -309,10 +337,21 @@ void *
62 +#define AcpiOsReleaseObject(Cache, Object) \
63 +_AcpiOsReleaseObject(Cache, Object, __func__, __LINE__)
65 +_AcpiOsReleaseObject (
66 + ACPI_CACHE_T *Cache,