Changeset 0f3fc9b in mainline for kernel/arch


Ignore:
Timestamp:
2007-01-22T13:34:55Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
726e1043
Parents:
e7b7be3f
Message:

typedef elimination

Location:
kernel/arch
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/include/context.h

    re7b7be3f r0f3fc9b  
    4747 * during function call
    4848 */
    49 struct context {
     49typedef struct {
    5050    uintptr_t sp;
    5151    uintptr_t pc;
     
    6060
    6161    ipl_t ipl;
    62 } __attribute__ ((packed));
     62} __attribute__ ((packed)) context_t;
    6363
    6464#endif
  • kernel/arch/ia32/include/context.h

    re7b7be3f r0f3fc9b  
    5252 * function calls.
    5353 */
    54 struct context {
     54typedef struct {
    5555        uintptr_t sp;
    5656        uintptr_t pc;
     
    6060        uint32_t ebp;
    6161        ipl_t ipl;
    62 } __attribute__ ((packed));
     62} __attribute__ ((packed)) context_t;
    6363
    6464#endif
  • kernel/arch/ia32/include/fpu_context.h

    re7b7be3f r0f3fc9b  
    4545
    4646
    47 struct fpu_context {
     47typedef struct {
    4848        uint8_t fpu[512];               /* FXSAVE & FXRSTOR storage area */
    49 };
     49} fpu_context_t;
    5050
    5151#endif
  • kernel/arch/ia64/include/context.h

    re7b7be3f r0f3fc9b  
    6767 * function calls.
    6868 */
    69 struct context {
     69typedef struct {
    7070
    7171        /*
     
    129129       
    130130        ipl_t ipl;
    131 };
     131} context_t;
    132132
    133133#endif
  • kernel/arch/ia64/include/fpu_context.h

    re7b7be3f r0f3fc9b  
    4343#define FRS 96
    4444
    45 struct fpu_context {
     45typedef struct {
    4646        __r128 fr[FRS];
    47 };
     47} fpu_context_t;
    4848
    4949#endif
  • kernel/arch/mips32/include/context.h

    re7b7be3f r0f3fc9b  
    5353 * function calls.
    5454 */
    55 struct context {
     55typedef struct {
    5656        uintptr_t sp;
    5757        uintptr_t pc;
     
    6969
    7070        ipl_t ipl;
    71 };
     71} context_t;
    7272
    7373#endif /* __ASM__ */
  • kernel/arch/mips32/include/fpu_context.h

    re7b7be3f r0f3fc9b  
    4040#define FPU_CONTEXT_ALIGN    sizeof(unative_t)
    4141
    42 struct fpu_context {
     42typedef struct {
    4343        unative_t dregs[32];
    4444        unative_t cregs[32];
    45 };
     45} fpu_context_t;
    4646
    4747#endif
  • kernel/arch/ppc32/include/context.h

    re7b7be3f r0f3fc9b  
    4040#define SP_DELTA        16
    4141
    42 struct context {
     42typedef struct {
    4343        uintptr_t sp;
    4444        uintptr_t pc;
     
    6868       
    6969        ipl_t ipl;
    70 } __attribute__ ((packed));
     70} __attribute__ ((packed)) context_t;
    7171
    7272#endif
  • kernel/arch/ppc32/include/fpu_context.h

    re7b7be3f r0f3fc9b  
    4040#endif
    4141
    42 struct fpu_context {
     42typedef struct {
    4343        uint64_t fr14;
    4444        uint64_t fr15;
     
    6060        uint64_t fr31;
    6161        uint32_t fpscr;
    62 } __attribute__ ((packed));
     62} __attribute__ ((packed)) fpu_context_t;
    6363
    6464#endif
  • kernel/arch/ppc64/include/context.h

    re7b7be3f r0f3fc9b  
    4040#define SP_DELTA        16
    4141
    42 struct context {
     42typedef struct {
    4343        uintptr_t sp;
    4444        uintptr_t pc;
     
    6868       
    6969        ipl_t ipl;
    70 } __attribute__ ((packed));
     70} __attribute__ ((packed)) context_t;
    7171
    7272#endif
  • kernel/arch/ppc64/include/fpu_context.h

    re7b7be3f r0f3fc9b  
    4040#endif
    4141
    42 struct fpu_context {
     42typedef struct {
    4343        uint64_t fr14;
    4444        uint64_t fr15;
     
    6060        uint64_t fr31;
    6161        uint32_t fpscr;
    62 } __attribute__ ((packed));
     62} __attribute__ ((packed)) fpu_context_t;
    6363
    6464#endif
  • kernel/arch/sparc64/include/context.h

    re7b7be3f r0f3fc9b  
    5757 * function calls.
    5858 */
    59 struct context {
     59typedef struct {
    6060        uintptr_t sp;           /* %o6 */
    6161        uintptr_t pc;           /* %o7 */
     
    7777        uint64_t l7;
    7878        ipl_t ipl;
    79 };
     79} context_t;
    8080
    8181#endif
  • kernel/arch/sparc64/include/fpu_context.h

    re7b7be3f r0f3fc9b  
    4141#define FPU_CONTEXT_ALIGN       8
    4242
    43 struct fpu_context {
     43typedef struct {
    4444        uint64_t        d[32];
    4545        uint64_t        fsr;
    46 };
     46} fpu_context_t;
    4747
    4848#endif
Note: See TracChangeset for help on using the changeset viewer.