[Bug 1573] Per CPU Patch -- SMP Step #1

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Jun 23 06:34:09 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1573

--- Comment #4 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2010-06-23 01:34:08 CDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > The designators in cpukit/score/include/rtems/score/percpu.h do not follow the
> > super core naming conventions.
> > 
> > I suggest this:
> > 
> > rtems_per_cpu_t -> Per_cpu_Control
> > rtems_per_cpu_info -> _Per_cpu_Control
> I disagree with the replacement of rtems_per_cpu_info, It could be
> _Per_cpu_Info instead.  I don't think it should be too similar to the type
> name.

What is the relationship between Control and Info?  If this is to similar, we
can name it

_Per_cpu_Control_instance

or

_Per_cpu_Instance

since we have here something like a per CPU singleton object.  This makes it
also clear that we have one instance of this object per CPU.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list