Files
rtems/doc/cpu_supplement
Sebastian Huber 7c0bd74c87 sparc: Add _CPU_Get_current_per_CPU_control()
Use register g6 for the per-CPU control of the current processor.  The
register g6 is reserved for the operating system by the SPARC ABI.  On
Linux register g6 is used for a similar purpose with the same method
since 1996.

The register g6 must be initialized during system startup and then must
remain unchanged.

Since the per-CPU control is used in all critical sections of the
operating system, this is a performance optimization for the operating
system core procedures.  An additional benefit is that the low-level
context switch and interrupt processing code is now identical on non-SMP
and SMP configurations.
2014-04-28 09:26:19 +02:00
..
2014-02-04 10:06:35 +01:00
2014-02-04 10:06:35 +01:00
2014-02-04 10:06:35 +01:00
2014-02-04 10:06:35 +01:00
2014-02-04 10:06:35 +01:00
2014-02-04 10:06:35 +01:00
2014-02-04 10:06:35 +01:00
2014-02-04 10:06:35 +01:00
2014-02-04 10:06:35 +01:00
2014-02-04 10:06:35 +01:00
2014-02-04 10:06:35 +01:00
2014-02-04 10:06:35 +01:00
2014-02-04 10:06:35 +01:00