Ignore:
Timestamp:
2006-09-14T17:09:21Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f1d1f5d3
Parents:
e5ecc02
Message:

C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/include/drivers/arc.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup mips32
     29/** @addtogroup mips32 
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __mips32_ARC_H__
    36 #define __mips32_ARC_H__
     35#ifndef KERN_mips32_ARC_H_
     36#define KERN_mips32_ARC_H_
    3737
    3838#include <arch/types.h>
     
    5454        CmResourceTypeProductName,
    5555        CmResourceTypeSerialNumber
    56 }cm_resource_type;
     56} cm_resource_type;
    5757
    5858typedef struct {
     
    7575                }memory;
    7676        }u;
    77 }__attribute__ ((packed)) cm_resource_descriptor;
     77} __attribute__ ((packed)) cm_resource_descriptor;
    7878
    7979typedef struct {
     
    8282        unsigned long count;
    8383        cm_resource_descriptor descr[1];
    84 }__attribute__ ((packed)) cm_resource_list;
     84} __attribute__ ((packed)) cm_resource_list;
    8585
    8686typedef enum {
     
    138138        TPUAdapter,
    139139        Anonymous
    140 }arc_component_type;
     140} arc_component_type;
    141141
    142142typedef enum {
     
    148148        Input = 32,
    149149        Output = 64
    150 }arc_component_flags;
     150} arc_component_flags;
    151151
    152152typedef struct  {
     
    183183        FirmwareTemporary,
    184184        FirmwarePermanent
    185 }arc_memorytype_t;
     185} arc_memorytype_t;
    186186
    187187typedef struct  {
     
    189189        uint32_t basepage;  /* *4096 = baseaddr */
    190190        uint32_t basecount;
    191 }arc_memdescriptor_t;
     191} arc_memdescriptor_t;
    192192
    193193typedef struct {
    194194        char vendorid[8];
    195195        char prodid[8];
    196 }arc_sysid_t;
     196} arc_sysid_t;
    197197
    198198typedef struct {
     
    255255        void *privvector;
    256256        uint32_t adaptercount;
    257 }__attribute__ ((packed)) arc_sbp;
     257} __attribute__ ((packed)) arc_sbp;
    258258
    259259extern int arc_init(void);
     
    266266 /** @}
    267267 */
    268 
Note: See TracChangeset for help on using the changeset viewer.