4.115
Rev | Line | |
---|
[54da1243] | 1 | /* |
---|
| 2 | * COPYRIGHT (c) 1989-2011. |
---|
| 3 | * On-Line Applications Research Corporation (OAR). |
---|
| 4 | * |
---|
| 5 | * The license and distribution terms for this file may be |
---|
| 6 | * found in the file LICENSE in this distribution or at |
---|
| 7 | * http://www.rtems.com/license/LICENSE. |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #ifdef HAVE_CONFIG_H |
---|
| 11 | #include "config.h" |
---|
| 12 | #endif |
---|
| 13 | |
---|
| 14 | #include <tmacros.h> |
---|
| 15 | #include <rtems.h> |
---|
| 16 | #include <limits.h> |
---|
| 17 | #include <sys/param.h> |
---|
| 18 | |
---|
| 19 | /* forward declarations to avoid warnings */ |
---|
| 20 | rtems_task Init(rtems_task_argument argument); |
---|
| 21 | |
---|
| 22 | rtems_task Init( |
---|
| 23 | rtems_task_argument argument |
---|
| 24 | ) |
---|
| 25 | { |
---|
| 26 | puts("\n\n*** TEST SPPAGESIZE ***"); |
---|
| 27 | |
---|
| 28 | rtems_test_assert(PAGESIZE == PAGE_SIZE); |
---|
| 29 | rtems_test_assert(getpagesize() == PAGE_SIZE); |
---|
| 30 | |
---|
| 31 | puts("*** END OF TEST SPPAGESIZE ***"); |
---|
| 32 | |
---|
| 33 | rtems_test_exit(0); |
---|
| 34 | } |
---|
| 35 | |
---|
| 36 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
| 37 | #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER |
---|
| 38 | |
---|
| 39 | #define CONFIGURE_MAXIMUM_TASKS 1 |
---|
| 40 | |
---|
| 41 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
| 42 | |
---|
| 43 | #define CONFIGURE_INIT |
---|
| 44 | |
---|
| 45 | #include <rtems/confdefs.h> |
---|
Note: See
TracBrowser
for help on using the repository browser.