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
Quoted 7 lines · On Mon, 26 Jan 2004 13:16:48 +0200 Micha Feigin wrote:
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
_OSagainst "Microsoft Windows NT".
Also I saw some people talking about a size check of the_OSvariable against0x14to see if its the M$ os. In my dsdt the check is for some reason against0x27, any idea what os its looking for? (is LEqual less then or equall or does the L mean something else?)
0x27 is probably "Microsoft WindowsME:Millennium Edition".
(I have seen a DSDT which compares strings in one place and checks length in another place...)
-------------------------------------------------------
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
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/[email protected]>
To: acpi-devel <[email protected]>
Sent: Mon, 26 Jan 2004 13:16:48 +0200
Subject: [ACPI] meaning of sizeof(_OS)?
Quoted 10 lines
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
_OSagainst "Microsoft Windows NT".
Also I saw some people talking about a size check of the_OSvariable against0x14to see if its the M$ os. In my dsdt the check is for some reason against0x27, any idea what os its looking for? (is LEqual less then or equall or does the L mean something else?)Thanx
Quoted 9 lines
-------------------------------------------------------
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 [email protected]
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