Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 184 → Rev 185

/SPARTAN/trunk/arch/ppc/include/vga.h
File deleted
/SPARTAN/trunk/arch/ppc/include/ppc.h
0,0 → 1,34
/*
* Copyright (C) 2005 Martin Decky
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* - The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
#ifndef __ppc_PPC_H__
#define __ppc_PPC_H__
 
extern void early_init(int r3, int r4, int r5);
 
#endif
/SPARTAN/trunk/arch/ppc/Makefile.inc
22,4 → 22,4
arch/asm.s \
arch/mm/frame.c \
arch/mm/page.c \
arch/drivers/vga.c
arch/drivers/ofw.c
/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
/SPARTAN/trunk/arch/ia32/src/asm.S
34,8 → 34,6
 
.text
 
.global cpu_halt
.global cpu_sleep
.global paging_on
.global enable_l_apic_in_msr
.global interrupt_handlers