public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [PATCH] [2/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS).
@ 2003-02-05 18:55 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A84725A15A-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  2003-02-05 20:40 ` Derek Broughton
  0 siblings, 2 replies; 10+ messages in thread
From: Grover, Andrew @ 2003-02-05 18:55 UTC (permalink / raw)
  To: Ducrot Bruno
  Cc: Dave Jones, Zdenìk OGAR Skalák,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> From: Ducrot Bruno [mailto:ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org] 
> This is the linux part.  It permit to pass a apci_os_name= boot args
> in order to override the \_OS.

I'm still not clear on why this needs to be changeable at runtime. If we do
decide that the BIOS writers are so Windows-centric that we need to
masquerade as one, why wouldn't we just change the #define and recompile?

Dave, can you help me understand how a distro would find this useful, over
just statically changing the reported _OS string?

Regards -- Andy


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Intel ACPI
@ 2003-02-03 23:14 Margit Schubert-While
  2003-02-04  9:45 ` Ducrot Bruno
  0 siblings, 1 reply; 10+ messages in thread
From: Margit Schubert-While @ 2003-02-03 23:14 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,
	So, What do you think about this (D845):

Method (OSFL, 0, NotSerialized)
     {
         Store (0x00, Local0)
         If (MCTH (\_OS, "Microsoft Windows"))
         {
             Store (0x01, Local0)
         }

         If (MCTH (\_OS, "Microsoft WindowsME: Millennium Edition"))
         {
             Store (0x01, Local0)
         }

         Return (Local0)
     }

Method (_PS3, 0, NotSerialized)
                     {
                         If (MCTH (\_OS, "Microsoft Windows"))
                         {
                             Store (_GTM (), TIM1)
                         }
                     }

Method (_PS0, 0, NotSerialized)
                     {
                         If (MCTH (\_OS, "Microsoft Windows"))
                         {
                             If (BOOT)
                             {
                                 If (And (DRVI, 0x20))
                                 {
                                     PRGT (MPIO, MDMA, FLGS, 0xA0)
                                 }

                                 If (And (DRVI, 0x80))
                                 {
                                     PRGT (SPIO, SDMA, FLGS, 0xB0)
                                 }
                             }

                             Store (0x01, BOOT)
                         }
                     }


Method (_PS3, 0, NotSerialized)
                     {
                         If (MCTH (\_OS, "Microsoft Windows"))
                         {
                             Store (_GTM (), TIM1)
                         }
                     }


                    Method (_PS0, 0, NotSerialized)
                     {
                         If (MCTH (\_OS, "Microsoft Windows"))
                         {
                             If (BOOT)
                             {
                                 If (And (DRVI, 0x20))
                                 {
                                     PRGT (MPIO, MDMA, FLGS, 0xA0)
                                 }

                                 If (And (DRVI, 0x80))
                                 {
                                     PRGT (SPIO, SDMA, FLGS, 0xB0)
                                 }
                             }

                             Store (0x01, BOOT)
                         }
                     }



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-02-07 17:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-05 18:55 [PATCH] [2/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS) Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A15A-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-02-05 19:27   ` Ducrot Bruno
2003-02-05 19:50   ` Matthew Wilcox
2003-02-05 19:50   ` Dave Jones
2003-02-07 17:53   ` Pavel Machek
2003-02-05 20:40 ` Derek Broughton
     [not found]   ` <016901c2cd56$d2ee4f70$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
2003-02-05 21:17     ` Jean-Pierre Schwickerath
2003-02-06 13:57       ` Derek Broughton
     [not found]         ` <008601c2cde7$ae63a2e0$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
2003-02-06 16:22           ` Ducrot Bruno
  -- strict thread matches above, loose matches on Subject: below --
2003-02-03 23:14 Intel ACPI Margit Schubert-While
2003-02-04  9:45 ` Ducrot Bruno
2003-02-04 12:22   ` Dave Jones
2003-02-04 15:43     ` Ducrot Bruno
2003-02-04 15:46       ` Dave Jones
2003-02-04 15:55         ` Ducrot Bruno
2003-02-05  6:29           ` Zdeněk OGAR Skalák
2003-02-05 12:30             ` Dave Jones
2003-02-05 18:43               ` [PATCH] [1/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS) Ducrot Bruno
     [not found]                 ` <20030205184310.GK1205-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-02-05 18:47                   ` [PATCH] [2/2] " Ducrot Bruno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox