Changeset 8b1439e in mainline


Ignore:
Timestamp:
2006-03-14T15:14:56Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2d01bbd
Parents:
d9e11ff2
Message:

ppc32: initial I/O support

Location:
arch/ppc32
Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/Makefile.inc

    rd9e11ff2 r8b1439e  
    6464        arch/$(ARCH)/src/asm.S \
    6565        arch/$(ARCH)/src/cpu/cpu.c \
     66        arch/$(ARCH)/src/proc/scheduler.c \
     67        arch/$(ARCH)/src/drivers/cuda.c \
    6668        arch/$(ARCH)/src/mm/as.c \
    6769        arch/$(ARCH)/src/mm/frame.c \
  • arch/ppc32/include/asm.h

    rd9e11ff2 r8b1439e  
    4747                "mfmsr %0\n"
    4848                "mfmsr %1\n"
    49                 "ori %1, %1, 1 << 15\n"
     49//              "ori %1, %1, 1 << 15\n"
    5050                "mtmsr %1\n"
    5151                : "=r" (v), "=r" (tmp)
  • arch/ppc32/src/asm.S

    rd9e11ff2 r8b1439e  
    3131.text
    3232
    33 .global cpu_halt
    3433.global cpu_sleep
    3534.global memsetb
    3635.global memcpy
    37 
    38 cpu_halt:
    39         b cpu_halt
    4036
    4137cpu_sleep:
  • arch/ppc32/src/dummy.s

    rd9e11ff2 r8b1439e  
    3131.global asm_delay_loop
    3232.global userspace
    33 .global before_thread_runs_arch
    34 .global after_thread_ran_arch
    35 .global dummy
    36 .global fpu_init
    37 .global fpu_enable
    38 .global fpu_disable
    3933.global tlb_invalidate_all
    4034.global tlb_invalidate_asid
    4135.global tlb_invalidate_pages
    4236
    43 before_thread_runs_arch:
    44 after_thread_ran_arch:
     37tlb_invalidate_all:
     38        b tlb_invalidate_all
     39
     40tlb_invalidate_asid:
     41        b tlb_invalidate_asid
     42
     43tlb_invalidate_pages:
     44        b tlb_invalidate_pages
     45
    4546userspace:
     47        b userspace
     48
    4649asm_delay_loop:
    47 fpu_init:
    48 fpu_enable:     
    49 fpu_disable:   
    50 tlb_invalidate_all:
    51 tlb_invalidate_asid:
    52 tlb_invalidate_pages:
    53 
    54 
    55 dummy:
    56 0:
    57         b 0b
     50        b asm_delay_loop
  • arch/ppc32/src/fpu_context.S

    rd9e11ff2 r8b1439e  
    3434.global fpu_context_save
    3535.global fpu_context_restore
     36.global fpu_init
     37.global fpu_enable
     38.global fpu_disable
    3639
    3740.macro FPU_CONTEXT_STORE r
     
    9295       
    9396        blr
     97
     98fpu_init:
     99        blr
     100
     101fpu_enable:
     102        blr
     103
     104fpu_disable:
     105        blr
Note: See TracChangeset for help on using the changeset viewer.