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