From: "greg" <greg-QNIYhHqVzB9kr2E5YSwMOQ@public.gmane.org>
To: Micha Feigin <michf-+lLcF8/aw9x6auLlOhE+pQ@public.gmane.org>,
acpi-devel
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: meaning of sizeof(_OS)?
Date: Mon, 26 Jan 2004 13:20:06 -0500 [thread overview]
Message-ID: <20040126182006.M9076@morningdave.org> (raw)
In-Reply-To: <20040126111648.GA2004-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
Hi Micha,
It's tough to know what the DSDT wants to do differently with the _OS
checks without seeing the actual DSDT, as it varies from system to system.
I think that 0x27 is checking for "Microsoft WindowsME: Millennium
Edition" (39 characters).
The LEqual is a Logical Equal. From the spec:
16.2.3.4.2.21 LEqual (Logical Equal)
LEqualTerm := LEqual(
Source1, //TermArg=>ComputationalData
Source2 //TermArg=>ComputationalData
) => Boolean
Source1 and Source2 must be evaluated to the same data type as integers,
strings, or buffers. If the values are equal, True is returned; otherwise,
False is returned.
Hope that helps clarify a bit.
Greg
---------- Original Message -----------
From: Micha Feigin <michf-+lLcF8/aw9x6auLlOhE+pQ@public.gmane.org>
To: acpi-devel <acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Sent: Mon, 26 Jan 2004 13:16:48 +0200
Subject: [ACPI] meaning of sizeof(_OS)?
> Was wondering at least theoretically what is supposed to be done
> different by the dsdt if the os is M$ NT/XP since I saw there is an
> explicit check of _OS against "Microsoft Windows NT".
> Also I saw some people talking about a size check of the _OS variable
> against 0x14 to see if its the M$ os. In my dsdt the check is for
> some reason against 0x27, any idea what os its looking for? (is
> LEqual less then or equall or does the L mean something else?)
>
> Thanx
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
------- End of Original Message -------
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
prev parent reply other threads:[~2004-01-26 18:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-26 11:16 meaning of sizeof(_OS)? Micha Feigin
2004-01-26 18:14 ` Sergey Vlasov
[not found] ` <20040126111648.GA2004-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
2004-01-26 18:20 ` greg [this message]
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=20040126182006.M9076@morningdave.org \
--to=greg-qniyhhqvzb9kr2e5yswmoq@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=michf-+lLcF8/aw9x6auLlOhE+pQ@public.gmane.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