Ignore:
Timestamp:
2006-07-28T23:03:42Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
764c302
Parents:
a0c12f5
Message:

formatting changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/sysinfo/sysinfo.h

    ra0c12f5 r42d3be3  
    2727 */
    2828
    29  /** @addtogroup generic       
     29/** @addtogroup generic
    3030 * @{
    3131 */
     
    3535#include <arch/types.h>
    3636
    37 typedef union sysinfo_item_val
    38 {
     37typedef union sysinfo_item_val {
    3938        unative_t val;
    4039        void *fn;
    41 }sysinfo_item_val_t;
     40} sysinfo_item_val_t;
    4241
    43 typedef struct sysinfo_item
    44 {
     42typedef struct sysinfo_item {
    4543        char *name;
    46         union
    47         {
     44        union {
    4845                unative_t val;
    4946                void *fn;
    50         }val;
     47        } val;
    5148
    52         union
    53         {
     49        union {
    5450                struct sysinfo_item *table;
    5551                void *fn;
    56         }subinfo;
     52        } subinfo;
    5753
    5854        struct sysinfo_item *next;
    5955        int val_type;
    6056        int subinfo_type;
    61 }sysinfo_item_t;
     57} sysinfo_item_t;
    6258
    6359#define SYSINFO_VAL_VAL 0
     
    7369typedef unative_t (*sysinfo_subinfo_fn_t)(const char *subname);
    7470
    75 typedef struct sysinfo_rettype
    76 {
     71typedef struct sysinfo_rettype {
    7772        unative_t val;
    7873        unative_t valid;
    79 }sysinfo_rettype_t;
     74} sysinfo_rettype_t;
    8075
    8176void sysinfo_set_item_val(const char *name,sysinfo_item_t **root,unative_t val);
     
    8984unative_t sys_sysinfo_value(unative_t ptr,unative_t len);
    9085
    91 
    92 
    93  /** @}
     86/** @}
    9487 */
    95 
Note: See TracChangeset for help on using the changeset viewer.