Home | History | Annotate | Line # | Download | only in acpica
README revision 1.2.4.2
      1  1.2.4.2  nathanw #	$NetBSD: README,v 1.2.4.2 2001/10/08 21:18:07 nathanw Exp $
      2  1.2.4.2  nathanw 
      3  1.2.4.2  nathanw This is the Intel ACPI Component Architecture, Intel's reference
      4  1.2.4.2  nathanw implementation of the core operating system ACPI support.  The
      5  1.2.4.2  nathanw portion in the Osd/ subdirectory is provided by the oprerating
      6  1.2.4.2  nathanw system as the glue between the OS and the ACPICA.
      7  1.2.4.2  nathanw 
      8  1.2.4.2  nathanw Please, do not import an updated ACPI CA snapshot from Intel unless
      9  1.2.4.2  nathanw you absolutely know what you're doing -- The Intel directory layout
     10  1.2.4.2  nathanw changes from release to release, and we must munge it (by hand) into
     11  1.2.4.2  nathanw something sane that we can use.
     12  1.2.4.2  nathanw 
     13  1.2.4.2  nathanw The routines that the operating system must provide are documented
     14  1.2.4.2  nathanw in the following document:
     15  1.2.4.2  nathanw 
     16  1.2.4.2  nathanw 	ACPI Component Architecture Programmer Reference
     17  1.2.4.2  nathanw 	Intel Corp.
     18  1.2.4.2  nathanw 
     19  1.2.4.2  nathanw Machine-dependent code must provide the following routines for Osd:
     20  1.2.4.2  nathanw 
     21  1.2.4.2  nathanw ACPI_STATUS	acpi_md_OsInitialize(void);
     22  1.2.4.2  nathanw ACPI_STATUS	acpi_md_OsTerminate(void);
     23  1.2.4.2  nathanw ACPI_STATUS	acpi_md_OsGetRootPointer(UINT32 Flags,
     24  1.2.4.2  nathanw 		    ACPI_PHYSICAL_ADDRESS *PhysicalAddress);
     25  1.2.4.2  nathanw 
     26  1.2.4.2  nathanw UINT8		acpi_md_OsIn8(ACPI_IO_ADDRESS InPort);
     27  1.2.4.2  nathanw UINT16		acpi_md_OsIn16(ACPI_IO_ADDRESS InPort);
     28  1.2.4.2  nathanw UINT32		acpi_md_OsIn32(ACPI_IO_ADDRESS InPort);
     29  1.2.4.2  nathanw 
     30  1.2.4.2  nathanw void		acpi_md_OsOut8(ACPI_IO_ADDRESS OutPort, UINT8 Value);
     31  1.2.4.2  nathanw void		acpi_md_OsOut16(ACPI_IO_ADDRESS OutPort, UINT16 Value);
     32  1.2.4.2  nathanw void		acpi_md_OsOut32(ACPI_IO_ADDRESS OutPort, UINT32 Value);
     33  1.2.4.2  nathanw 
     34  1.2.4.2  nathanw ACPI_STATUS	acpi_md_OsInstallInterruptHandler(UINT32 InterruptNumber,
     35  1.2.4.2  nathanw 		    OSD_HANDLER ServiceRoutine, void *Context, void **cookiep);
     36  1.2.4.2  nathanw void		acpi_md_OsRemoveInterruptHandler(void *cookie);
     37  1.2.4.2  nathanw 
     38  1.2.4.2  nathanw ACPI_STATUS	acpi_md_OsMapMemory(ACPI_PHYSICAL_ADDRESS PhysicalAddress,
     39  1.2.4.2  nathanw 		    UINT32 Length, void **LogicalAddress);
     40  1.2.4.2  nathanw void		acpi_md_OsUnmapMemory(void *LogicalAddress, UINT32 Length);
     41  1.2.4.2  nathanw ACPI_STATUS	acpi_md_OsGetPhysicalAddress(void *LogicalAddress,
     42  1.2.4.2  nathanw 		    ACPI_PHYSICAL_ADDRESS *PhysicalAddress);
     43  1.2.4.2  nathanw 
     44  1.2.4.2  nathanw BOOLEAN		acpi_md_OsReadable(void *Pointer, UINT32 Length);
     45  1.2.4.2  nathanw BOOLEAN		acpi_md_OsWritable(void *Pointer, UINT32 Length);
     46  1.2.4.2  nathanw 
     47  1.2.4.2  nathanw 	-- Jason R. Thorpe <thorpej (a] wasabisystems.com>
     48