Ignore:
Timestamp:
Nov 10, 2004, 11:51:17 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a84392d
Parents:
f9877d25
Message:

2004-11-10 Richard Campbell <richard.campbell@…>

  • Makefile.am, bootloader/misc.c, bootloader/pci.c, bootloader/pci.h, console/console.c, console/inch.c, console/reboot.c, console/uart.c, console/uart.h, irq/irq.c, irq/irq.h, irq/irq_init.c, motorola/motorola.c, motorola/motorola.h, openpic/openpic.c, openpic/openpic.h, pci/detect_raven_bridge.c, pci/pci.c, start/start.S, startup/bspstart.c, vectors/vectors_init.c, vme/vmeconfig.c: Add MVME2100 BSP and MPC8240 support. There was also a significant amount of spelling and whitespace cleanup.
  • tod/todcfg.c: New file.
Location:
c/src/lib/libbsp/powerpc/shared/openpic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/openpic/openpic.c

    rf9877d25 re79a1947  
    2121
    2222#include <rtems.h>
     23#include <bsp.h>
    2324#include <rtems/bspIo.h>
    2425#include <bsp/openpic.h>
     
    2627#include <libcpu/io.h>
    2728#include <libcpu/byteorder.h>
    28 #include <bsp.h>
    2929#include <rtems/bspIo.h>
    3030
     
    190190
    191191    /* Kludge for the Raven */
     192/*
    192193    pci_read_config_dword(0, 0, 0, 0, &t);
     194*/
    193195    if (t == PCI_VENDOR_ID_MOTOROLA + (PCI_DEVICE_ID_MOTOROLA_RAVEN<<16)) {
    194196        vendor = "Motorola";
     
    456458void openpic_initirq(unsigned int irq, unsigned int pri, unsigned int vec, int pol, int sense)
    457459{
     460#if 0
     461  printk("openpic_initirq: irq=%d pri=%d vec=%d pol=%d sense=%d\n",
     462    irq, pri, vec, pol, sense);
     463#endif
     464
    458465    check_arg_irq(irq);
    459466    check_arg_pri(pri);
  • c/src/lib/libbsp/powerpc/shared/openpic/openpic.h

    rf9877d25 re79a1947  
    4242     */
    4343
     44#if defined(mpc8240) || defined(mpc8245)
     45#define OPENPIC_MAX_SOURCES    (2048 - 16)
     46#else
    4447#define OPENPIC_MAX_SOURCES     2048
     48#endif
    4549#define OPENPIC_MAX_PROCESSORS  32
    4650
     
    152156    OpenPIC_Timer Timer[OPENPIC_NUM_TIMERS];
    153157    char Pad1[0xee00];
     158#if defined(mpc8240) || defined(mpc8245)
     159    char Pad2[0x0200];
     160#endif 
    154161} OpenPIC_Global;
    155162
Note: See TracChangeset for help on using the changeset viewer.