diff options
author | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2015-08-10 10:58:12 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2015-08-19 17:43:26 -0300 |
commit | 1747fcda4902a3b46183d93fb16ed9b436b2608b (patch) | |
tree | ae11b87990c3cdd3e25b2533dd60a2a2dac16bb0 /manual/platform.texi | |
parent | 1f3be1988bce6756ad8cd37386eedef95aa0f2ed (diff) | |
download | glibc-1747fcda4902a3b46183d93fb16ed9b436b2608b.tar glibc-1747fcda4902a3b46183d93fb16ed9b436b2608b.tar.gz glibc-1747fcda4902a3b46183d93fb16ed9b436b2608b.tar.bz2 glibc-1747fcda4902a3b46183d93fb16ed9b436b2608b.zip |
PowerPC: Extend Program Priority Register support
This patch adds extra inline functions to change the Program Priority
Register from ISA 2.07.
2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
* sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
__ppc_set_ppr_very_low): New functions.
* manual/platform.texi: Add documentation about
__ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
Diffstat (limited to 'manual/platform.texi')
-rw-r--r-- | manual/platform.texi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/manual/platform.texi b/manual/platform.texi index 872e32ecb3..cb166641fb 100644 --- a/manual/platform.texi +++ b/manual/platform.texi @@ -97,3 +97,21 @@ Set the Program Priority Register to low value. @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}} Set the Program Priority Register to medium low value. @end deftypefun + +Power ISA 2.07 extends the priorities that can be set to the Program Priority +Register (PPR). The following functions implement the new priority levels: +very low and medium high. + +@deftypefun {void} __ppc_set_ppr_very_low (void) +@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}} +Set the Program Priority Register to very low value. +@end deftypefun + +@deftypefun {void} __ppc_set_ppr_med_high (void) +@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}} +Set the Program Priority Register to medium high value. The medium high +priority is privileged and may only be set during certain time intervals by +problem-state programs. If the program priority is medium high when the time +interval expires or if an attempt is made to set the priority to medium high +when it is not allowed, the priority is set to medium. +@end deftypefun |