Return (0x00) Invalid object type for reserved name (found INTEGER, requires Buffer)

Sevan / Venture37 venture37 at gmail.com
Mon Jun 28 20:49:38 UTC 2010


I'm trying to debug an asl compilation issue, when iasl is invoked it spits out:

my.asl  4440:             Return (0x00)
Error    4080 -                      ^ Invalid object type for
reserved name (found INTEGER, requires Buffer)

Can anyone point me to a fix?

Regards


Sevan / Venture37

    Name (FWSO, "FWSO")
    Scope (\_SB)
    {
        OperationRegion (WHE0, SystemIO, 0x00001E00, 0x00000002)
        Field (WHE0, AnyAcc, NoLock, Preserve)
        {
            WHEC,   8
        }

        OperationRegion (WHE1, SystemMemory, 0xCFEF4EBD, 0x00000090)
        Field (WHE1, AnyAcc, NoLock, Preserve)
        {
            WCMD,   8,
            WDID,   32,
            WINF,   1024
        }

        Field (WHE1, AnyAcc, NoLock, Preserve)
        {
                    AccessAs (ByteAcc, 0x00),
                    Offset (0x05),
            INFW,   8
        }

        Method (_OSC, 4, NotSerialized)
        {
            If (LEqual (Arg0, Buffer (0x10)
                    {
                        /* 0000 */    0x0C, 0x5E, 0x85, 0xED, 0x90,
0x6C, 0xBF, 0x47,
                        /* 0008 */    0xA6, 0x2A, 0x26, 0xDE, 0x0F,
0xC5, 0xAD, 0x5C
                    }))
            {
                CreateDWordField (Arg3, 0x00, CDW1)
                CreateDWordField (Arg3, 0x04, CDW2)
                CreateDWordField (Arg3, 0x08, CDW3)
                If (And (CDW2, 0x01))
                {
                    Store (0xEA, WCMD)
                    Store (0x03, WDID)
                    Store (Zero, WHEC)
                    Return (Arg3)
                }
            }

            Return (0x00)
        }
    }


More information about the freebsd-acpi mailing list