Changeset 06e1e95 in mainline for kernel/arch/ppc32


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/ppc32
Files:
29 edited

Legend:

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

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

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc32 
     29/** @addtogroup ppc32   
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc32_ASM_H__
    36 #define __ppc32_ASM_H__
     35#ifndef KERN_ppc32_ASM_H_
     36#define KERN_ppc32_ASM_H_
    3737
    3838#include <arch/types.h>
     
    152152#endif
    153153
    154  /** @}
     154/** @}
    155155 */
    156 
  • kernel/arch/ppc32/include/asm/regname.h

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc32_REGNAME_H__
    36 #define __ppc32_REGNAME_H__
     35#ifndef KERN_ppc32_REGNAME_H_
     36#define KERN_ppc32_REGNAME_H_
    3737
    3838/* Condition Register Bit Fields */
  • kernel/arch/ppc32/include/atomic.h

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

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

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc32_BOOT_H__
    36 #define __ppc32_BOOT_H__
     35#ifndef KERN_ppc32_BOOT_H_
     36#define KERN_ppc32_BOOT_H_
    3737
    3838#define BOOT_OFFSET             0x8000
  • kernel/arch/ppc32/include/byteorder.h

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

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

    re5ecc02 r06e1e95  
    4545#define OFFSET_FPSCR 0x90
    4646
    47  /** @}
    48  */
    49 
  • kernel/arch/ppc32/include/cpu.h

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc32_CPU_H__
    36 #define __ppc32_CPU_H__
     35#ifndef KERN_ppc32_CPU_H_
     36#define KERN_ppc32_CPU_H_
    3737
    3838#include <typedefs.h>
  • kernel/arch/ppc32/include/cpuid.h

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc32_CPUID_H__
    36 #define __ppc32_CPUID_H__
     35#ifndef KERN_ppc32_CPUID_H_
     36#define KERN_ppc32_CPUID_H_
    3737
    3838#include <arch/types.h>
  • kernel/arch/ppc32/include/debug.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc32debug
     29/** @addtogroup ppc32debug
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc32_DEBUG_H__
    36 #define __ppc32_DEBUG_H__
     35#ifndef KERN_ppc32_DEBUG_H_
     36#define KERN_ppc32_DEBUG_H_
    3737
    3838#endif
    3939
    40  /** @}
     40/** @}
    4141 */
    42 
  • kernel/arch/ppc32/include/drivers/cuda.h

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __CUDA_H__
    36 #define __CUDA_H__
     35#ifndef KERN_ppc32_CUDA_H_
     36#define KERN_ppc32_CUDA_H_
    3737
    3838#include <arch/types.h>
  • kernel/arch/ppc32/include/drivers/pic.h

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __PIC_H_
    36 #define __PIC_H_
     35#ifndef KERN_ppc32_PIC_H_
     36#define KERN_ppc32_PIC_H_
    3737
    3838#define PIC_PENDING_LOW    8
  • kernel/arch/ppc32/include/elf.h

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

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc32_EXCEPTION_H__
    36 #define __ppc32_EXCEPTION_H__
     35#ifndef KERN_ppc32_EXCEPTION_H_
     36#define KERN_ppc32_EXCEPTION_H_
    3737
    38 #ifndef __ppc32_TYPES_H__
     38#ifndef KERN_ppc32_TYPES_H_
    3939#  include <arch/types.h>
    4040#endif
  • kernel/arch/ppc32/include/faddr.h

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

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

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc32_INTERRUPT_H__
    36 #define __ppc32_INTERRUPT_H__
     35#ifndef KERN_ppc32_INTERRUPT_H_
     36#define KERN_ppc32_INTERRUPT_H_
    3737
    3838#include <arch/exception.h>
    3939
    4040#define IRQ_COUNT       64
    41 
    4241
    4342#define IVT_ITEMS   (16 + IRQ_COUNT)
  • kernel/arch/ppc32/include/memstr.h

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

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc32_AS_H__
    36 #define __ppc32_AS_H__
     35#ifndef KERN_ppc32_AS_H_
     36#define KERN_ppc32_AS_H_
    3737
    3838#define KERNEL_ADDRESS_SPACE_SHADOWED_ARCH      0
  • kernel/arch/ppc32/include/mm/asid.h

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc32_ASID_H__
    36 #define __ppc32_ASID_H__
     35#ifndef KERN_ppc32_ASID_H_
     36#define KERN_ppc32_ASID_H_
    3737
    3838#include <arch/types.h>
  • kernel/arch/ppc32/include/mm/frame.h

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc32_FRAME_H__
    36 #define __ppc32_FRAME_H__
     35#ifndef KERN_ppc32_FRAME_H_
     36#define KERN_ppc32_FRAME_H_
    3737
    3838#define FRAME_WIDTH             12      /* 4K */
  • kernel/arch/ppc32/include/mm/memory_init.h

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc32_MEMORY_INIT_H__
    36 #define __ppc32_MEMORY_INIT_H__
     35#ifndef KERN_ppc32_MEMORY_INIT_H_
     36#define KERN_ppc32_MEMORY_INIT_H_
    3737
    3838#include <typedefs.h>
  • kernel/arch/ppc32/include/mm/tlb.h

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc32_TLB_H__
    36 #define __ppc32_TLB_H__
     35#ifndef KERN_ppc32_TLB_H_
     36#define KERN_ppc32_TLB_H_
    3737
    3838typedef struct {
  • kernel/arch/ppc32/include/proc/task.h

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc32proc
     29/** @addtogroup ppc32proc
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __ppc32_TASK_H__
    36 #define __ppc32_TASK_H__
     35#ifndef KERN_ppc32_TASK_H_
     36#define KERN_ppc32_TASK_H_
    3737
    3838typedef struct {
     
    4444#endif
    4545
    46  /** @}
     46/** @}
    4747 */
    48 
  • kernel/arch/ppc32/include/types.h

    re5ecc02 r06e1e95  
    3333 */
    3434
    35 #ifndef __ppc32_TYPES_H__
    36 #define __ppc32_TYPES_H__
     35#ifndef KERN_ppc32_TYPES_H_
     36#define KERN_ppc32_TYPES_H_
    3737
    3838#define NULL 0
  • kernel/arch/ppc32/src/ddi/ddi.c

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc32ddi
     29/** @addtogroup ppc32ddi
    3030 * @{
    3131 */
     
    5353}
    5454
    55  /** @}
     55/** @}
    5656 */
    57 
  • kernel/arch/ppc32/src/drivers/pic.c

    re5ecc02 r06e1e95  
    2727 */
    2828
    29  /** @addtogroup ppc32 
     29/** @addtogroup ppc32   
    3030 * @{
    3131 */
     
    9191}
    9292
    93  /** @}
     93/** @}
    9494 */
    95 
Note: See TracChangeset for help on using the changeset viewer.