Changeset 06e1e95 in mainline for kernel/arch/ppc64


Ignore:
Timestamp:
2006-09-14T17:09:21Z (19 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.

Location:
kernel/arch/ppc64
Files:
33 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc64/include/arg.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_ARG_H__
    36 #define __ppc64_ARG_H__
     35#ifndef KERN_ppc64_ARG_H_
     36#define KERN_ppc64_ARG_H_
    3737
    3838#include <stdarg.h>
     
    4040#endif
    4141
    42  /** @}
     42/** @}
    4343 */
    44 
  • kernel/arch/ppc64/include/asm.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_ASM_H__
    36 #define __ppc64_ASM_H__
     35#ifndef KERN_ppc64_ASM_H_
     36#define KERN_ppc64_ASM_H_
    3737
    3838#include <arch/types.h>
     
    158158#endif
    159159
    160  /** @}
     160/** @}
    161161 */
    162 
  • kernel/arch/ppc64/include/asm/regname.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_REGNAME_H__
    36 #define __ppc64_REGNAME_H__
     35#ifndef KERN_ppc64_REGNAME_H_
     36#define KERN_ppc64_REGNAME_H_
    3737
    3838/* Condition Register Bit Fields */
     
    212212#endif
    213213
    214  /** @}
    215  */
    216 
     214/** @}
     215 */
  • kernel/arch/ppc64/include/atomic.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_ATOMIC_H__
    36 #define __ppc64_ATOMIC_H__
     35#ifndef KERN_ppc64_ATOMIC_H_
     36#define KERN_ppc64_ATOMIC_H_
    3737
    3838static inline void atomic_inc(atomic_t *val)
     
    9494#endif
    9595
    96  /** @}
     96/** @}
    9797 */
    98 
  • kernel/arch/ppc64/include/barrier.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_BARRIER_H__
    36 #define __ppc64_BARRIER_H__
     35#ifndef KERN_ppc64_BARRIER_H_
     36#define KERN_ppc64_BARRIER_H_
    3737
    3838#define CS_ENTER_BARRIER()      asm volatile ("" ::: "memory")
     
    4545#endif
    4646
    47  /** @}
     47/** @}
    4848 */
    49 
  • kernel/arch/ppc64/include/boot/boot.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_BOOT_H__
    36 #define __ppc64_BOOT_H__
     35#ifndef KERN_ppc64_BOOT_H_
     36#define KERN_ppc64_BOOT_H_
    3737
    3838#define BOOT_OFFSET             0x4000
     
    8989#endif
    9090
    91  /** @}
     91/** @}
    9292 */
    93 
  • kernel/arch/ppc64/include/byteorder.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_BYTEORDER_H__
    36 #define __ppc64_BYTEORDER_H__
     35#ifndef KERN_ppc64_BYTEORDER_H_
     36#define KERN_ppc64_BYTEORDER_H_
    3737
    3838#include <arch/types.h>
     
    7070#endif
    7171
    72  /** @}
     72/** @}
    7373 */
    74 
  • kernel/arch/ppc64/include/context.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_CONTEXT_H__
    36 #define __ppc64_CONTEXT_H__
     35#ifndef KERN_ppc64_CONTEXT_H_
     36#define KERN_ppc64_CONTEXT_H_
    3737
    38 #ifndef __ppc64_TYPES_H__
     38#ifndef KERN_ppc64_TYPES_H_
    3939# include <arch/types.h>
    4040#endif
     
    7474#endif
    7575
    76  /** @}
     76/** @}
    7777 */
    78 
  • kernel/arch/ppc64/include/context_offset.h

    re5ecc02 r06e1e95  
    4444#define OFFSET_FR31  0x88
    4545#define OFFSET_FPSCR 0x90
    46 
    47  /** @}
    48  */
    49 
  • kernel/arch/ppc64/include/cpu.h

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc64_CPU_H__
    36 #define __ppc64_CPU_H__
     35#ifndef KERN_ppc64_CPU_H_
     36#define KERN_ppc64_CPU_H_
    3737
    3838#include <typedefs.h>
  • kernel/arch/ppc64/include/cpuid.h

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc64_CPUID_H__
    36 #define __ppc64_CPUID_H__
     35#ifndef KERN_ppc64_CPUID_H_
     36#define KERN_ppc64_CPUID_H_
    3737
    3838#include <arch/types.h>
  • kernel/arch/ppc64/include/debug.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64debug
     29/** @addtogroup ppc64debug
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_DEBUG_H__
    36 #define __ppc64_DEBUG_H__
     35#ifndef KERN_ppc64_DEBUG_H_
     36#define KERN_ppc64_DEBUG_H_
    3737
    3838#endif
    3939
    40  /** @}
     40/** @}
    4141 */
    42 
  • kernel/arch/ppc64/include/elf.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_ELF_H__
    36 #define __ppc64_ELF_H__
     35#ifndef KERN_ppc64_ELF_H_
     36#define KERN_ppc64_ELF_H_
    3737
    3838#define ELF_MACHINE             EM_PPC64
     
    4242#endif
    4343
    44  /** @}
     44/** @}
    4545 */
    46 
  • kernel/arch/ppc64/include/exception.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_EXCEPTION_H__
    36 #define __ppc64_EXCEPTION_H__
     35#ifndef KERN_ppc64_EXCEPTION_H_
     36#define KERN_ppc64_EXCEPTION_H_
    3737
    38 #ifndef __ppc64_TYPES_H__
     38#ifndef KERN_ppc64_TYPES_H_
    3939#  include <arch/types.h>
    4040#endif
     
    101101#endif
    102102
    103  /** @}
     103/** @}
    104104 */
    105 
  • kernel/arch/ppc64/include/faddr.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_FADDR_H__
    36 #define __ppc64_FADDR_H__
     35#ifndef KERN_ppc64_FADDR_H_
     36#define KERN_ppc64_FADDR_H_
    3737
    3838#include <arch/types.h>
     
    4242#endif
    4343
    44  /** @}
     44/** @}
    4545 */
    46 
  • kernel/arch/ppc64/include/fpu_context.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_FPU_CONTEXT_H__
    36 #define __ppc64_FPU_CONTEXT_H__
     35#ifndef KERN_ppc64_FPU_CONTEXT_H_
     36#define KERN_ppc64_FPU_CONTEXT_H_
    3737
    38 #ifndef __ppc64_TYPES_H__
     38#ifndef KERN_ppc64_TYPES_H_
    3939# include <arch/types.h>
    4040#endif
     
    6464#endif
    6565
    66  /** @}
     66/** @}
    6767 */
    68 
  • kernel/arch/ppc64/include/interrupt.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64interrupt
     29/** @addtogroup ppc64interrupt
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_INTERRUPT_H__
    36 #define __ppc64_INTERRUPT_H__
     35#ifndef KERN_ppc64_INTERRUPT_H_
     36#define KERN_ppc64_INTERRUPT_H_
    3737
    3838#include <arch/exception.h>
     
    4949#endif
    5050
    51  /** @}
     51/** @}
    5252 */
    53 
  • kernel/arch/ppc64/include/memstr.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_MEMSTR_H__
    36 #define __ppc64_MEMSTR_H__
     35#ifndef KERN_ppc64_MEMSTR_H_
     36#define KERN_ppc64_MEMSTR_H_
    3737
    3838#define memcpy(dst, src, cnt)  __builtin_memcpy((dst), (src), (cnt))
     
    4545#endif
    4646
    47  /** @}
     47/** @}
    4848 */
    49 
  • kernel/arch/ppc64/include/mm/as.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64mm       
     29/** @addtogroup ppc64mm
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_AS_H__
    36 #define __ppc64_AS_H__
     35#ifndef KERN_ppc64_AS_H_
     36#define KERN_ppc64_AS_H_
    3737
    3838#define KERNEL_ADDRESS_SPACE_SHADOWED_ARCH      0
     
    5151#endif
    5252
    53  /** @}
     53/** @}
    5454 */
    55 
  • kernel/arch/ppc64/include/mm/asid.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64mm       
     29/** @addtogroup ppc64mm
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_ASID_H__
    36 #define __ppc64_ASID_H__
     35#ifndef KERN_ppc64_ASID_H_
     36#define KERN_ppc64_ASID_H_
    3737
    3838typedef int asid_t;
     
    4545#endif
    4646
    47  /** @}
     47/** @}
    4848 */
    49 
  • kernel/arch/ppc64/include/mm/frame.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64mm       
     29/** @addtogroup ppc64mm
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_FRAME_H__
    36 #define __ppc64_FRAME_H__
     35#ifndef KERN_ppc64_FRAME_H_
     36#define KERN_ppc64_FRAME_H_
    3737
    3838#define FRAME_WIDTH             12      /* 4K */
     
    5353#endif
    5454
    55  /** @}
     55/** @}
    5656 */
    57 
  • kernel/arch/ppc64/include/mm/memory_init.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64mm       
     29/** @addtogroup ppc64mm
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_MEMORY_INIT_H__
    36 #define __ppc64_MEMORY_INIT_H__
     35#ifndef KERN_ppc64_MEMORY_INIT_H_
     36#define KERN_ppc64_MEMORY_INIT_H_
    3737
    3838#include <typedefs.h>
     
    4444#endif
    4545
    46  /** @}
     46/** @}
    4747 */
    48 
  • kernel/arch/ppc64/include/mm/page.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64mm       
     29/** @addtogroup ppc64mm
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_PAGE_H__
    36 #define __ppc64_PAGE_H__
     35#ifndef KERN_ppc64_PAGE_H_
     36#define KERN_ppc64_PAGE_H_
    3737
    3838#include <arch/mm/frame.h>
     
    159159#endif
    160160
    161  /** @}
     161/** @}
    162162 */
    163 
  • kernel/arch/ppc64/include/mm/tlb.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64mm       
     29/** @addtogroup ppc64mm
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_TLB_H__
    36 #define __ppc64_TLB_H__
    37 
     35#ifndef KERN_ppc64_TLB_H_
     36#define KERN_ppc64_TLB_H_
    3837
    3938#endif
    4039
    41  /** @}
     40/** @}
    4241 */
    43 
  • kernel/arch/ppc64/include/proc/task.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64proc
     29/** @addtogroup ppc64proc
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_TASK_H__
    36 #define __ppc64_TASK_H__
     35#ifndef KERN_ppc64_TASK_H_
     36#define KERN_ppc64_TASK_H_
    3737
    3838typedef struct {
     
    4444#endif
    4545
    46  /** @}
     46/** @}
    4747 */
    48 
  • kernel/arch/ppc64/include/proc/thread.h

    re5ecc02 r06e1e95  
    4747/** @}
    4848 */
    49 
  • kernel/arch/ppc64/include/types.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64 
     29/** @addtogroup ppc64   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc64_TYPES_H__
    36 #define __ppc64_TYPES_H__
     35#ifndef KERN_ppc64_TYPES_H_
     36#define KERN_ppc64_TYPES_H_
    3737
    3838#define NULL 0
     
    6666#endif
    6767
    68  /** @}
     68/** @}
    6969 */
    70 
  • kernel/arch/ppc64/src/ddi/ddi.c

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64ddi
     29/** @addtogroup ppc64ddi
    3030 * @{
    3131 */
     
    5353}
    5454
    55  /** @}
     55/** @}
    5656 */
    57 
  • kernel/arch/ppc64/src/interrupt.c

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64interrupt
     29/** @addtogroup ppc64interrupt
    3030 * @{
    3131 */
     
    7272}
    7373
    74  /** @}
     74/** @}
    7575 */
    76 
  • kernel/arch/ppc64/src/mm/frame.c

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64mm       
     29/** @addtogroup ppc64mm
    3030 * @{
    3131 */
     
    6868}
    6969
    70  /** @}
     70/** @}
    7171 */
    72 
  • kernel/arch/ppc64/src/mm/memory_init.c

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64mm       
     29/** @addtogroup ppc64mm
    3030 * @{
    3131 */
     
    5353}
    5454
    55  /** @}
     55/** @}
    5656 */
    57 
  • kernel/arch/ppc64/src/mm/page.c

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64mm       
     29/** @addtogroup ppc64mm
    3030 * @{
    3131 */
     
    304304}
    305305
    306  /** @}
    307  */
    308 
     306/** @}
     307 */
  • kernel/arch/ppc64/src/proc/scheduler.c

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc64proc
     29/** @addtogroup ppc64proc
    3030 * @{
    3131 */
     
    6060}
    6161
    62  /** @}
     62/** @}
    6363 */
    64 
Note: See TracChangeset for help on using the changeset viewer.