Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi/acpica - remove function list that was out of date



details:   https://anonhg.NetBSD.org/src/rev/a10aea8dba1a
branches:  trunk
changeset: 325507:a10aea8dba1a
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 27 18:53:16 2013 +0000

description:
- remove function list that was out of date
- explain magical munging so that people are not scared to update in the future.

diffstat:

 sys/dev/acpi/acpica/README |  42 ++++++++++++------------------------------
 1 files changed, 12 insertions(+), 30 deletions(-)

diffs (61 lines):

diff -r a64d417ea52d -r a10aea8dba1a sys/dev/acpi/acpica/README
--- a/sys/dev/acpi/acpica/README        Fri Dec 27 18:52:16 2013 +0000
+++ b/sys/dev/acpi/acpica/README        Fri Dec 27 18:53:16 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: README,v 1.4 2010/07/24 06:10:43 jruoho Exp $
+#      $NetBSD: README,v 1.5 2013/12/27 18:53:16 christos Exp $
 
 This is the Intel ACPI Component Architecture, Intel's reference
 implementation of the core operating system ACPI support.  The
@@ -8,7 +8,12 @@
 Please, do not import an updated ACPICA snapshot from Intel unless
 you absolutely know what you're doing -- The Intel directory layout
 changes from release to release, and we must munge it (by hand) into
-something sane that we can use.
+something sane that we can use. The current version of munge is:
+
+       mv source/* .
+       rmdir source
+       mv components/* .
+       rmdir components
 
 The routines that the operating system must provide are documented
 in the following document:
@@ -19,32 +24,9 @@
 
        http://www.acpica.org/download/acpica-reference.pdf
 
-Machine-dependent code must provide at least the following routines:
-
-ACPI_STATUS    acpi_md_OsInitialize(void);
-ACPI_STATUS    acpi_md_OsTerminate(void);
-ACPI_STATUS    acpi_md_OsGetRootPointer(UINT32 Flags,
-                   ACPI_PHYSICAL_ADDRESS *PhysicalAddress);
-
-UINT8          acpi_md_OsIn8(ACPI_IO_ADDRESS InPort);
-UINT16         acpi_md_OsIn16(ACPI_IO_ADDRESS InPort);
-UINT32         acpi_md_OsIn32(ACPI_IO_ADDRESS InPort);
-
-void           acpi_md_OsOut8(ACPI_IO_ADDRESS OutPort, UINT8 Value);
-void           acpi_md_OsOut16(ACPI_IO_ADDRESS OutPort, UINT16 Value);
-void           acpi_md_OsOut32(ACPI_IO_ADDRESS OutPort, UINT32 Value);
+Structure:
 
-ACPI_STATUS    acpi_md_OsInstallInterruptHandler(UINT32 InterruptNumber,
-                   OSD_HANDLER ServiceRoutine, void *Context, void **cookiep);
-void           acpi_md_OsRemoveInterruptHandler(void *cookie);
-
-ACPI_STATUS    acpi_md_OsMapMemory(ACPI_PHYSICAL_ADDRESS PhysicalAddress,
-                   UINT32 Length, void **LogicalAddress);
-void           acpi_md_OsUnmapMemory(void *LogicalAddress, UINT32 Length);
-ACPI_STATUS    acpi_md_OsGetPhysicalAddress(void *LogicalAddress,
-                   ACPI_PHYSICAL_ADDRESS *PhysicalAddress);
-
-BOOLEAN                acpi_md_OsReadable(void *Pointer, UINT32 Length);
-BOOLEAN                acpi_md_OsWritable(void *Pointer, UINT32 Length);
-
-       -- Jason R. Thorpe <thorpej%wasabisystems.com@localhost>
+sys/external/bsd/acpica/dist   The imported source
+sys/external/bsd/acpica/conf   The config glue
+sys/dev/acpi                   Device drivers
+sys/dev/acpica                 OS dependent functions that are required



Home | Main Index | Thread Index | Old Index