OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [cris/] [c/] [sched5.c] - Rev 816

Go to most recent revision | Compare with Previous | Blame | View Log

/*
#notarget: cris*-*-elf
*/
 
#include <sched.h>
#include <stdio.h>
#include <stdlib.h>
int main (void)
{
  int Min = sched_get_priority_min (SCHED_OTHER);
  int Max = sched_get_priority_max (SCHED_OTHER);
  if (Min != 0 || Max != 0)
    {
      fprintf (stderr, "min: %d, max: %d\n", Min, Max);
      abort ();
    }
  printf ("pass\n");
  exit (0);
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.