lkml.org 
[lkml]   [2008]   [Jan]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 24 Jan 2008 17:47:53 +0900
From"minchan kim" <>
Subjectstrex instrucion question in v6_early_abort
Hi catalin,

Now I am trying to understand your patch in linux kernel.

  .align  5
ENTRY(v6_early_abort)
#ifdef CONFIG_CPU_32v6K
  clrex
#else
  strex r0, r1, [sp]      @ Clear the exclusive monitor
<====================== This
#endif
  mrc p15, 0, r1, c5, c0, 0   @ get FSR
  mrc p15, 0, r0, c6, c0, 0   @ get FAR
I think that you insert just ""dummy strex"" for preventing
unpredicatable state of exclusive monitor. Is right?
If it is right, Why do you use r1, [sp] in all of registers ? Is there
any issue ?


-- 
Kinds regards,
barrios


\
 
 \ /
  Last update: 2008-01-24 09:51    [from the cache]
©2003-2008