Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Adding 'i386_use_pae' variable, and expose it through sysctl



On 15.08.2010 03:14, Joerg Sonnenberger wrote:
> On Sun, Aug 15, 2010 at 02:51:01AM +0200, Jean-Yves Migeon wrote:
>> @@ -463,6 +464,7 @@ void x86_bus_space_mallocok(void);
>>  #define     CPU_TMLR_VOLTAGE        13      /* int: curret voltage */
>>  #define     CPU_TMLR_PERCENTAGE     14      /* int: current clock 
>> percentage */
>>  #define     CPU_MAXID               15      /* number of valid machdep ids 
>> */
>> +#define     CPU_PAE                 16      /* int: OS uses PAE mode */
>>  
>>  /*
>>   * Structure for CPU_DISKINFO sysctl call.
> 
> 
> Just use dynamic sysctls, please. No reason to wire down the OID.

Alright; thanks for the advice.

-- 
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost


Home | Main Index | Thread Index | Old Index