2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>

* sp21/task1.c: Eliminate copies of the Configuration Table. Use the
	RTEMS provided accessor macros to obtain configuration fields.
This commit is contained in:
Joel Sherrill
2007-12-11 15:51:54 +00:00
parent c52d534512
commit 1383eca6d2
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp21/task1.c: Eliminate copies of the Configuration Table. Use the
RTEMS provided accessor macros to obtain configuration fields.
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* spsize/size.c: Move interrupt_stack_size field from CPU Table to

View File

@@ -21,8 +21,8 @@
#define STUB_DRIVER_MAJOR 0x2
#define NO_DRIVER_MAJOR 0x3
#define INVALID_DRIVER_MAJOR (Configuration.number_of_device_drivers + 1)
/* #define INVALID_DRIVER_MAJOR 0xffffffff */
#define INVALID_DRIVER_MAJOR \
(rtems_configuration_get_number_of_device_drivers() + 1)
/* driver entries to use with io_register */
rtems_driver_address_table GoodDriver = DEVNULL_DRIVER_TABLE_ENTRY;