Dell 4150 & ACPI-0293: *** Warning: Buffer created with zero length in AML

Alistair Sutton alistair.sutton at ntlworld.com
Sun Jun 22 12:30:39 PDT 2003


* Thierry Thomas (thierry at pompo.net) wrote:
> Le Ven 20 jui 03 à 19:24:28 +0200, Alistair Sutton <alistair.sutton at ntlworld.com>
>  écrivait :
> > 
> > I've attached the patch that works for me if you want to try it. 
> 
> Thanks, but it seems that your attachment has been stripped. Could you
> please send it inline?

Oops. I have a mistake to admit. I don't think I actually remembered to
attach the patch last time. Sorry :-(

Mutt (for some bizarre reason) was having problems with pasting the
patch so that it was inline so I've attached it again and also put it
online here:

http://www.no-dns-yet.org.uk/~everlone/dell-acpi-patch

HTH

Alistair
-- 
LJ : http://www.livejournal.com/users/everlone
GPG/PGP: 6FA19F58 (http://wwwkeys.pgp.net)
NP:
-------------- next part --------------
--- insp4150_orig.asl	Wed May 14 02:07:27 2003
+++ insp4150.asl	Tue May 27 22:18:14 2003
@@ -120,9 +120,9 @@
 
     Method (SXX5, 2, NotSerialized)
     {
-        If (LLess (Arg1, SizeOf (Arg0)))
+        If (LLess (Arg1, SizeOf (DerefOf(Arg0))))
         {
-            CreateByteField (Arg0, Arg1, SX20)
+            CreateByteField (DerefOf(Arg0), Arg1, SX20)
             SXX6 (0x7C, SX20)
         }
     }
@@ -133,16 +133,16 @@
         Store (0x00, Local0)
         While (LLess (Local0, SXX2))
         {
-            SXX5 (SXX0, Local0)
+            SXX5 (RefOf(SXX0), Local0)
             Increment (Local0)
         }
     }
 
     Method (SXX8, 2, NotSerialized)
     {
-        If (LLess (Arg1, SizeOf (Arg0)))
+        If (LLess (Arg1, SizeOf (DerefOf (Arg0))))
         {
-            CreateByteField (Arg0, Arg1, SX20)
+            CreateByteField (DerefOf(Arg0), Arg1, SX20)
             Store (SXX6 (0x7D, 0x00), SX20)
         }
     }
@@ -153,7 +153,7 @@
         While (LLess (Local0, SXX3))
         {
             Add (SXX2, Local0, Local1)
-            SXX8 (SXX0, Local1)
+            SXX8 (RefOf (SXX0), Local1)
             Increment (Local0)
         }
     }
@@ -217,9 +217,9 @@
 
     Method (SX43, 2, NotSerialized)
     {
-        If (LLess (Arg1, SizeOf (Arg0)))
+        If (LLess (Arg1, SizeOf (DerefOf(Arg0))))
         {
-            CreateByteField (Arg0, Arg1, SX20)
+            CreateByteField (DerefOf(Arg0), Arg1, SX20)
             Store (SX40 (), SX20)
         }
     }
@@ -238,7 +238,7 @@
     {
         Store (SX40 (), Local0)
         Name (SX23, Buffer (Local0) {})
-        SX44 (SX23, Local0)
+        SX44 (Refof(SX23), Local0)
         Return (SX23)
     }
 
@@ -277,7 +277,7 @@
         SX30 (Arg0)
         SX11 ()
         Name (PGET, Buffer (SXX3) {})
-        SX44 (PGET, SXX3)
+        SX44 (RefOf(PGET), SXX3)
         SX12 ()
         Return (PGET)
     }


More information about the freebsd-mobile mailing list