summaryrefslogtreecommitdiffstats
path: root/misc/x86_display_cpu/test.c
blob: 10e08c45c25c949294cbff3fae6229c3641b9ef8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 *  Simple test program -- simplified version of sample test hello.
 *
 *  $Id$
 */

#include <bsp.h>
#include <rtems/bspIo.h>
#include <libcpu/cpuModel.h>

rtems_task Init(
  rtems_task_argument ignored
)
{
  printk( "\n\n*** x86 DISPLAY CPU CAPABILITIES TEST ***\n" );
  printCpuInfo();
  printk( "\n\n*** END OF x86 DISPLAY CPU CAPABILITIES TEST ***\n" );
  exit( 0 );
}

/* configuration information */

/* NOTICE: the clock driver is explicitly disabled */
#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER

#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_TASKS 1

#define CONFIGURE_INIT

#include <rtems/confdefs.h>

/* end of file */