Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2006 03:24:16 -0500
From:      Anish Mistry <mistry.7@osu.edu>
To:        freebsd-acpi@freebsd.org
Subject:   ACPI method calling questions
Message-ID:  <200601290324.24151.mistry.7@osu.edu>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
	If I has a ACPI device method like:
            Method (FUNC, 4, Serialized)
            {
                Store (0x80000000, Local0)
                If (LEqual (Arg0, 0x1001))
                {
                    Store (S001 (Arg1, Arg2, Arg3), Local0)
                }
                Else
                {
                    If (LEqual (Arg0, 0x1002))
                    {
                        Store (S002 (Arg1, Arg2, Arg3), Local0)
                    }
                    Else
                    {
                        If (LEqual (Arg0, 0x1004))
                        {
                            Store (S004 (Arg1, Arg2, Arg3), Local0)
                        }
                    }
                }

                Return (Local0)
            }
How would I go about calling it from my driver?  Like for a single 
argument set method I'd just do acpi_SetInteger.

Thanks,

-- 
Anish Mistry

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBD3Hu4xqA5ziudZT0RAu7uAJoDpcKW/qE0QBUUgUI30JNDyydvEwCggJd0
EGe6v06miK5bGzWVzl2/P0U=
=qQKO
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601290324.24151.mistry.7>