[Bug 1898] New: Optional CPU dependent _Per_CPU_Information attributes
    bugzilla-daemon at rtems.org 
    bugzilla-daemon at rtems.org
       
    Tue Aug 16 11:46:12 UTC 2011
    
    
  
https://www.rtems.org/bugzilla/show_bug.cgi?id=1898
           Summary: Optional CPU dependent _Per_CPU_Information attributes
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: sebastian.huber at embedded-brains.de
I would like to add optional CPU dependent _Per_CPU_Information attributes:
Index: score/include/rtems/score/percpu.h
===================================================================
RCS file: /usr1/CVS/rtems/cpukit/score/include/rtems/score/percpu.h,v
retrieving revision 1.12
diff -u -r1.12 percpu.h
--- score/include/rtems/score/percpu.h  15 Jul 2011 14:36:37 -0000      1.12
+++ score/include/rtems/score/percpu.h  16 Aug 2011 11:42:19 -0000
@@ -216,7 +216,8 @@
  *
  *  This is an array of per CPU core information.
  */
-extern Per_CPU_Control _Per_CPU_Information[];
+extern CPU_PER_CPU_INFORMATION_ATTRIBUTES Per_CPU_Control
+  _Per_CPU_Information[];
 #if defined(RTEMS_SMP)
 /**
This allows to place the _Per_CPU_Information table into special memory regions
e.g. the small data area.  On some CPUs this can lead to slightly optimized
load and store instructions.
This define should be placed into <rtems/score/cpu.h>.  The default is
undefined.
Example:
#define CPU_PER_CPU_INFORMATION_ATTRIBUTES __attribute__((section(".sdata")))
-- 
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