Changeset b2b2e1a in rtems-libbsd


Ignore:
Timestamp:
Oct 20, 2017, 10:51:20 AM (20 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
eeb3fd5d9b07ac9a2e280cff60a1b762bd273a8d, 1e989998de954bef51e6c19cc3d64d39f32100aa
Children:
28ee86a
Parents:
43fdf50
git-author:
Sebastian Huber <sebastian.huber@…> (10/20/17 10:51:20)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/20/17 12:59:56)
Message:

powerpc: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/powerpc/include/machine/spr.h

    r43fdf50 rb2b2e1a  
    554554#define SPR_L2PM                0x3f8   /* .6. L2 Private Memory Control Register */
    555555#define SPR_L2CR                0x3f9   /* .6. L2 Control Register */
     556#ifdef __rtems__
     557#undef L2CR_L2E
     558#endif /* __rtems__ */
    556559#define   L2CR_L2E                0x80000000 /* 0: L2 enable */
    557560#define   L2CR_L2PE               0x40000000 /* 1: L2 data parity enable */
     
    575578                                      Setting this bit disables instruction
    576579                                      caching. */
     580#ifdef __rtems__
     581#undef L2CR_L2I
     582#endif /* __rtems__ */
    577583#define   L2CR_L2I                0x00200000 /* 10: L2 global invalidate. */
    578584#define   L2CR_L2IO_7450          0x00010000 /* 11: L2 instruction-only (MPC745x). */
     
    615621#define   L3CR_L3DO               0x00000040
    616622#define   L3CR_PMEN               0x00000004
     623#ifdef __rtems__
     624#undef L3CR_PMSIZ
     625#endif /* __rtems__ */
    617626#define   L3CR_PMSIZ              0x00000003
    618627
Note: See TracChangeset for help on using the changeset viewer.