Changeset eaedd00 in rtems


Ignore:
Timestamp:
Jul 6, 2000, 8:40:50 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ce1ba298
Parents:
79ef2d8
Message:

Fixed formatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c

    r79ef2d8 reaedd00  
    2424ppc_cpu_id_t get_ppc_cpu_type()
    2525{
    26   unsigned int pvr = (_read_PVR() >> 16) ;
     26  unsigned int pvr = (_read_PVR() >> 16);
    2727
    2828  current_ppc_cpu = (ppc_cpu_id_t) pvr;
    2929  switch (pvr) {
    30   case PPC_601  :
    31   case PPC_603  :
    32   case PPC_604  :
    33   case PPC_603e :
    34   case PPC_603ev:
    35   case PPC_750  :
    36   case PPC_604e :
    37   case PPC_604r :
    38   case PPC_620  :
    39   case PPC_860  :
    40     current_ppc_cpu = (ppc_cpu_id_t) pvr;
    41     return current_ppc_cpu;
    42   default :
    43     printk("Unknown PVR value. Please add it to <libcpu/powerpc/shared/cpu.h> \n");
     30    case PPC_601:
     31    case PPC_603:
     32    case PPC_604:
     33    case PPC_603:
     34    case PPC_603ev:
     35    case PPC_750:
     36    case PPC_604e:
     37    case PPC_604r:
     38    case PPC_620:
     39    case PPC_860:
     40      current_ppc_cpu = (ppc_cpu_id_t) pvr;
     41      return current_ppc_cpu;
     42    default:
     43      printk("Unknown PVR value of 0x%x. Please add it to <libcpu/powerpc/shared/cpu.h>\n", pvr );
    4444    return PPC_UNKNOWN;
    4545  }
Note: See TracChangeset for help on using the changeset viewer.