Hi On Thu, Jun 21, 2018 at 3:22 PM, Marc-André Lureau <marcandre.lur...@gmail.com> wrote: > Hi > > On Thu, Jun 21, 2018 at 3:21 PM, Marc-André Lureau > <marcandre.lur...@gmail.com> wrote: > >>>> + method = aml_method("TPFN", 1, AML_SERIALIZED); >>> not quite sure how this method (supposed to ) work(s), >>> it could use nice comment explaining mechanics. >>> >> >> Windows doesn't like DerefOf (FUNC [N]), it returned wrong values. It >> took me a while to figure this out. My laptop TPM ACPI table uses the >> same trick, so I assume this is a Windows acpi bug/limitation. Instead >> we use a function that returns the corresponding field. > > Sorry, I am wrong, my laptop doesn't use such table. I don't know > where I saw someone using the same trick though..
fwiw, I also asked on OSR list for help but got no answer: http://www.osronline.com/showThread.CFM?link=288617 -- Marc-André Lureau