Changeset d99c1d2 in mainline for kernel/arch/ppc32/include


Ignore:
Timestamp:
2010-03-23T14:41:06Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b1164e8
Parents:
7c682dd1
Message:

use [u]int{8|16|32|64}_t type definitions as detected by the autotool
replace direct usage of arch/types.h with typedefs.h

Location:
kernel/arch/ppc32/include
Files:
12 edited

Legend:

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

    r7c682dd1 rd99c1d2  
    3636#define KERN_ppc32_ASM_H_
    3737
    38 #include <arch/types.h>
    3938#include <typedefs.h>
    4039#include <config.h>
  • kernel/arch/ppc32/include/boot/boot.h

    r7c682dd1 rd99c1d2  
    4747#ifndef __ASM__
    4848
    49 #include <arch/types.h>
     49#include <typedefs.h>
    5050#include <config.h>
    5151#include <genarch/ofw/ofw_tree.h>
  • kernel/arch/ppc32/include/context.h

    r7c682dd1 rd99c1d2  
    3636#define KERN_ppc32_CONTEXT_H_
    3737
    38 #include <arch/types.h>
     38#include <typedefs.h>
    3939
    4040#define SP_DELTA  16
  • kernel/arch/ppc32/include/cpuid.h

    r7c682dd1 rd99c1d2  
    3636#define KERN_ppc32_CPUID_H_
    3737
    38 #include <arch/types.h>
     38#include <typedefs.h>
    3939
    4040typedef struct {
  • kernel/arch/ppc32/include/drivers/pic.h

    r7c682dd1 rd99c1d2  
    3636#define KERN_ppc32_PIC_H_
    3737
    38 #include <arch/types.h>
     38#include <typedefs.h>
    3939#include <ddi/irq.h>
    4040
  • kernel/arch/ppc32/include/exception.h

    r7c682dd1 rd99c1d2  
    3636#define KERN_ppc32_EXCEPTION_H_
    3737
    38 #include <arch/types.h>
     38#include <typedefs.h>
    3939#include <arch/regutils.h>
    4040
  • kernel/arch/ppc32/include/faddr.h

    r7c682dd1 rd99c1d2  
    3636#define KERN_ppc32_FADDR_H_
    3737
    38 #include <arch/types.h>
     38#include <typedefs.h>
    3939
    4040#define FADDR(fptr)             ((uintptr_t) (fptr))
  • kernel/arch/ppc32/include/fpu_context.h

    r7c682dd1 rd99c1d2  
    3737
    3838#ifndef KERN_ppc32_TYPES_H_
    39 # include <arch/types.h>
     39        #include <typedefs.h>
    4040#endif
    4141
  • kernel/arch/ppc32/include/mm/asid.h

    r7c682dd1 rd99c1d2  
    3636#define KERN_ppc32_ASID_H_
    3737
    38 #include <arch/types.h>
     38#include <typedefs.h>
    3939
    4040#define ASID_MAX_ARCH           4096
  • kernel/arch/ppc32/include/mm/frame.h

    r7c682dd1 rd99c1d2  
    4242#ifndef __ASM__
    4343
    44 #include <arch/types.h>
     44#include <typedefs.h>
    4545
    4646extern uintptr_t last_frame;
  • kernel/arch/ppc32/include/mm/tlb.h

    r7c682dd1 rd99c1d2  
    3737
    3838#include <arch/interrupt.h>
    39 #include <arch/types.h>
    4039#include <typedefs.h>
    4140
  • kernel/arch/ppc32/include/types.h

    r7c682dd1 rd99c1d2  
    3636#define KERN_ppc32_TYPES_H_
    3737
    38 typedef signed char int8_t;
    39 typedef signed short int16_t;
    40 typedef signed int int32_t;
    41 typedef signed long long int64_t;
    42 
    43 typedef unsigned char uint8_t;
    44 typedef unsigned short uint16_t;
    45 typedef unsigned int uint32_t;
    46 typedef unsigned long long uint64_t;
    47 
    4838typedef uint32_t size_t;
    4939
     
    6151
    6252/**< Formats for uintptr_t, size_t */
    63 #define PRIp "x"
    64 #define PRIs "u"
     53#define PRIp  "x"
     54#define PRIs  "u"
    6555
    6656/**< Formats for (u)int8_t, (u)int16_t, (u)int32_t, (u)int64_t and (u)native_t */
    67 #define PRId8 "d"
    68 #define PRId16 "d"
    69 #define PRId32 "d"
    70 #define PRId64 "lld"
    71 #define PRIdn "d"
     57#define PRId8   "d"
     58#define PRId16  "d"
     59#define PRId32  "d"
     60#define PRId64  "lld"
     61#define PRIdn   "d"
    7262
    73 #define PRIu8 "u"
    74 #define PRIu16 "u"
    75 #define PRIu32 "u"
    76 #define PRIu64 "llu"
    77 #define PRIun "u"
     63#define PRIu8   "u"
     64#define PRIu16  "u"
     65#define PRIu32  "u"
     66#define PRIu64  "llu"
     67#define PRIun   "u"
    7868
    79 #define PRIx8 "x"
    80 #define PRIx16 "x"
    81 #define PRIx32 "x"
    82 #define PRIx64 "llx"
    83 #define PRIxn "x"
     69#define PRIx8   "x"
     70#define PRIx16  "x"
     71#define PRIx32  "x"
     72#define PRIx64  "llx"
     73#define PRIxn   "x"
    8474
    8575#endif
Note: See TracChangeset for help on using the changeset viewer.