public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Frittella Laurento <laurento.frittella@gmail.com>
To: linux-acpi@vger.kernel.org
Subject: How can I solve these DSL warnings?
Date: Wed, 09 May 2007 08:56:46 +0200	[thread overview]
Message-ID: <464170AE.2000607@gmail.com> (raw)

Hi all,
I'm trying to fix these warnings that appears during dsl compile:

  dsdt.dsl  2341:                 Method (_S0D, 0, NotSerialized)
  Warning  1097 -      Unknown reserved name ^  (_S0D)

Code (part of interest):
  Method (_S0D, 0, NotSerialized)
  {
      Store (SMI (0x85, 0x00), Local0)
      And (Local0, 0x01, Local0)
      If (LEqual (Local0, 0x00))
      {
        Return (0x03)
      }
      Else
      {
        Return (0x00)
      }
  }


The other kind of warning is:

  dsdt.dsl  3040:                         And (Local0, 0x0F)
  Warning  1104 -                                   ^ Result is not
used, operator has no effect

Code (part of interest):
  If (LLess (Local0, 0x80))
  {
    And (Local0, 0x0F)
    Store (0x01, Local1)
    ShiftLeft (Local1, Local0, Local1)
    Store (Local1, IRA)
  }


Another one:
  dsdt.dsl  3818:                     Return (Package (0x00) {})
  Remark   5070 -    Effective AML package length is zero ^

  Method (_DOD, 0, NotSerialized)
  {
     Return (Package (0x00) {})
  }

The last ;)
  dsdt.dsl  4044:                             Wait (EJTD, 0xA000)
  Warning  1103 -         Possible operator timeout is ignored ^

  Method (_EJ0, 1, NotSerialized)
  {
    Store (SMI (0x87, 0x00), MIS7)
    If (MIS7)
    {
      SMI (0xA6, 0x02)
      SMI (0x49, 0x01)
      Wait (EJTD, 0xA000)
      SMI (0x49, 0x00)
    }

    Return (0x00)
  }


I searched for them on the acpi website but I haven't find these warning
codes.

Regards,
Laurento

             reply	other threads:[~2007-05-09  6:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-09  6:56 Frittella Laurento [this message]
2007-05-09  7:04 ` How can I solve these DSL warnings? Alexey Starikovskiy
2007-05-09  7:22   ` Frittella Laurento

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=464170AE.2000607@gmail.com \
    --to=laurento.frittella@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox