From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergey Vlasov Subject: Re: meaning of sizeof(_OS)? Date: Mon, 26 Jan 2004 21:14:57 +0300 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040126211457.7182417a.vsu@altlinux.ru> References: <20040126111648.GA2004@luna.mooo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org 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 _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?) 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