Changeset 89343aac in mainline


Ignore:
Timestamp:
2006-04-09T14:55:28Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a8844e0
Parents:
38fe9d0
Message:

start ppc64 port

Files:
13 added
4 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/loader/Makefile

    r38fe9d0 r89343aac  
    4747endif
    4848
    49 CFLAGS = -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3
     49CFLAGS = -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc
    5050DEFS =
    5151
  • arch/ppc32/loader/asm.S

    r38fe9d0 r89343aac  
    3030#include "regname.h"
    3131
    32 .data
    33 
    34 flush_buffer:
    35         .space (L1_CACHE_LINES * L1_CACHE_BYTES)
    36 
    3732.text
    3833
     
    125120        and r31, r31, r30
    126121        mtspr srr1, r31
     122       
     123        sync
     124        isync
    127125        rfi
    128126
  • arch/ppc32/loader/regname.h

    r38fe9d0 r89343aac  
    218218#define hid0_dci        (1 << 10)
    219219
    220 /* Cache sizes */
    221 #define L1_CACHE_LINES (128 * 8)
    222 #define L1_CACHE_BYTES 5
    223 
    224220#endif
  • boot.config

    r38fe9d0 r89343aac  
    88@ "mips32" MIPS 32-bit
    99@ "ppc32" PowerPC 32-bit
     10@ "ppc64" PowerPC 64-bit
    1011! ARCH (choice)
    1112
     
    1617% [ARCH=ppc32] SAVEAS PPC32_COMPILER COMPILER
    1718
     19# PPC64 Compiler
     20@ "cross" Cross-compiler
     21@ "native" Native
     22! [ARCH=ppc64] PPC64_COMPILER (choice)
     23% [ARCH=ppc64] SAVEAS PPC64_COMPILER COMPILER
     24
    1825# MIPS32 Compiler
    1926@ "cross" Cross-compiler
Note: See TracChangeset for help on using the changeset viewer.