Patch to hal-spec : 4/6-system-processor

David Zeuthen david at fubar.dk
Wed Jan 12 16:07:18 PST 2005


On Tue, 2005-01-11 at 18:40 +0000, Richard Hughes wrote:
>     <sect2 id="device-properties-system-processor">
>       <title><literal>system.processor</literal> namespace</title>
>       <para>
> 
> 	Device objects with the capability system.processor represent 
>         all CPU's in the system

Again, skip 'all' since we'll have one per actual CPU.

> 
>       </para>
>       <informaltable>
>         <tgroup cols="2">
>           <thead>
>             <row>
>               <entry>Key (type)</entry>
>               <entry>Values</entry>
>               <entry>Mandatory</entry>
>               <entry>Description</entry>
>             </row>
>           </thead>
>           <tbody>
>             <row>
>               <entry><literal>system.processor.number</literal> (int)</entry>
>               <entry></entry>
>               <entry>Yes</entry>
>               <entry>The internal processor number in the system</entry>

perhaps add "starting from zero" to convey they are numbered 0, 1, 2 and
so forth.

>             </row>
>             <row>
>               <entry><literal>system.processor.can_throttle</literal> (bool)</entry>
>               <entry></entry>
>               <entry>No</entry>
>               <entry>
>                 Whether the processor supports throttling to decrease it's 
>                 own clock speed
>               </entry>
>             </row>
>             <row>
>               <entry><literal>system.processor.throttle_frequencies</literal>
> (string)</entry>
>               <entry>example: 200-300,400-500,800</entry>

Uh, this I don't like, it will be too difficult for programs to parse.
Perhaps
just punt it until now? Note that I'm going to add a stringlist property
to
HEAD somewhat soon (will be used for info.capabilities instead).

>               <entry>Only if <literal>system.processor.can_throttle</literal> is
> TRUE</entry>
>               <entry>
>                 A simple string showing the allowed frequencies and/or ranges of 
>                 the frequency of the CPU. Values are in MHz
>               </entry>
>             </row>
>             <row>
>               <entry><literal>system.processor.maximum_speed</literal>
> (long)</entry>
>               <entry>example: 2200</entry>
>               <entry>No</entry>
>               <entry>The speed of the processor in units of MHz</entry>

Rather, the _maximum_ speed of the processor.

>             </row>
>           </tbody>
>         </tgroup>
>       </informaltable>
>     </sect2>
> 
> 
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal

_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list