Changeset 9521992 in rtems


Ignore:
Timestamp:
Dec 1, 2011, 8:06:06 AM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
a6b5e836
Parents:
cadea79
Message:

2011-12-01 Ralf Corsépius <ralf.corsepius@…>

  • shared/include/cpuIdent.c, shared/include/cpuIdent.h (get_ppc_cpu_type_name): Return const char*.
Location:
c/src/lib/libcpu/powerpc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/ChangeLog

    rcadea79 r9521992  
     12011-12-01      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * shared/include/cpuIdent.c, shared/include/cpuIdent.h
     4        (get_ppc_cpu_type_name): Return const char*.
     5
    162011-11-10      Sebastian Huber <sebastian.huber@embedded-brains.de>
    27
  • c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c

    rcadea79 r9521992  
    2828ppc_feature_t      current_ppc_features;
    2929
    30 char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu)
     30const char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu)
    3131{
    3232  switch (cpu) {
  • c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h

    rcadea79 r9521992  
    9292
    9393extern ppc_cpu_id_t get_ppc_cpu_type (void);
    94 extern char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu);
     94extern const char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu);
    9595extern ppc_cpu_revision_t get_ppc_cpu_revision (void);
    9696extern ppc_cpu_revision_t current_ppc_revision;
Note: See TracChangeset for help on using the changeset viewer.