Changeset 60780c5 in mainline


Ignore:
Timestamp:
2005-09-12T13:48:11Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b50135
Parents:
e75cf11
Message:

Rename mips port to mips32.

Files:
4 added
4 deleted
2 edited
53 moved

Legend:

Unmodified
Added
Removed
  • arch/mips32/boot/_link.ld

    re75cf11 r60780c5  
    1 /*
    2  *  MIPS linker script
    3  * 
    4  *  kernel text
    5  *  kernel data
    6  * 
    7  */
    8 
    91/* OUTPUT_FORMAT(ecoff-littlemips) */
    102OUTPUT_FORMAT(binary)
  • arch/mips32/include/arch.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_ARCH_H__
    30 #define __mips_ARCH_H__
     29#ifndef __mips32_ARCH_H__
     30#define __mips32_ARCH_H__
    3131
    3232#endif
  • arch/mips32/include/arg.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_ARG_H__
    30 #define __mips_ARG_H__
     29#ifndef __mips32_ARG_H__
     30#define __mips32_ARG_H__
    3131
    3232#include <stackarg.h>
  • arch/mips32/include/asm.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __MIPS_ASM_H__
    30 #define __MIPS_ASM_H__
     29#ifndef __mips32_ASM_H__
     30#define __mips32_ASM_H__
    3131
    3232#include <arch/types.h>
  • arch/mips32/include/asm/boot.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_BOOT_H_
    30 #define __mips_BOOT_H_
     29#ifndef __mips32_BOOT_H_
     30#define __mips32_BOOT_H_
    3131
    3232
  • arch/mips32/include/asm/regname.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_REGNAME_H_
    30 #define __mips_REGNAME_H_
     29#ifndef __mips32_REGNAME_H_
     30#define __mips32_REGNAME_H_
    3131
    3232#define zero    0
  • arch/mips32/include/atomic.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __MIPS_ATOMIC_H__
    30 #define __MIPS_ATOMIC_H__
     29#ifndef __mips32_ATOMIC_H__
     30#define __mips32_ATOMIC_H__
    3131
    3232#define atomic_inc(x)   (a_add(x,1))
  • arch/mips32/include/barrier.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_BARRIER_H__
    30 #define __mips_BARRIER_H__
     29#ifndef __mips32_BARRIER_H__
     30#define __mips32_BARRIER_H__
    3131
    3232/*
  • arch/mips32/include/byteorder.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_BYTEORDER_H__
    30 #define __mips_BYTEORDER_H__
     29#ifndef __mips32_BYTEORDER_H__
     30#define __mips32_BYTEORDER_H__
    3131
    3232#include <arch/types.h>
  • arch/mips32/include/cache.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __CACHE_H__
    30 #define __CACHE_H__
     29#ifndef __mips32_CACHE_H__
     30#define __mips32_CACHE_H__
    3131
    3232extern void cache_error(void);
  • arch/mips32/include/console.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_CONSOLE_H__
    30 #define __mips_CONSOLE_H__
     29#ifndef __mips32_CONSOLE_H__
     30#define __mips32_CONSOLE_H__
    3131
    3232
  • arch/mips32/include/context.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_CONTEXT_H__
    30 #define __mips_CONTEXT_H__
     29#ifndef __mips32_CONTEXT_H__
     30#define __mips32_CONTEXT_H__
    3131
    3232#define STACK_ITEM_SIZE 4
     
    4040#ifndef __ASM__
    4141
    42 #ifndef __mips_TYPES_H_
     42#ifndef __mips32_TYPES_H__
    4343# include <arch/types.h>
    4444#endif
  • arch/mips32/include/cp0.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __CP0_H__
    30 #define __CP0_H__
     29#ifndef __mips32_CP0_H__
     30#define __mips32_CP0_H__
    3131
    3232#include <arch/types.h>
  • arch/mips32/include/cpu.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_CPU_H__
    30 #define __mips_CPU_H__
     29#ifndef __mips32_CPU_H__
     30#define __mips32_CPU_H__
    3131
    3232struct cpu_arch {
  • arch/mips32/include/debug.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_DEBUG_H__
    30 #define __mips_DEBUG_H__
     29#ifndef __mips32_DEBUG_H__
     30#define __mips23_DEBUG_H__
    3131
    3232
  • arch/mips32/include/drivers/arc.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_ARC_H_
    30 #define __mips_ARC_H_
     29#ifndef __mips32_ARC_H_
     30#define __mips32_ARC_H_
    3131
    3232#include <arch/types.h>
  • arch/mips32/include/exception.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __EXCEPTION_H__
    30 #define __EXCEPTION_H__
     29#ifndef __mips32_EXCEPTION_H__
     30#define __mips32_EXCEPTION_H__
    3131
    32 #ifndef __mips_TYPES_H_
     32#ifndef __mips32_TYPES_H__
    3333#  include <arch/types.h>
    3434#endif
  • arch/mips32/include/faddr.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_FADDR_H__
    30 #define __mips_FADDR_H__
     29#ifndef __mips32_FADDR_H__
     30#define __mips32_FADDR_H__
    3131
    3232#include <arch/types.h>
  • arch/mips32/include/fmath.h

    re75cf11 r60780c5  
    2626 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2727 */
     28
     29#ifndef __mips32_FMATH_H__
     30#define __mips32_FMATH_H__
    2831
    2932#include <arch/types.h>
     
    6366/** return 1, if fmath is a infinity */
    6467int fmath_is_infinity(double num);
     68
     69#endif
  • arch/mips32/include/fpu_context.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_FPU_CONTEXT_H__
    30 #define __mips_FPU_CONTEXT_H__
     29#ifndef __mips32_FPU_CONTEXT_H__
     30#define __mips32_FPU_CONTEXT_H__
    3131
    3232#include <arch/types.h>
  • arch/mips32/include/interrupt.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __INTERRUPT_H__
    30 #define __INTERRUPT_H__
     29#ifndef __mips32_INTERRUPT_H__
     30#define __mips32_INTERRUPT_H__
    3131
    3232#include <arch/exception.h>
  • arch/mips32/include/mm/asid.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_ASID_H__
    30 #define __mips_ASID_H__
     29#ifndef __mips32_ASID_H__
     30#define __mips32_ASID_H__
    3131
    3232extern void asid_bitmap_reset(void);
  • arch/mips32/include/mm/frame.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_FRAME_H__
    30 #define __mips_FRAME_H__
     29#ifndef __mips32_FRAME_H__
     30#define __mips32_FRAME_H__
    3131
    3232#define FRAME_SIZE              16384
  • arch/mips32/include/mm/memory_init.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_MEMORY_INIT_H__
    30 #define __mips_MEMORY_INIT_H__
     29#ifndef __mips32_MEMORY_INIT_H__
     30#define __mips32_MEMORY_INIT_H__
    3131
    3232#include <config.h>
  • arch/mips32/include/mm/page.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_PAGE_H__
    30 #define __mips_PAGE_H__
     29#ifndef __mips32_PAGE_H__
     30#define __mips32_PAGE_H__
    3131
    3232#define PAGE_SIZE       FRAME_SIZE
  • arch/mips32/include/mm/tlb.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_TLB_H__
    30 #define __mips_TLB_H__
     29#ifndef __mips32_TLB_H__
     30#define __mips32_TLB_H__
    3131
    3232#include <arch/exception.h>
  • arch/mips32/include/mm/vm.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_VM_H__
    30 #define __mips_VM_H__
     29#ifndef __mips32_VM_H__
     30#define __mips32_VM_H__
    3131
    3232#include <arch/types.h>
  • arch/mips32/include/thread.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __mips_THREAD_H__
    30 #define __mips_THREAD_H__
     29#ifndef __mips32_THREAD_H__
     30#define __mips32_THREAD_H__
    3131
    3232#include <arch/exception.h>
  • arch/mips32/include/types.h

    re75cf11 r60780c5  
    2727 */
    2828
    29 #ifndef __TYPES_H__
    30 #define __TYPES_H__
     29#ifndef __mips32_TYPES_H__
     30#define __mips32_TYPES_H__
    3131
    3232#define NULL    0
  • doc/requirements

    re75cf11 r60780c5  
    6666        o IA-64 binutils 2.15 and gcc 4.0.0 cross compiler
    6767        o older versions may do as well, but are now obsoleted
     68
     69ppc32 port
     70==========
     71
     72        HARDWARE REQUIREMENTS
     73        o no real hardware supported
     74
     75        EMULATORS AND VIRTUALIZERS
     76        o PearPC
     77       
     78        COMPILER REQUIREMENTS
     79        o binutils 2.16 and gcc 4.0.1
  • src/Makefile.config

    re75cf11 r60780c5  
    11#ARCH=ia32
    2 #ARCH=mips
     2#ARCH=mips32
    33#ARCH=ia64
    4 #ARCH=ppc
     4#ARCH=ppc32
    55#ARCH=amd64
    66
  • src/build.mips32

    re75cf11 r60780c5  
    99
    1010# Generate context_offset.h
    11 (cd ../tools/mips/;make gencontext;./gencontext)
    12 rm ../arch/mips/_link.ld
     11(cd ../tools/mips32/;make gencontext;./gencontext)
     12rm ../arch/mips32/_link.ld
    1313
    14 make all ARCH=mips MACHINE=$MACHINE
     14make all ARCH=mips32 MACHINE=$MACHINE
  • tools/mips32/gencontext.c

    re75cf11 r60780c5  
    55typedef __u32 pri_t;
    66
    7 #define __mips_TYPES_H_
    8 #include "../../arch/mips/include/context.h"
    9 #include "../../arch/mips/include/exception.h"
     7#define __mips32_TYPES_H__
     8#include "../../arch/mips32/include/context.h"
     9#include "../../arch/mips32/include/exception.h"
    1010
    11 #define FILENAME "../../arch/mips/include/context_offset.h"
     11#define FILENAME "../../arch/mips32/include/context_offset.h"
    1212
    1313int main(void)
Note: See TracChangeset for help on using the changeset viewer.