/SPARTAN/trunk/arch/ppc/src/asm.s |
---|
29,6 → 29,10 |
.text |
.global cpu_halt |
.global cpu_sleep |
cpu_halt: |
b cpu_halt |
cpu_sleep: |
b cpu_sleep |
/SPARTAN/trunk/arch/ppc/src/ppc.c |
---|
1,5 → 1,5 |
/* |
* Copyright (C) 2001-2004 Jakub Jermar |
* Copyright (C) 2005 Martin Decky |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
26,3 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
#include <arch.h> |
#include <arch/ppc.h> |
#include <arch/drivers/ofw.h> |
void early_init(int r3, int r4, int r5) |
{ |
ofw = (ofw_entry) r5; |
ofw_init(); |
} |
/SPARTAN/trunk/arch/ppc/src/dummy.s |
---|
41,7 → 41,6 |
.global panic_printf |
.global cpu_identify |
.global cpu_arch_init |
.global cpu_sleep |
.global cpu_print_report |
.global get_memory_size |
.global arch_pre_mm_init |
66,7 → 65,6 |
panic_printf: |
cpu_identify: |
cpu_arch_init: |
cpu_sleep: |
cpu_print_report: |
get_memory_size: |
arch_pre_mm_init: |
76,4 → 74,4 |
dummy: |
0: |
bl 0b |
b 0b |
/SPARTAN/trunk/arch/ppc/src/drivers/vga.c |
---|
File deleted |
/SPARTAN/trunk/arch/ppc/src/start.S |
---|
31,4 → 31,6 |
.global kernel_image_start |
kernel_image_start: |
b main_bsp |
bl early_init |
b main_bsp |