Changeset fcee56c0 in rtems
- Timestamp:
- 07/01/99 23:39:13 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 258fd79
- Parents:
- 2a6a029f
- Location:
- c/src/lib
- Files:
-
- 77 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/mcp750/Makefile.in
r2a6a029f rfcee56c0 18 18 # wrapup is the one that actually builds and installs the library 19 19 # from the individual .rel files built in other directories 20 SUB_DIRS= console include pci residual openpic irq vectors start startup bootloader wrapup20 SUB_DIRS= console include pci residual openpic irq vectors start startup bootloader dec21140 wrapup -
c/src/lib/libbsp/powerpc/mcp750/bootloader/Makefile.in
r2a6a029f rfcee56c0 1 1 # 2 # $Id :2 # $Id$ 3 3 # 4 4 -
c/src/lib/libbsp/powerpc/mcp750/bootloader/bootldr.h
r2a6a029f rfcee56c0 1 1 /* 2 * include/asm-ppc/bloader.h -- Include file for bootloader. 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 8 * for more details. 2 * bootldr.h -- Include file for bootloader. 3 * 4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 * 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 9 16 */ 10 17 -
c/src/lib/libbsp/powerpc/mcp750/bootloader/em86.c
r2a6a029f rfcee56c0 1 /* 2 * em86.c -- Include file for bootloader. 3 * 4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 * 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 16 */ 17 1 18 /***************************************************************************** 2 19 * -
c/src/lib/libbsp/powerpc/mcp750/bootloader/em86real.S
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/boot/em86real.S -- Small x86 emulator for video board setup2 * em86real.S 3 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 8 * for more details. 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 9 16 */ 10 17 -
c/src/lib/libbsp/powerpc/mcp750/bootloader/exception.S
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/loader/exceotion.S -- Exception handlers for early boot. 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 8 * for more details. 2 * exception.S -- Exception handlers for early boot. 3 * 4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 * 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 9 16 */ 10 17 -
c/src/lib/libbsp/powerpc/mcp750/bootloader/head.S
r2a6a029f rfcee56c0 1 1 /* 2 * head.S -- Bootloader Entry point 3 * 4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 * 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 2 15 * $Id$ 3 *4 * This code is loaded by the ROM loader at some arbitrary location.5 * Move it to high memory so that it can load the kernel at 0x0000.6 *7 16 */ 8 17 -
c/src/lib/libbsp/powerpc/mcp750/bootloader/misc.c
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/prepboot/misc.c2 * head.S -- Bootloader Entry point 3 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 5 * 6 * This file is based on arch/ppc/boot misc.c in previous versions of 7 * Linux/PPC but has been so extensively changed that only a few lines 8 * remain from the original. 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 9 8 * 10 * This file is subject to the terms and conditions of the GNU General Public 11 * License. See the file COPYING in the main directory of this archive 12 * for more details. 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 13 16 */ 14 17 -
c/src/lib/libbsp/powerpc/mcp750/bootloader/mm.c
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/prepboot/mm.c -- Crude memory management for early boot.2 * mm.c -- Crude memory management for early boot. 3 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 8 * for more details. 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 9 16 */ 10 17 -
c/src/lib/libbsp/powerpc/mcp750/bootloader/pci.c
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/prepboot/pci.c -- Crude pci handling for early boot.2 * pci.c -- Crude pci handling for early boot. 3 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 5 * 6 * The pci_scan_bus and pci_read_bases functions are slightly modified 7 * versions of functions with the same name in linux/drivers/pci.c by 8 * Martin Mares (mj@ucw.cz) and others (taken around linux-2.1.120). 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 9 8 * 10 * This file is subject to the terms and conditions of the GNU General Public 11 * License. See the file COPYING in the main directory of this archive 12 * for more details. 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 13 16 */ 14 17 -
c/src/lib/libbsp/powerpc/mcp750/console/console.c
r2a6a029f rfcee56c0 1 /*-------------------------------------------------------------------------+ 2 | console.c v1.1 - PC386 BSP - 1997/08/07 3 +--------------------------------------------------------------------------+ 4 | This file contains the PC386 console I/O package. 5 +--------------------------------------------------------------------------+ 6 | (C) Copyright 1997 - 7 | - NavIST Group - Real-Time Distributed Systems and Industrial Automation 8 | 9 | http://pandora.ist.utl.pt 10 | 11 | Instituto Superior Tecnico * Lisboa * PORTUGAL 12 +--------------------------------------------------------------------------+ 13 | Disclaimer: 14 | 15 | This file is provided "AS IS" without warranty of any kind, either 16 | expressed or implied. 17 +--------------------------------------------------------------------------+ 18 | This code is based on: 19 | console.c,v 1.4 1995/12/19 20:07:23 joel Exp - go32 BSP 20 | With the following copyright notice: 21 | ************************************************************************** 22 | * COPYRIGHT (c) 1989-1998. 23 | * On-Line Applications Research Corporation (OAR). 24 | * Copyright assigned to U.S. Government, 1994. 25 | * 26 | * The license and distribution terms for this file may be 27 | * found in found in the file LICENSE in this distribution or at 28 | * http://www.OARcorp.com/rtems/license.html. 29 | ************************************************************************** 30 | 31 | $Id$ 32 +--------------------------------------------------------------------------*/ 33 34 #include <stdio.h> 1 /* 2 * console.c -- console I/O package 3 * 4 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 5 * 6 * This code is based on the pc386 BSP console.c so the following 7 * copyright also applies : 8 * 9 * (C) Copyright 1997 - 10 * - NavIST Group - Real-Time Distributed Systems and Industrial Automation 11 * 12 * http://pandora.ist.utl.pt 13 * 14 * Instituto Superior Tecnico * Lisboa * PORTUGAL 15 * The license and distribution terms for this file may be 16 * found in found in the file LICENSE in this distribution or at 17 * http://www.OARcorp.com/rtems/license.html. 18 * 19 * $Id$ 20 */ 21 35 22 #include <stdlib.h> 36 23 #include <assert.h> -
c/src/lib/libbsp/powerpc/mcp750/console/consoleIo.h
r2a6a029f rfcee56c0 1 /* 2 * consoleIo.h -- console I/O package interface 3 * 4 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 5 * 6 * The license and distribution terms for this file may be 7 * found in found in the file LICENSE in this distribution or at 8 * http://www.OARcorp.com/rtems/license.html. 9 * 10 * $Id$ 11 */ 12 1 13 #ifndef __CONSOLE_IO_H 2 14 #define __CONSOLE_IO_H -
c/src/lib/libbsp/powerpc/mcp750/console/consoleLib.S
r2a6a029f rfcee56c0 1 1 /* 2 * consoleLib.S -- console I/O package utility functions. 3 * 4 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 5 * 6 * The license and distribution terms for this file may be 7 * found in found in the file LICENSE in this distribution or at 8 * http://www.OARcorp.com/rtems/license.html. 9 * 2 10 * $Id$ 3 *4 * This code is loaded by the ROM loader at some arbitrary location.5 * Move it to high memory so that it can load the kernel at 0x0000.6 *7 11 */ 12 8 13 /* A few utility functions, some copied from arch/ppc/lib/string.S */ 14 9 15 #include <libcpu/cpu.h> 10 16 #include <rtems/score/targopts.h> -
c/src/lib/libbsp/powerpc/mcp750/console/inch.c
r2a6a029f rfcee56c0 1 /*-------------------------------------------------------------------------+ 2 | inch.c v1.1 - PC386 BSP - 1997/08/07 3 +--------------------------------------------------------------------------+ 4 | (C) Copyright 1997 - 5 | - NavIST Group - Real-Time Distributed Systems and Industrial Automation 6 | 7 | http://pandora.ist.utl.pt 8 | 9 | Instituto Superior Tecnico * Lisboa * PORTUGAL 10 +--------------------------------------------------------------------------+ 11 | Disclaimer: 12 | 13 | This file is provided "AS IS" without warranty of any kind, either 14 | expressed or implied. 15 +--------------------------------------------------------------------------+ 16 | This code is based on: 17 | inch.c,v 1.3 1995/12/19 20:07:25 joel Exp - go32 BSP 18 | With the following copyright notice: 19 | With the following copyright notice: 20 | ************************************************************************** 21 | * COPYRIGHT (c) 1989-1998. 22 | * On-Line Applications Research Corporation (OAR). 23 | * Copyright assigned to U.S. Government, 1994. 24 | * 25 | * The license and distribution terms for this file may be 26 | * found in found in the file LICENSE in this distribution or at 27 | * http://www.OARcorp.com/rtems/license.html. 28 | ************************************************************************** 29 | 30 | $Id$ 31 +--------------------------------------------------------------------------*/ 1 /* 2 * inch.c -- keyboard minimal driver 3 * 4 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 5 * 6 * This code is based on the pc386 BSP inch.c so the following 7 * copyright also applies : 8 * 9 * (C) Copyright 1997 - 10 * - NavIST Group - Real-Time Distributed Systems and Industrial Automation 11 * 12 * http://pandora.ist.utl.pt 13 * 14 * Instituto Superior Tecnico * Lisboa * PORTUGAL 15 * The license and distribution terms for this file may be 16 * found in found in the file LICENSE in this distribution or at 17 * http://www.OARcorp.com/rtems/license.html. 18 * 19 * $Id$ 20 */ 32 21 33 22 #include <bsp.h> -
c/src/lib/libbsp/powerpc/mcp750/console/keyboard.h
r2a6a029f rfcee56c0 1 /* 2 * keyboard.h -- keyboard definitions. 3 * 4 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 5 * 6 * The license and distribution terms for this file may be 7 * found in found in the file LICENSE in this distribution or at 8 * http://www.OARcorp.com/rtems/license.html. 9 * 10 * $Id$ 11 */ 12 1 13 #ifndef __LINUX_KEYBOARD_H 2 14 #define __LINUX_KEYBOARD_H -
c/src/lib/libbsp/powerpc/mcp750/console/polled_io.c
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/prepboot/console.c2 * polled_io.c -- Basic input/output for early boot 3 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 5 * 6 * This file is based on arch/ppc/boot/{kbd,vreset}.c in previous versions7 * of Linux/PPC, mostly contributed by Gary Thomas and Cort Dougan.6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 8 * 9 * This file is subject to the terms and conditions of the GNU General Public 10 * License. See the file COPYING in the main directory of this archive 11 * for more details. 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 12 16 */ 13 17 -
c/src/lib/libbsp/powerpc/mcp750/include/bsp.h
r2a6a029f rfcee56c0 1 1 /* 2 * empty file. Just because referenced by portable application layer. 2 * bsp.h -- contain BSP API definition. 3 * 4 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 5 * 6 * The license and distribution terms for this file may be 7 * found in found in the file LICENSE in this distribution or at 8 * http://www.OARcorp.com/rtems/license.html. 9 * 10 * $Id$ 3 11 */ 4 12 #ifndef LIBBSP_POWERPC_MCP750_BSP_H -
c/src/lib/libbsp/powerpc/mcp750/include/nvram.h
r2a6a029f rfcee56c0 1 1 /* 2 2 * PreP compliant NVRAM access 3 * 4 * This file can be found in motorla or IBP PPC site. 5 * 6 * $Id$ 3 7 */ 4 8 -
c/src/lib/libbsp/powerpc/mcp750/irq/i8259.c
r2a6a029f rfcee56c0 1 /* i8259.c 2 1 2 /* 3 3 * This file contains the implementation of the function described in irq.h 4 4 * related to Intel 8259 Programmable Interrupt controller. 5 5 * 6 * Copy Right (C) 1998valette@crf.canon.fr6 * Copyright (C) 1998, 1999 valette@crf.canon.fr 7 7 * 8 8 * The license and distribution terms for this file may be … … 12 12 * $Id$ 13 13 */ 14 15 14 16 15 #include <bsp.h> 17 16 #include <bsp/irq.h> -
c/src/lib/libbsp/powerpc/mcp750/irq/irq.c
r2a6a029f rfcee56c0 1 /* irq.c1 /* 2 2 * 3 3 * This file contains the implementation of the function described in irq.h 4 4 * 5 * Copy Right (C) 1998valette@crf.canon.fr5 * Copyright (C) 1998, 1999 valette@crf.canon.fr 6 6 * 7 7 * The license and distribution terms for this file may be … … 11 11 * $Id$ 12 12 */ 13 14 13 15 14 #include <bsp.h> 16 15 #include <bsp/irq.h> … … 20 19 #include <libcpu/raw_exception.h> 21 20 #include <bsp/vectors.h> 22 #include <libcpu/ processor.h>21 #include <libcpu/cpu.h> 23 22 24 23 #define RAVEN_INTR_ACK_REG 0xfeff0030 -
c/src/lib/libbsp/powerpc/mcp750/irq/irq_asm.S
r2a6a029f rfcee56c0 1 1 /* 2 * (c) 1999, Eric Valette valette@crf.canon.fr3 *4 *5 2 * This file contains the assembly code for the PowerPC 6 3 * IRQ veneers for RTEMS. 7 4 * 5 * The license and distribution terms for this file may be 6 * found in found in the file LICENSE in this distribution or at 7 * http://www.OARcorp.com/rtems/license.html. 8 * 8 9 * $Id$ 9 10 */ 10 11 12 11 13 12 #include <bsp/vectors.h> 14 13 #include <libcpu/cpu.h> -
c/src/lib/libbsp/powerpc/mcp750/openpic/openpic.c
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/kernel/openpic.c -- OpenPIC Interrupt Handling2 * openpic.c -- OpenPIC Interrupt Handling 3 3 * 4 4 * Copyright (C) 1997 Geert Uytterhoeven 5 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 8 * for more details. 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 9 16 */ 10 11 17 12 18 /* … … 20 26 #include <libcpu/io.h> 21 27 #include <libcpu/byteorder.h> 22 23 /* #include <asm/irq.h> */24 28 25 29 #define NULL 0 -
c/src/lib/libbsp/powerpc/mcp750/openpic/openpic.h
r2a6a029f rfcee56c0 1 1 /* 2 * linux/openpic.h -- OpenPIC definitions2 * openpic.h -- OpenPIC definitions 3 3 * 4 4 * Copyright (C) 1997 Geert Uytterhoeven … … 22 22 * License. See the file COPYING in the main directory of this archive 23 23 * for more details. 24 * 25 * Modified to compile in RTEMS development environment 26 * by Eric Valette 27 * 28 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 29 * 30 * The license and distribution terms for this file may be 31 * found in found in the file LICENSE in this distribution or at 32 * http://www.OARcorp.com/rtems/license.html. 33 * 34 * $Id$ 24 35 */ 25 36 -
c/src/lib/libbsp/powerpc/mcp750/pci/pci.c
r2a6a029f rfcee56c0 1 /* 2 * pci.c : this file contains basic PCI Io functions. 3 * 4 * CopyRight (C) 1999 valette@crf.canon.fr 5 * 6 * This code is heavilly inspired by the public specification of STREAM V2 7 * that can be found at : 8 * 9 * <http://www.chorus.com/Documentation/index.html> by following 10 * the STREAM API Specification Document link. 11 * 12 * The license and distribution terms for this file may be 13 * found in found in the file LICENSE in this distribution or at 14 * http://www.OARcorp.com/rtems/license.html. 15 * 16 * $Id$ 17 */ 18 1 19 #include <bsp/consoleIo.h> 2 20 #include <libcpu/io.h> -
c/src/lib/libbsp/powerpc/mcp750/pci/pci.h
r2a6a029f rfcee56c0 12 12 * PCI to PCI Bridge Specification 13 13 * PCI System Design Guide 14 * 15 * $Id$ 14 16 */ 15 17 -
c/src/lib/libbsp/powerpc/mcp750/residual/pnp.h
r2a6a029f rfcee56c0 14 14 /* For enum's: if given in hex then they are bit significant, i.e. */ 15 15 /* only one bit is on for each enum */ 16 17 /* 18 * $Id$ 19 */ 16 20 17 21 #ifndef _PNP_ -
c/src/lib/libbsp/powerpc/mcp750/residual/residual.c
r2a6a029f rfcee56c0 1 /* 2 * residual.c : function used to parse residual data. 3 * 4 * CopyRight (C) 1999 valette@crf.canon.fr 5 * 6 * This code is heavilly inspired by the public specification of STREAM V2 7 * that can be found at : 8 * 9 * The license and distribution terms for this file may be 10 * found in found in the file LICENSE in this distribution or at 11 * http://www.OARcorp.com/rtems/license.html. 12 * 13 * $Id$ 14 */ 15 1 16 #include <bsp/residual.h> 2 17 #include <libcpu/io.h> -
c/src/lib/libbsp/powerpc/mcp750/residual/residual.h
r2a6a029f rfcee56c0 10 10 /* i.e. only one bit is on for each enum */ 11 11 /* Reserved fields must be filled with zeros. */ 12 13 /* 14 * $Id$ 15 */ 12 16 13 17 #ifndef _RESIDUAL_ -
c/src/lib/libbsp/powerpc/mcp750/startup/bspstart.c
r2a6a029f rfcee56c0 12 12 * found in the file LICENSE in this distribution or at 13 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * Modified to support the MCP750. 16 * Modifications Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 14 17 * 15 18 * $Id$ … … 120 123 { 121 124 extern int end; 122 rtems_unsigned32 heap_start; 125 rtems_unsigned32 heap_start; 126 rtems_unsigned32 heap_size; 123 127 124 128 heap_start = ((rtems_unsigned32) &__rtems_end) +INIT_STACK_SIZE + INTR_STACK_SIZE; … … 126 130 heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1); 127 131 128 bsp_libc_init((void *) heap_start, 64 * 1024, 0); 132 heap_size = (BSP_mem_size - heap_start) - BSP_Configuration.work_space_size; 133 134 printk(" HEAP start %x size %x\n", heap_start, heap_size); 135 bsp_libc_init((void *) heap_start, heap_size, 0); 129 136 130 137 #ifdef RTEMS_DEBUG -
c/src/lib/libbsp/powerpc/mcp750/startup/cEntry.c
r2a6a029f rfcee56c0 1 /*2 *3 */4 #include <bsp/consoleIo.h>5 #include <libcpu/spr.h>6 #include <bsp/residual.h>7 #include <bsp/pci.h>8 #include <bsp/openpic.h>9 #include <bsp/irq.h>10 #include <bsp.h>11 #include <libcpu/bat.h>12 13 extern void _return_to_ppcbug();14 extern unsigned long __rtems_end;15 16 RESIDUAL residualCopy;17 #define INIT_STACK_SIZE 0x100018 #define INTR_STACK_SIZE 0x400019 20 void BSP_panic(char *s)21 {22 printk("RTEMS 4.x PANIC %s\n", s);23 _return_to_ppcbug();24 }25 26 void _BSP_Fatal_error(unsigned int v)27 {28 printk("RTEMS 4.x PANIC ERROR %x\n", v);29 _return_to_ppcbug();30 }31 32 void33 boot_card(RESIDUAL* r3, void *r4, void* r5, char *additional_boot_options)34 {35 int err;36 unsigned char *stack;37 unsigned l2cr;38 register unsigned char* intrStack;39 register unsigned int intrNestingLevel = 0;40 41 L1_caches_enables();42 stack = ((unsigned char*) &__rtems_end) + INIT_STACK_SIZE;43 intrStack = ((unsigned char*) &__rtems_end) + INIT_STACK_SIZE + INTR_STACK_SIZE;44 asm volatile ("mtspr 273, %0" : "=r" (intrStack) : "0" (intrStack));45 asm volatile ("mtspr 272, %0" : "=r" (intrNestingLevel) : "0" (intrNestingLevel));46 residualCopy = *r3;47 #define NO_DYNAMIC_EXCEPTION_VECTOR_INSTALL48 #undef NO_DYNAMIC_EXCEPTION_VECTOR_INSTALL49 #ifndef NO_DYNAMIC_EXCEPTION_VECTOR_INSTALL50 initialize_exceptions();51 #endif52 select_console(CONSOLE_LOG);53 54 /* We check that the keyboard is present and immediately55 * select the serial console if not.56 */57 err = kbdreset();58 if (err) select_console(CONSOLE_SERIAL);59 60 61 printk("Welcome to RTEMS 4.0.2 on Motorola MCP750\n\n\n");62 printk("-----------------------------------------\n");63 printk("Residuals are located at %x\n", (unsigned) r3);64 printk("Additionnal boot options are %s\n", additional_boot_options);65 printk("-----------------------------------------\n");66 67 printk("Initial system stack at %x\n",stack);68 l2cr = get_L2CR();69 printk("Initial L2CR value = %x\n", l2cr);70 if (! (l2cr & 0x80000000))71 set_L2CR(0xb9A14000);72 #ifdef TEST_RETURN_TO_PPCBUG73 printk("Hit <Enter> to return to PPCBUG monitor\n");74 printk("When Finished hit GO. It should print <Back from monitor>\n");75 debug_getc();76 _return_to_ppcbug();77 printk("Back from monitor\n");78 _return_to_ppcbug();79 #endif /* TEST_RETURN_TO_PPCBUG */80 81 /*82 * Init MMU block address translation to enable hardware83 * access84 */85 /*86 * PC legacy IO space used for inb/outb and all PC87 * compatible hardware88 */89 setdbat(1, 0x80000000, 0x80000000, 0x10000000, IO_PAGE);90 /*91 * PCI devices memory area. Needed to access OPENPIC features92 * provided by the RAVEN93 */94 setdbat(2, 0xc0000000, 0xc0000000, 0x08000000, IO_PAGE);95 /*96 * Must have acces to open pic PCI ACK registers97 * provided by the RAVEN98 */99 setdbat(3, 0xfeff0000, 0xfeff0000, 0x10000, IO_PAGE);100 101 printk("Going to start PCI buses scanning and initialization\n");102 InitializePCI();103 printk("Number of PCI buses is found : %d\n", BusCountPCI());104 #ifdef TEST_RAW_EXCEPTION_CODE105 printk("Testing exception handling Part 1\n");106 /*107 * Cause a software exception108 */109 __asm__ __volatile ("sc");110 /*111 * Check we can still catch exceptions112 */113 printk("Testing exception handling Part 2\n");114 __asm__ __volatile ("sc");115 #endif116 BSP_rtems_irq_mng_init(0);117 printk("Init done\n");118 debug_getc();119 while(1);120 }121 -
c/src/lib/libbsp/powerpc/mcp750/vectors/vectors.h
r2a6a029f rfcee56c0 1 /* 2 * vectors.h Exception frame related contant and API. 3 * 4 * This include file describe the data structure and the functions implemented 5 * by rtems to handle exceptions. 6 * 7 * CopyRight (C) 1999 valette@crf.canon.fr 8 * 9 * The license and distribution terms for this file may be 10 * found in found in the file LICENSE in this distribution or at 11 * http://www.OARcorp.com/rtems/license.html. 12 * 13 * $Id$ 14 */ 1 15 #ifndef LIBBSP_POWERPC_MCP750_VECTORS_H 2 16 #define LIBBSP_POWERPC_MCP750_VECTORS_H -
c/src/lib/libbsp/powerpc/mcp750/vectors/vectors_init.c
r2a6a029f rfcee56c0 1 /* 1 /* 2 * vectors_init.c Exception hanlding initialisation (and generic handler). 2 3 * 4 * This include file describe the data structure and the functions implemented 5 * by rtems to handle exceptions. 6 * 7 * CopyRight (C) 1999 valette@crf.canon.fr 8 * 9 * The license and distribution terms for this file may be 10 * found in found in the file LICENSE in this distribution or at 11 * http://www.OARcorp.com/rtems/license.html. 12 * 13 * $Id$ 3 14 */ 4 15 #include <bsp/vectors.h> -
c/src/lib/libbsp/powerpc/mcp750/wrapup/Makefile.in
r2a6a029f rfcee56c0 16 16 VPATH = @srcdir@ 17 17 18 BSP_PIECES=console irq openpic pci residual startup vectors18 BSP_PIECES=console irq openpic pci residual startup dec21140 vectors 19 19 GENERIC_PIECES= 20 20 -
c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.in
r2a6a029f rfcee56c0 18 18 # wrapup is the one that actually builds and installs the library 19 19 # from the individual .rel files built in other directories 20 SUB_DIRS= console include pci residual openpic irq vectors start startup bootloader wrapup20 SUB_DIRS= console include pci residual openpic irq vectors start startup bootloader dec21140 wrapup -
c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.in
r2a6a029f rfcee56c0 1 1 # 2 # $Id :2 # $Id$ 3 3 # 4 4 -
c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/bootldr.h
r2a6a029f rfcee56c0 1 1 /* 2 * include/asm-ppc/bloader.h -- Include file for bootloader. 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 8 * for more details. 2 * bootldr.h -- Include file for bootloader. 3 * 4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 * 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 9 16 */ 10 17 -
c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/em86.c
r2a6a029f rfcee56c0 1 /* 2 * em86.c -- Include file for bootloader. 3 * 4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 * 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 16 */ 17 1 18 /***************************************************************************** 2 19 * -
c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/em86real.S
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/boot/em86real.S -- Small x86 emulator for video board setup2 * em86real.S 3 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 8 * for more details. 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 9 16 */ 10 17 -
c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/exception.S
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/loader/exceotion.S -- Exception handlers for early boot. 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 8 * for more details. 2 * exception.S -- Exception handlers for early boot. 3 * 4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 * 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 9 16 */ 10 17 -
c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/head.S
r2a6a029f rfcee56c0 1 1 /* 2 * head.S -- Bootloader Entry point 3 * 4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 * 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 2 15 * $Id$ 3 *4 * This code is loaded by the ROM loader at some arbitrary location.5 * Move it to high memory so that it can load the kernel at 0x0000.6 *7 16 */ 8 17 -
c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/misc.c
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/prepboot/misc.c2 * head.S -- Bootloader Entry point 3 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 5 * 6 * This file is based on arch/ppc/boot misc.c in previous versions of 7 * Linux/PPC but has been so extensively changed that only a few lines 8 * remain from the original. 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 9 8 * 10 * This file is subject to the terms and conditions of the GNU General Public 11 * License. See the file COPYING in the main directory of this archive 12 * for more details. 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 13 16 */ 14 17 -
c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/mm.c
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/prepboot/mm.c -- Crude memory management for early boot.2 * mm.c -- Crude memory management for early boot. 3 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 8 * for more details. 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 9 16 */ 10 17 -
c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/pci.c
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/prepboot/pci.c -- Crude pci handling for early boot.2 * pci.c -- Crude pci handling for early boot. 3 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 5 * 6 * The pci_scan_bus and pci_read_bases functions are slightly modified 7 * versions of functions with the same name in linux/drivers/pci.c by 8 * Martin Mares (mj@ucw.cz) and others (taken around linux-2.1.120). 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 9 8 * 10 * This file is subject to the terms and conditions of the GNU General Public 11 * License. See the file COPYING in the main directory of this archive 12 * for more details. 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 13 16 */ 14 17 -
c/src/lib/libbsp/powerpc/motorola_powerpc/console/console.c
r2a6a029f rfcee56c0 1 /*-------------------------------------------------------------------------+ 2 | console.c v1.1 - PC386 BSP - 1997/08/07 3 +--------------------------------------------------------------------------+ 4 | This file contains the PC386 console I/O package. 5 +--------------------------------------------------------------------------+ 6 | (C) Copyright 1997 - 7 | - NavIST Group - Real-Time Distributed Systems and Industrial Automation 8 | 9 | http://pandora.ist.utl.pt 10 | 11 | Instituto Superior Tecnico * Lisboa * PORTUGAL 12 +--------------------------------------------------------------------------+ 13 | Disclaimer: 14 | 15 | This file is provided "AS IS" without warranty of any kind, either 16 | expressed or implied. 17 +--------------------------------------------------------------------------+ 18 | This code is based on: 19 | console.c,v 1.4 1995/12/19 20:07:23 joel Exp - go32 BSP 20 | With the following copyright notice: 21 | ************************************************************************** 22 | * COPYRIGHT (c) 1989-1998. 23 | * On-Line Applications Research Corporation (OAR). 24 | * Copyright assigned to U.S. Government, 1994. 25 | * 26 | * The license and distribution terms for this file may be 27 | * found in found in the file LICENSE in this distribution or at 28 | * http://www.OARcorp.com/rtems/license.html. 29 | ************************************************************************** 30 | 31 | $Id$ 32 +--------------------------------------------------------------------------*/ 33 34 #include <stdio.h> 1 /* 2 * console.c -- console I/O package 3 * 4 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 5 * 6 * This code is based on the pc386 BSP console.c so the following 7 * copyright also applies : 8 * 9 * (C) Copyright 1997 - 10 * - NavIST Group - Real-Time Distributed Systems and Industrial Automation 11 * 12 * http://pandora.ist.utl.pt 13 * 14 * Instituto Superior Tecnico * Lisboa * PORTUGAL 15 * The license and distribution terms for this file may be 16 * found in found in the file LICENSE in this distribution or at 17 * http://www.OARcorp.com/rtems/license.html. 18 * 19 * $Id$ 20 */ 21 35 22 #include <stdlib.h> 36 23 #include <assert.h> -
c/src/lib/libbsp/powerpc/motorola_powerpc/console/consoleIo.h
r2a6a029f rfcee56c0 1 /* 2 * consoleIo.h -- console I/O package interface 3 * 4 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 5 * 6 * The license and distribution terms for this file may be 7 * found in found in the file LICENSE in this distribution or at 8 * http://www.OARcorp.com/rtems/license.html. 9 * 10 * $Id$ 11 */ 12 1 13 #ifndef __CONSOLE_IO_H 2 14 #define __CONSOLE_IO_H -
c/src/lib/libbsp/powerpc/motorola_powerpc/console/consoleLib.S
r2a6a029f rfcee56c0 1 1 /* 2 * consoleLib.S -- console I/O package utility functions. 3 * 4 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 5 * 6 * The license and distribution terms for this file may be 7 * found in found in the file LICENSE in this distribution or at 8 * http://www.OARcorp.com/rtems/license.html. 9 * 2 10 * $Id$ 3 *4 * This code is loaded by the ROM loader at some arbitrary location.5 * Move it to high memory so that it can load the kernel at 0x0000.6 *7 11 */ 12 8 13 /* A few utility functions, some copied from arch/ppc/lib/string.S */ 14 9 15 #include <libcpu/cpu.h> 10 16 #include <rtems/score/targopts.h> -
c/src/lib/libbsp/powerpc/motorola_powerpc/console/inch.c
r2a6a029f rfcee56c0 1 /*-------------------------------------------------------------------------+ 2 | inch.c v1.1 - PC386 BSP - 1997/08/07 3 +--------------------------------------------------------------------------+ 4 | (C) Copyright 1997 - 5 | - NavIST Group - Real-Time Distributed Systems and Industrial Automation 6 | 7 | http://pandora.ist.utl.pt 8 | 9 | Instituto Superior Tecnico * Lisboa * PORTUGAL 10 +--------------------------------------------------------------------------+ 11 | Disclaimer: 12 | 13 | This file is provided "AS IS" without warranty of any kind, either 14 | expressed or implied. 15 +--------------------------------------------------------------------------+ 16 | This code is based on: 17 | inch.c,v 1.3 1995/12/19 20:07:25 joel Exp - go32 BSP 18 | With the following copyright notice: 19 | With the following copyright notice: 20 | ************************************************************************** 21 | * COPYRIGHT (c) 1989-1998. 22 | * On-Line Applications Research Corporation (OAR). 23 | * Copyright assigned to U.S. Government, 1994. 24 | * 25 | * The license and distribution terms for this file may be 26 | * found in found in the file LICENSE in this distribution or at 27 | * http://www.OARcorp.com/rtems/license.html. 28 | ************************************************************************** 29 | 30 | $Id$ 31 +--------------------------------------------------------------------------*/ 1 /* 2 * inch.c -- keyboard minimal driver 3 * 4 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 5 * 6 * This code is based on the pc386 BSP inch.c so the following 7 * copyright also applies : 8 * 9 * (C) Copyright 1997 - 10 * - NavIST Group - Real-Time Distributed Systems and Industrial Automation 11 * 12 * http://pandora.ist.utl.pt 13 * 14 * Instituto Superior Tecnico * Lisboa * PORTUGAL 15 * The license and distribution terms for this file may be 16 * found in found in the file LICENSE in this distribution or at 17 * http://www.OARcorp.com/rtems/license.html. 18 * 19 * $Id$ 20 */ 32 21 33 22 #include <bsp.h> -
c/src/lib/libbsp/powerpc/motorola_powerpc/console/keyboard.h
r2a6a029f rfcee56c0 1 /* 2 * keyboard.h -- keyboard definitions. 3 * 4 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 5 * 6 * The license and distribution terms for this file may be 7 * found in found in the file LICENSE in this distribution or at 8 * http://www.OARcorp.com/rtems/license.html. 9 * 10 * $Id$ 11 */ 12 1 13 #ifndef __LINUX_KEYBOARD_H 2 14 #define __LINUX_KEYBOARD_H -
c/src/lib/libbsp/powerpc/motorola_powerpc/console/polled_io.c
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/prepboot/console.c2 * polled_io.c -- Basic input/output for early boot 3 3 * 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es4 * Copyright (C) 1998, 1999 Gabriel Paubert, paubert@iram.es 5 5 * 6 * This file is based on arch/ppc/boot/{kbd,vreset}.c in previous versions7 * of Linux/PPC, mostly contributed by Gary Thomas and Cort Dougan.6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 8 * 9 * This file is subject to the terms and conditions of the GNU General Public 10 * License. See the file COPYING in the main directory of this archive 11 * for more details. 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 12 16 */ 13 17 -
c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h
r2a6a029f rfcee56c0 1 1 /* 2 * empty file. Just because referenced by portable application layer. 2 * bsp.h -- contain BSP API definition. 3 * 4 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 5 * 6 * The license and distribution terms for this file may be 7 * found in found in the file LICENSE in this distribution or at 8 * http://www.OARcorp.com/rtems/license.html. 9 * 10 * $Id$ 3 11 */ 4 12 #ifndef LIBBSP_POWERPC_MCP750_BSP_H -
c/src/lib/libbsp/powerpc/motorola_powerpc/include/nvram.h
r2a6a029f rfcee56c0 1 1 /* 2 2 * PreP compliant NVRAM access 3 * 4 * This file can be found in motorla or IBP PPC site. 5 * 6 * $Id$ 3 7 */ 4 8 -
c/src/lib/libbsp/powerpc/motorola_powerpc/irq/i8259.c
r2a6a029f rfcee56c0 1 /* i8259.c 2 1 2 /* 3 3 * This file contains the implementation of the function described in irq.h 4 4 * related to Intel 8259 Programmable Interrupt controller. 5 5 * 6 * Copy Right (C) 1998valette@crf.canon.fr6 * Copyright (C) 1998, 1999 valette@crf.canon.fr 7 7 * 8 8 * The license and distribution terms for this file may be … … 12 12 * $Id$ 13 13 */ 14 15 14 16 15 #include <bsp.h> 17 16 #include <bsp/irq.h> -
c/src/lib/libbsp/powerpc/motorola_powerpc/irq/irq.c
r2a6a029f rfcee56c0 1 /* irq.c1 /* 2 2 * 3 3 * This file contains the implementation of the function described in irq.h 4 4 * 5 * Copy Right (C) 1998valette@crf.canon.fr5 * Copyright (C) 1998, 1999 valette@crf.canon.fr 6 6 * 7 7 * The license and distribution terms for this file may be … … 11 11 * $Id$ 12 12 */ 13 14 13 15 14 #include <bsp.h> 16 15 #include <bsp/irq.h> … … 20 19 #include <libcpu/raw_exception.h> 21 20 #include <bsp/vectors.h> 22 #include <libcpu/ processor.h>21 #include <libcpu/cpu.h> 23 22 24 23 #define RAVEN_INTR_ACK_REG 0xfeff0030 -
c/src/lib/libbsp/powerpc/motorola_powerpc/irq/irq_asm.S
r2a6a029f rfcee56c0 1 1 /* 2 * (c) 1999, Eric Valette valette@crf.canon.fr3 *4 *5 2 * This file contains the assembly code for the PowerPC 6 3 * IRQ veneers for RTEMS. 7 4 * 5 * The license and distribution terms for this file may be 6 * found in found in the file LICENSE in this distribution or at 7 * http://www.OARcorp.com/rtems/license.html. 8 * 8 9 * $Id$ 9 10 */ 10 11 12 11 13 12 #include <bsp/vectors.h> 14 13 #include <libcpu/cpu.h> -
c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/openpic.c
r2a6a029f rfcee56c0 1 1 /* 2 * arch/ppc/kernel/openpic.c -- OpenPIC Interrupt Handling2 * openpic.c -- OpenPIC Interrupt Handling 3 3 * 4 4 * Copyright (C) 1997 Geert Uytterhoeven 5 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 8 * for more details. 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 9 16 */ 10 11 17 12 18 /* … … 20 26 #include <libcpu/io.h> 21 27 #include <libcpu/byteorder.h> 22 23 /* #include <asm/irq.h> */24 28 25 29 #define NULL 0 -
c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/openpic.h
r2a6a029f rfcee56c0 1 1 /* 2 * linux/openpic.h -- OpenPIC definitions2 * openpic.h -- OpenPIC definitions 3 3 * 4 4 * Copyright (C) 1997 Geert Uytterhoeven … … 22 22 * License. See the file COPYING in the main directory of this archive 23 23 * for more details. 24 * 25 * Modified to compile in RTEMS development environment 26 * by Eric Valette 27 * 28 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 29 * 30 * The license and distribution terms for this file may be 31 * found in found in the file LICENSE in this distribution or at 32 * http://www.OARcorp.com/rtems/license.html. 33 * 34 * $Id$ 24 35 */ 25 36 -
c/src/lib/libbsp/powerpc/motorola_powerpc/pci/pci.c
r2a6a029f rfcee56c0 1 /* 2 * pci.c : this file contains basic PCI Io functions. 3 * 4 * CopyRight (C) 1999 valette@crf.canon.fr 5 * 6 * This code is heavilly inspired by the public specification of STREAM V2 7 * that can be found at : 8 * 9 * <http://www.chorus.com/Documentation/index.html> by following 10 * the STREAM API Specification Document link. 11 * 12 * The license and distribution terms for this file may be 13 * found in found in the file LICENSE in this distribution or at 14 * http://www.OARcorp.com/rtems/license.html. 15 * 16 * $Id$ 17 */ 18 1 19 #include <bsp/consoleIo.h> 2 20 #include <libcpu/io.h> -
c/src/lib/libbsp/powerpc/motorola_powerpc/pci/pci.h
r2a6a029f rfcee56c0 12 12 * PCI to PCI Bridge Specification 13 13 * PCI System Design Guide 14 * 15 * $Id$ 14 16 */ 15 17 -
c/src/lib/libbsp/powerpc/motorola_powerpc/residual/pnp.h
r2a6a029f rfcee56c0 14 14 /* For enum's: if given in hex then they are bit significant, i.e. */ 15 15 /* only one bit is on for each enum */ 16 17 /* 18 * $Id$ 19 */ 16 20 17 21 #ifndef _PNP_ -
c/src/lib/libbsp/powerpc/motorola_powerpc/residual/residual.c
r2a6a029f rfcee56c0 1 /* 2 * residual.c : function used to parse residual data. 3 * 4 * CopyRight (C) 1999 valette@crf.canon.fr 5 * 6 * This code is heavilly inspired by the public specification of STREAM V2 7 * that can be found at : 8 * 9 * The license and distribution terms for this file may be 10 * found in found in the file LICENSE in this distribution or at 11 * http://www.OARcorp.com/rtems/license.html. 12 * 13 * $Id$ 14 */ 15 1 16 #include <bsp/residual.h> 2 17 #include <libcpu/io.h> -
c/src/lib/libbsp/powerpc/motorola_powerpc/residual/residual.h
r2a6a029f rfcee56c0 10 10 /* i.e. only one bit is on for each enum */ 11 11 /* Reserved fields must be filled with zeros. */ 12 13 /* 14 * $Id$ 15 */ 12 16 13 17 #ifndef _RESIDUAL_ -
c/src/lib/libbsp/powerpc/motorola_powerpc/startup/bspstart.c
r2a6a029f rfcee56c0 12 12 * found in the file LICENSE in this distribution or at 13 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * Modified to support the MCP750. 16 * Modifications Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 14 17 * 15 18 * $Id$ … … 120 123 { 121 124 extern int end; 122 rtems_unsigned32 heap_start; 125 rtems_unsigned32 heap_start; 126 rtems_unsigned32 heap_size; 123 127 124 128 heap_start = ((rtems_unsigned32) &__rtems_end) +INIT_STACK_SIZE + INTR_STACK_SIZE; … … 126 130 heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1); 127 131 128 bsp_libc_init((void *) heap_start, 64 * 1024, 0); 132 heap_size = (BSP_mem_size - heap_start) - BSP_Configuration.work_space_size; 133 134 printk(" HEAP start %x size %x\n", heap_start, heap_size); 135 bsp_libc_init((void *) heap_start, heap_size, 0); 129 136 130 137 #ifdef RTEMS_DEBUG -
c/src/lib/libbsp/powerpc/motorola_powerpc/startup/cEntry.c
r2a6a029f rfcee56c0 1 /*2 *3 */4 #include <bsp/consoleIo.h>5 #include <libcpu/spr.h>6 #include <bsp/residual.h>7 #include <bsp/pci.h>8 #include <bsp/openpic.h>9 #include <bsp/irq.h>10 #include <bsp.h>11 #include <libcpu/bat.h>12 13 extern void _return_to_ppcbug();14 extern unsigned long __rtems_end;15 16 RESIDUAL residualCopy;17 #define INIT_STACK_SIZE 0x100018 #define INTR_STACK_SIZE 0x400019 20 void BSP_panic(char *s)21 {22 printk("RTEMS 4.x PANIC %s\n", s);23 _return_to_ppcbug();24 }25 26 void _BSP_Fatal_error(unsigned int v)27 {28 printk("RTEMS 4.x PANIC ERROR %x\n", v);29 _return_to_ppcbug();30 }31 32 void33 boot_card(RESIDUAL* r3, void *r4, void* r5, char *additional_boot_options)34 {35 int err;36 unsigned char *stack;37 unsigned l2cr;38 register unsigned char* intrStack;39 register unsigned int intrNestingLevel = 0;40 41 L1_caches_enables();42 stack = ((unsigned char*) &__rtems_end) + INIT_STACK_SIZE;43 intrStack = ((unsigned char*) &__rtems_end) + INIT_STACK_SIZE + INTR_STACK_SIZE;44 asm volatile ("mtspr 273, %0" : "=r" (intrStack) : "0" (intrStack));45 asm volatile ("mtspr 272, %0" : "=r" (intrNestingLevel) : "0" (intrNestingLevel));46 residualCopy = *r3;47 #define NO_DYNAMIC_EXCEPTION_VECTOR_INSTALL48 #undef NO_DYNAMIC_EXCEPTION_VECTOR_INSTALL49 #ifndef NO_DYNAMIC_EXCEPTION_VECTOR_INSTALL50 initialize_exceptions();51 #endif52 select_console(CONSOLE_LOG);53 54 /* We check that the keyboard is present and immediately55 * select the serial console if not.56 */57 err = kbdreset();58 if (err) select_console(CONSOLE_SERIAL);59 60 61 printk("Welcome to RTEMS 4.0.2 on Motorola MCP750\n\n\n");62 printk("-----------------------------------------\n");63 printk("Residuals are located at %x\n", (unsigned) r3);64 printk("Additionnal boot options are %s\n", additional_boot_options);65 printk("-----------------------------------------\n");66 67 printk("Initial system stack at %x\n",stack);68 l2cr = get_L2CR();69 printk("Initial L2CR value = %x\n", l2cr);70 if (! (l2cr & 0x80000000))71 set_L2CR(0xb9A14000);72 #ifdef TEST_RETURN_TO_PPCBUG73 printk("Hit <Enter> to return to PPCBUG monitor\n");74 printk("When Finished hit GO. It should print <Back from monitor>\n");75 debug_getc();76 _return_to_ppcbug();77 printk("Back from monitor\n");78 _return_to_ppcbug();79 #endif /* TEST_RETURN_TO_PPCBUG */80 81 /*82 * Init MMU block address translation to enable hardware83 * access84 */85 /*86 * PC legacy IO space used for inb/outb and all PC87 * compatible hardware88 */89 setdbat(1, 0x80000000, 0x80000000, 0x10000000, IO_PAGE);90 /*91 * PCI devices memory area. Needed to access OPENPIC features92 * provided by the RAVEN93 */94 setdbat(2, 0xc0000000, 0xc0000000, 0x08000000, IO_PAGE);95 /*96 * Must have acces to open pic PCI ACK registers97 * provided by the RAVEN98 */99 setdbat(3, 0xfeff0000, 0xfeff0000, 0x10000, IO_PAGE);100 101 printk("Going to start PCI buses scanning and initialization\n");102 InitializePCI();103 printk("Number of PCI buses is found : %d\n", BusCountPCI());104 #ifdef TEST_RAW_EXCEPTION_CODE105 printk("Testing exception handling Part 1\n");106 /*107 * Cause a software exception108 */109 __asm__ __volatile ("sc");110 /*111 * Check we can still catch exceptions112 */113 printk("Testing exception handling Part 2\n");114 __asm__ __volatile ("sc");115 #endif116 BSP_rtems_irq_mng_init(0);117 printk("Init done\n");118 debug_getc();119 while(1);120 }121 -
c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/vectors.h
r2a6a029f rfcee56c0 1 /* 2 * vectors.h Exception frame related contant and API. 3 * 4 * This include file describe the data structure and the functions implemented 5 * by rtems to handle exceptions. 6 * 7 * CopyRight (C) 1999 valette@crf.canon.fr 8 * 9 * The license and distribution terms for this file may be 10 * found in found in the file LICENSE in this distribution or at 11 * http://www.OARcorp.com/rtems/license.html. 12 * 13 * $Id$ 14 */ 1 15 #ifndef LIBBSP_POWERPC_MCP750_VECTORS_H 2 16 #define LIBBSP_POWERPC_MCP750_VECTORS_H -
c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/vectors_init.c
r2a6a029f rfcee56c0 1 /* 1 /* 2 * vectors_init.c Exception hanlding initialisation (and generic handler). 2 3 * 4 * This include file describe the data structure and the functions implemented 5 * by rtems to handle exceptions. 6 * 7 * CopyRight (C) 1999 valette@crf.canon.fr 8 * 9 * The license and distribution terms for this file may be 10 * found in found in the file LICENSE in this distribution or at 11 * http://www.OARcorp.com/rtems/license.html. 12 * 13 * $Id$ 3 14 */ 4 15 #include <bsp/vectors.h> -
c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.in
r2a6a029f rfcee56c0 16 16 VPATH = @srcdir@ 17 17 18 BSP_PIECES=console irq openpic pci residual startup vectors18 BSP_PIECES=console irq openpic pci residual startup dec21140 vectors 19 19 GENERIC_PIECES= 20 20 -
c/src/lib/libcpu/powerpc/mpc750/clock/c_clock.c
r2a6a029f rfcee56c0 14 14 * the file LICENSE in this distribution or at 15 15 * http://www.OARcorp.com/rtems/license.html. 16 * 17 * Modified to support the MPC750. 18 * Modifications Copyright (c) 1999 Eric Valette valette@crf.canon.fr 16 19 * 17 20 * $Id$ -
c/src/lib/libcpu/powerpc/mpc750/mmu/mmuAsm.S
r2a6a029f rfcee56c0 9 9 * features. 10 10 * 11 * This program is free software; you can redistribute it and/or 12 * modify it under the terms of the GNU General Public License 13 * as published by the Free Software Foundation; either version 14 * 2 of the License, or (at your option) any later version. 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 15 14 * 16 15 */ 17 16 18 17 #include <libcpu/cpu.h> 19 #include <libcpu/processor.h>20 18 #include <libcpu/io.h> 21 19 #include <rtems/score/targopts.h> -
c/src/lib/libcpu/powerpc/shared/Makefile.in
r2a6a029f rfcee56c0 15 15 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) 16 16 17 H_FILES=$(srcdir)/cpu.h $(srcdir)/spr.h $(srcdir)/io.h $(srcdir)/mmu.h $(srcdir)/page.h $(srcdir)/byteorder.h $(srcdir)/pgtable.h $(srcdir)/processor.h17 H_FILES=$(srcdir)/cpu.h $(srcdir)/spr.h $(srcdir)/io.h $(srcdir)/mmu.h $(srcdir)/page.h $(srcdir)/byteorder.h $(srcdir)/pgtable.h 18 18 19 19 # Assembly source names, if any, go here -- minus the .s -
c/src/lib/libcpu/powerpc/shared/byteorder.h
r2a6a029f rfcee56c0 1 /* 2 * byteorder.h 3 * 4 * This file contains inline implementation of function to 5 * deal with endian conversion. 6 * 7 * It is a stripped down version of linux ppc file... 8 * 9 * Copyright (C) 1999 Eric Valette (valette@crf.canon.fr) 10 * Canon Centre Recherche France. 11 * 12 * The license and distribution terms for this file may be 13 * found in found in the file LICENSE in this distribution or at 14 * http://www.OARcorp.com/rtems/license.html. 15 * 16 * $Id$ 17 */ 18 1 19 #ifndef _PPC_BYTEORDER_H 2 20 #define _PPC_BYTEORDER_H -
c/src/lib/libcpu/powerpc/shared/cpu.h
r2a6a029f rfcee56c0 1 /* 2 * cpu.h 3 * 4 * This file contains some powerpc MSR and registers access definitions. 5 * 6 * It is a stripped down version of linux ppc processor.h file... 7 * 8 * Copyright (C) 1999 Eric Valette (valette@crf.canon.fr) 9 * Canon Centre Recherche France. 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 16 */ 17 1 18 #ifndef __ASM_PPC_PROCESSOR_H 2 19 #define __ASM_PPC_PROCESSOR_H -
c/src/lib/libcpu/powerpc/shared/io.h
r2a6a029f rfcee56c0 1 /* 2 * io.h 3 * 4 * This file contains inline implementation of function to 5 * deal with IO. 6 * 7 * It is a stripped down version of linux ppc file... 8 * 9 * Copyright (C) 1999 Eric Valette (valette@crf.canon.fr) 10 * Canon Centre Recherche France. 11 * 12 * The license and distribution terms for this file may be 13 * found in found in the file LICENSE in this distribution or at 14 * http://www.OARcorp.com/rtems/license.html. 15 * 16 * $Id$ 17 */ 1 18 #ifndef _LIBCPU_IO_H_ 2 19 #define _LIBCPU_IO_H_ -
c/src/lib/libcpu/powerpc/shared/mmu.h
r2a6a029f rfcee56c0 1 1 /* 2 * PowerPC memory management structures 2 * mmu.h 3 * 4 * PowerPC memory management structures 5 * 6 * It is a stripped down version of linux ppc file... 7 * 8 * Copyright (C) 1999 Eric Valette (valette@crf.canon.fr) 9 * Canon Centre Recherche France. 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 3 16 */ 4 17 -
c/src/lib/libcpu/powerpc/shared/page.h
r2a6a029f rfcee56c0 1 /* 2 * page.h 3 * 4 * PowerPC memory management structures 5 * 6 * It is a stripped down version of linux ppc file... 7 * 8 * Copyright (C) 1999 Eric Valette (valette@crf.canon.fr) 9 * Canon Centre Recherche France. 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 16 */ 17 1 18 #ifndef _PPC_PAGE_H 2 19 #define _PPC_PAGE_H -
c/src/lib/libcpu/powerpc/shared/pgtable.h
r2a6a029f rfcee56c0 1 /* 2 * pgtable.h 3 * 4 * PowerPC memory management structures 5 * 6 * It is a stripped down version of linux ppc file... 7 * 8 * Copyright (C) 1999 Eric Valette (valette@crf.canon.fr) 9 * Canon Centre Recherche France. 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 16 */ 17 1 18 #ifndef _PPC_PGTABLE_H 2 19 #define _PPC_PGTABLE_H -
c/src/lib/libcpu/powerpc/shared/processor.h
r2a6a029f rfcee56c0 1 #ifndef __ASM_PPC_PROCESSOR_H2 #define __ASM_PPC_PROCESSOR_H3 4 #include <bsp/residual.h>5 6 /* Bit encodings for Machine State Register (MSR) */7 #define MSR_POW (1<<18) /* Enable Power Management */8 #define MSR_TGPR (1<<17) /* TLB Update registers in use */9 #define MSR_ILE (1<<16) /* Interrupt Little-Endian enable */10 #define MSR_EE (1<<15) /* External Interrupt enable */11 #define MSR_PR (1<<14) /* Supervisor/User privilege */12 #define MSR_FP (1<<13) /* Floating Point enable */13 #define MSR_ME (1<<12) /* Machine Check enable */14 #define MSR_FE0 (1<<11) /* Floating Exception mode 0 */15 #define MSR_SE (1<<10) /* Single Step */16 #define MSR_BE (1<<9) /* Branch Trace */17 #define MSR_FE1 (1<<8) /* Floating Exception mode 1 */18 #define MSR_IP (1<<6) /* Exception prefix 0x000/0xFFF */19 #define MSR_IR (1<<5) /* Instruction MMU enable */20 #define MSR_DR (1<<4) /* Data MMU enable */21 #define MSR_RI (1<<1) /* Recoverable Exception */22 #define MSR_LE (1<<0) /* Little-Endian enable */23 24 #define MSR_ MSR_ME|MSR_RI25 #define MSR_KERNEL MSR_|MSR_IR|MSR_DR26 #define MSR_USER MSR_KERNEL|MSR_PR|MSR_EE27 28 /* Bit encodings for Hardware Implementation Register (HID0)29 on PowerPC 603, 604, etc. processors (not 601). */30 #define HID0_EMCP (1<<31) /* Enable Machine Check pin */31 #define HID0_EBA (1<<29) /* Enable Bus Address Parity */32 #define HID0_EBD (1<<28) /* Enable Bus Data Parity */33 #define HID0_SBCLK (1<<27)34 #define HID0_EICE (1<<26)35 #define HID0_ECLK (1<<25)36 #define HID0_PAR (1<<24)37 #define HID0_DOZE (1<<23)38 #define HID0_NAP (1<<22)39 #define HID0_SLEEP (1<<21)40 #define HID0_DPM (1<<20)41 #define HID0_ICE (1<<15) /* Instruction Cache Enable */42 #define HID0_DCE (1<<14) /* Data Cache Enable */43 #define HID0_ILOCK (1<<13) /* Instruction Cache Lock */44 #define HID0_DLOCK (1<<12) /* Data Cache Lock */45 #define HID0_ICFI (1<<11) /* Instruction Cache Flash Invalidate */46 #define HID0_DCI (1<<10) /* Data Cache Invalidate */47 #define HID0_SIED (1<<7) /* Serial Instruction Execution [Disable] */48 #define HID0_BHTE (1<<2) /* Branch History Table Enable */49 #define HID0_BTCD (1<<1) /* Branch target cache disable */50 51 /* fpscr settings */52 #define FPSCR_FX (1<<31)53 #define FPSCR_FEX (1<<30)54 55 #define _MACH_prep 156 #define _MACH_Pmac 2 /* pmac or pmac clone (non-chrp) */57 #define _MACH_chrp 4 /* chrp machine */58 #define _MACH_mbx 8 /* Motorola MBX board */59 #define _MACH_apus 16 /* amiga with phase5 powerup */60 #define _MACH_fads 32 /* Motorola FADS board */61 62 /* see residual.h for these */63 #define _PREP_Motorola 0x01 /* motorola prep */64 #define _PREP_Firm 0x02 /* firmworks prep */65 #define _PREP_IBM 0x00 /* ibm prep */66 #define _PREP_Bull 0x03 /* bull prep */67 68 /* these are arbitrary */69 #define _CHRP_Motorola 0x04 /* motorola chrp, the cobra */70 #define _CHRP_IBM 0x05 /* IBM chrp, the longtrail and longtrail 2 */71 72 #define _GLOBAL(n)\73 .globl n;\74 n:75 76 #define TBRU 269 /* Time base Upper/Lower (Reading) */77 #define TBRL 26878 #define TBWU 284 /* Time base Upper/Lower (Writing) */79 #define TBWL 28580 #define XER 181 #define LR 882 #define CTR 983 #define HID0 1008 /* Hardware Implementation */84 #define PVR 287 /* Processor Version */85 #define IBAT0U 528 /* Instruction BAT #0 Upper/Lower */86 #define IBAT0L 52987 #define IBAT1U 530 /* Instruction BAT #1 Upper/Lower */88 #define IBAT1L 53189 #define IBAT2U 532 /* Instruction BAT #2 Upper/Lower */90 #define IBAT2L 53391 #define IBAT3U 534 /* Instruction BAT #3 Upper/Lower */92 #define IBAT3L 53593 #define DBAT0U 536 /* Data BAT #0 Upper/Lower */94 #define DBAT0L 53795 #define DBAT1U 538 /* Data BAT #1 Upper/Lower */96 #define DBAT1L 53997 #define DBAT2U 540 /* Data BAT #2 Upper/Lower */98 #define DBAT2L 54199 #define DBAT3U 542 /* Data BAT #3 Upper/Lower */100 #define DBAT3L 543101 #define DMISS 976 /* TLB Lookup/Refresh registers */102 #define DCMP 977103 #define HASH1 978104 #define HASH2 979105 #define IMISS 980106 #define ICMP 981107 #define RPA 982108 #define SDR1 25 /* MMU hash base register */109 #define DAR 19 /* Data Address Register */110 #define SPR0 272 /* Supervisor Private Registers */111 #define SPRG0 272112 #define SPR1 273113 #define SPRG1 273114 #define SPR2 274115 #define SPRG2 274116 #define SPR3 275117 #define SPRG3 275118 #define DSISR 18119 #define SRR0 26 /* Saved Registers (exception) */120 #define SRR1 27121 #define IABR 1010 /* Instruction Address Breakpoint */122 #define DEC 22 /* Decrementer */123 #define EAR 282 /* External Address Register */124 #define L2CR 1017 /* PPC 750 L2 control register */125 126 #define THRM1 1020127 #define THRM2 1021128 #define THRM3 1022129 #define THRM1_TIN 0x1130 #define THRM1_TIV 0x2131 #define THRM1_THRES (0x7f<<2)132 #define THRM1_TID (1<<29)133 #define THRM1_TIE (1<<30)134 #define THRM1_V (1<<31)135 #define THRM3_E (1<<31)136 137 /* Segment Registers */138 #define SR0 0139 #define SR1 1140 #define SR2 2141 #define SR3 3142 #define SR4 4143 #define SR5 5144 #define SR6 6145 #define SR7 7146 #define SR8 8147 #define SR9 9148 #define SR10 10149 #define SR11 11150 #define SR12 12151 #define SR13 13152 #define SR14 14153 #define SR15 15154 155 #endif /* __ASM_PPC_PROCESSOR_H */156 157 158 159 160 161 162 -
c/src/lib/libcpu/powerpc/shared/spr.h
r2a6a029f rfcee56c0 1 1 /* 2 * include/asm-ppc/spr.h -- Access to special purpose registers.2 * spr.h -- Access to special purpose registers. 3 3 * 4 4 * Copyright (C) 1998 Gabriel Paubert, paubert@iram.es 5 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 8 * for more details. 6 * Modified to compile in RTEMS development environment 7 * by Eric Valette 8 * 9 * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr 10 * 11 * The license and distribution terms for this file may be 12 * found in found in the file LICENSE in this distribution or at 13 * http://www.OARcorp.com/rtems/license.html. 14 * 15 * $Id$ 16 * 9 17 */ 10 18
Note: See TracChangeset
for help on using the changeset viewer.