From 9c63d905616d4bb85bd58f6fcef2ec4f2eecf457 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 26 Jan 2001 21:54:57 +0000 Subject: 2001-01-26 Ralf Corsepius * include/confdefs.h: include cpuopts.h, replace stubdr w/ devnull. --- c/src/exec/sapi/ChangeLog | 4 ++++ c/src/exec/sapi/include/confdefs.h | 13 ++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'c/src/exec/sapi') diff --git a/c/src/exec/sapi/ChangeLog b/c/src/exec/sapi/ChangeLog index c085f2fb7a..78761abb24 100644 --- a/c/src/exec/sapi/ChangeLog +++ b/c/src/exec/sapi/ChangeLog @@ -1,3 +1,7 @@ +2001-01-26 Ralf Corsepius + + * include/confdefs.h: include cpuopts.h, replace stubdr w/ devnull. + 2000-10-30 Joel Sherrill * POSIX include files merged into newlib. This resulted in diff --git a/c/src/exec/sapi/include/confdefs.h b/c/src/exec/sapi/include/confdefs.h index bec95066cb..697fb60701 100644 --- a/c/src/exec/sapi/include/confdefs.h +++ b/c/src/exec/sapi/include/confdefs.h @@ -38,7 +38,12 @@ #ifdef __cplusplus extern "C" { #endif - + +/* + * Include the executive's configuration + */ +#include + extern rtems_initialization_tasks_table Initialization_tasks[]; extern rtems_driver_address_table Device_drivers[]; extern rtems_configuration_table Configuration; @@ -56,7 +61,9 @@ extern itron_api_configuration_table Configuration_ITRON_API; * NOTE: This ends up defining these even when newlib is not used. */ +#ifdef RTEMS_NEWLIB #define CONFIGURE_NEWLIB_EXTENSION 1 +#endif #define CONFIGURE_MALLOC_REGION 1 /* @@ -262,7 +269,7 @@ rtems_initialization_tasks_table Initialization_tasks[] = { #endif #ifdef CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER -#include +#include #endif #ifndef CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE @@ -276,7 +283,7 @@ rtems_driver_address_table Device_drivers[] = { CLOCK_DRIVER_TABLE_ENTRY, #endif #ifdef CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER - STUB_DRIVER_TABLE_ENTRY, + DEVNULL_DRIVER_TABLE_ENTRY, #endif NULL_DRIVER_TABLE_ENTRY }; -- cgit v1.2.3