Remove option for SCHED_FIFO. With this optional, SCHED_FIFO

is the same as RTPRIO_IDLE when it falls through to the default.
This commit is contained in:
Peter Dufault 1998-05-19 20:59:07 +00:00
parent 66ed4bce19
commit daa2c78fae
3 changed files with 3 additions and 18 deletions
sys
amd64/amd64
i386/i386

View File

@ -33,11 +33,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: swtch.s,v 1.71 1998/04/06 15:44:31 peter Exp $
* $Id: swtch.s,v 1.72 1998/05/12 18:37:10 dyson Exp $
*/
#include "npx.h"
#include "opt_posix.h"
#include "opt_user_ldt.h"
#include "opt_vm86.h"
@ -111,10 +110,8 @@ set1:
movzwl P_RTPRIO_PRIO(%eax),%edx
cmpw $RTP_PRIO_REALTIME,P_RTPRIO_TYPE(%eax) /* RR realtime priority? */
#ifdef P1003_1B
je set_rt /* RT priority */
cmpw $RTP_PRIO_FIFO,P_RTPRIO_TYPE(%eax) /* FIFO realtime priority? */
#endif
jne set_id /* must be idle priority */
set_rt:
@ -167,10 +164,8 @@ ENTRY(remrq)
movzwl P_RTPRIO_PRIO(%eax),%edx
cmpw $RTP_PRIO_REALTIME,P_RTPRIO_TYPE(%eax) /* realtime priority process? */
#ifdef P1003_1B
je rem0rt
cmpw $RTP_PRIO_FIFO,P_RTPRIO_TYPE(%eax) /* FIFO realtime priority process? */
#endif
jne rem_id
rem0rt:

View File

@ -33,11 +33,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: swtch.s,v 1.71 1998/04/06 15:44:31 peter Exp $
* $Id: swtch.s,v 1.72 1998/05/12 18:37:10 dyson Exp $
*/
#include "npx.h"
#include "opt_posix.h"
#include "opt_user_ldt.h"
#include "opt_vm86.h"
@ -111,10 +110,8 @@ set1:
movzwl P_RTPRIO_PRIO(%eax),%edx
cmpw $RTP_PRIO_REALTIME,P_RTPRIO_TYPE(%eax) /* RR realtime priority? */
#ifdef P1003_1B
je set_rt /* RT priority */
cmpw $RTP_PRIO_FIFO,P_RTPRIO_TYPE(%eax) /* FIFO realtime priority? */
#endif
jne set_id /* must be idle priority */
set_rt:
@ -167,10 +164,8 @@ ENTRY(remrq)
movzwl P_RTPRIO_PRIO(%eax),%edx
cmpw $RTP_PRIO_REALTIME,P_RTPRIO_TYPE(%eax) /* realtime priority process? */
#ifdef P1003_1B
je rem0rt
cmpw $RTP_PRIO_FIFO,P_RTPRIO_TYPE(%eax) /* FIFO realtime priority process? */
#endif
jne rem_id
rem0rt:

View File

@ -33,11 +33,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: swtch.s,v 1.71 1998/04/06 15:44:31 peter Exp $
* $Id: swtch.s,v 1.72 1998/05/12 18:37:10 dyson Exp $
*/
#include "npx.h"
#include "opt_posix.h"
#include "opt_user_ldt.h"
#include "opt_vm86.h"
@ -111,10 +110,8 @@ set1:
movzwl P_RTPRIO_PRIO(%eax),%edx
cmpw $RTP_PRIO_REALTIME,P_RTPRIO_TYPE(%eax) /* RR realtime priority? */
#ifdef P1003_1B
je set_rt /* RT priority */
cmpw $RTP_PRIO_FIFO,P_RTPRIO_TYPE(%eax) /* FIFO realtime priority? */
#endif
jne set_id /* must be idle priority */
set_rt:
@ -167,10 +164,8 @@ ENTRY(remrq)
movzwl P_RTPRIO_PRIO(%eax),%edx
cmpw $RTP_PRIO_REALTIME,P_RTPRIO_TYPE(%eax) /* realtime priority process? */
#ifdef P1003_1B
je rem0rt
cmpw $RTP_PRIO_FIFO,P_RTPRIO_TYPE(%eax) /* FIFO realtime priority process? */
#endif
jne rem_id
rem0rt: