Changeset dfe42ba5 in rtems


Ignore:
Timestamp:
Jul 10, 2008, 10:03:27 PM (11 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 4.9, master
Children:
457f590
Parents:
e1df032
Message:

2008-07-10 Till Straumann <strauman@…>

  • mpc6xx/mmu/pte121.c: use general "memory" clobber rather than memory input operand in inline assembly ("m" doesn't do what the manual says; see discussion on gcc mailing list around 2008/3/30)
Location:
c/src/lib/libcpu/powerpc
Files:
2 edited

Legend:

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

    re1df032 rdfe42ba5  
     12008-07-10      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * mpc6xx/mmu/pte121.c: use general "memory" clobber
     4        rather than memory input operand in inline assembly
     5        ("m" doesn't do what the manual says; see discussion
     6        on gcc mailing list around 2008/3/30)
     7
    182008-07-10      Till Straumann <strauman@slac.stanford.edu>
    29
  • c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c

    re1df032 rdfe42ba5  
    541541              rtems_interrupt_disable (flags);
    542542              /* order setting 'v' after writing everything else */
    543               asm volatile ("eieio"::"m"(*pte));
     543              asm volatile ("eieio":::"memory");
    544544              pte->v = 1;
    545               asm volatile ("sync"::"m"(*pte));
     545              asm volatile ("sync":::"memory");
    546546              rtems_interrupt_enable (flags);
    547547            } else {
Note: See TracChangeset for help on using the changeset viewer.