mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 13:08:36 +08:00
2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>
* sapi/include/confdefs.h, sapi/include/rtems/config.h, sapi/include/rtems/extension.h, sapi/include/rtems/fatal.h, sapi/include/rtems/init.h, sapi/include/rtems/io.h, sapi/src/exinit.c, sapi/src/extension.c, sapi/src/fatal.c, sapi/src/io.c: Convert to using c99 fixed size types.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* sapi/include/confdefs.h, sapi/include/rtems/config.h,
|
||||
sapi/include/rtems/extension.h, sapi/include/rtems/fatal.h,
|
||||
sapi/include/rtems/init.h, sapi/include/rtems/io.h,
|
||||
sapi/src/exinit.c, sapi/src/extension.c, sapi/src/fatal.c,
|
||||
sapi/src/io.c: Convert to using c99 fixed size types.
|
||||
|
||||
2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* rtems/include/rtems.h,
|
||||
|
||||
@@ -81,7 +81,7 @@ extern itron_api_configuration_table Configuration_ITRON_API;
|
||||
(CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS + 1)
|
||||
|
||||
#ifdef CONFIGURE_INIT
|
||||
unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
|
||||
uint32_t rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
@@ -74,10 +74,10 @@ typedef void *itron_api_configuration_table;
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
rtems_unsigned32 node; /* local node number */
|
||||
rtems_unsigned32 maximum_nodes; /* maximum # nodes in system */
|
||||
rtems_unsigned32 maximum_global_objects; /* maximum # global objects */
|
||||
rtems_unsigned32 maximum_proxies; /* maximum # proxies */
|
||||
uint32_t node; /* local node number */
|
||||
uint32_t maximum_nodes; /* maximum # nodes in system */
|
||||
uint32_t maximum_global_objects; /* maximum # global objects */
|
||||
uint32_t maximum_proxies; /* maximum # proxies */
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
rtems_mpci_table *User_mpci_table; /* pointer to MPCI table */
|
||||
#else
|
||||
@@ -99,15 +99,15 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
void *work_space_start;
|
||||
rtems_unsigned32 work_space_size;
|
||||
rtems_unsigned32 maximum_extensions;
|
||||
rtems_unsigned32 microseconds_per_tick;
|
||||
rtems_unsigned32 ticks_per_timeslice;
|
||||
rtems_unsigned32 maximum_devices;
|
||||
rtems_unsigned32 maximum_drivers;
|
||||
rtems_unsigned32 number_of_device_drivers;
|
||||
uint32_t work_space_size;
|
||||
uint32_t maximum_extensions;
|
||||
uint32_t microseconds_per_tick;
|
||||
uint32_t ticks_per_timeslice;
|
||||
uint32_t maximum_devices;
|
||||
uint32_t maximum_drivers;
|
||||
uint32_t number_of_device_drivers;
|
||||
rtems_driver_address_table *Device_driver_table;
|
||||
rtems_unsigned32 number_of_initial_extensions;
|
||||
uint32_t number_of_initial_extensions;
|
||||
rtems_extensions_table *User_extension_table;
|
||||
rtems_multiprocessing_table *User_multiprocessing_table;
|
||||
rtems_api_configuration_table *RTEMS_api_configuration;
|
||||
|
||||
@@ -76,7 +76,7 @@ typedef struct {
|
||||
*/
|
||||
|
||||
void _Extension_Manager_initialization(
|
||||
unsigned32 maximum_extensions
|
||||
uint32_t maximum_extensions
|
||||
);
|
||||
|
||||
/*
|
||||
|
||||
@@ -37,7 +37,7 @@ extern "C" {
|
||||
*/
|
||||
|
||||
void volatile rtems_fatal_error_occurred(
|
||||
unsigned32 the_error
|
||||
uint32_t the_error
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -98,7 +98,7 @@ void rtems_initialize_executive_late(
|
||||
*/
|
||||
|
||||
void rtems_shutdown_executive(
|
||||
unsigned32 result
|
||||
uint32_t result
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -45,8 +45,8 @@ extern "C" {
|
||||
* defines the entry points for that device driver.
|
||||
*/
|
||||
|
||||
typedef unsigned32 rtems_device_major_number;
|
||||
typedef unsigned32 rtems_device_minor_number;
|
||||
typedef uint32_t rtems_device_major_number;
|
||||
typedef uint32_t rtems_device_minor_number;
|
||||
|
||||
typedef rtems_status_code rtems_device_driver;
|
||||
|
||||
@@ -71,7 +71,7 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
char *device_name;
|
||||
unsigned32 device_name_length;
|
||||
uint32_t device_name_length;
|
||||
rtems_device_major_number major;
|
||||
rtems_device_minor_number minor;
|
||||
} rtems_driver_name_t;
|
||||
@@ -85,9 +85,9 @@ typedef struct {
|
||||
* Address Table and Device Name Table.
|
||||
*/
|
||||
|
||||
SAPI_EXTERN unsigned32 _IO_Number_of_drivers;
|
||||
SAPI_EXTERN uint32_t _IO_Number_of_drivers;
|
||||
SAPI_EXTERN rtems_driver_address_table *_IO_Driver_address_table;
|
||||
SAPI_EXTERN unsigned32 _IO_Number_of_devices;
|
||||
SAPI_EXTERN uint32_t _IO_Number_of_devices;
|
||||
SAPI_EXTERN rtems_driver_name_t *_IO_Driver_name_table;
|
||||
|
||||
/*
|
||||
@@ -100,9 +100,9 @@ SAPI_EXTERN rtems_driver_name_t *_IO_Driver_name_table;
|
||||
|
||||
void _IO_Manager_initialization(
|
||||
rtems_driver_address_table *driver_table,
|
||||
unsigned32 drivers_in_table,
|
||||
unsigned32 number_of_drivers,
|
||||
unsigned32 number_of_devices
|
||||
uint32_t drivers_in_table,
|
||||
uint32_t number_of_drivers,
|
||||
uint32_t number_of_devices
|
||||
);
|
||||
|
||||
/*
|
||||
|
||||
@@ -318,7 +318,7 @@ void rtems_initialize_executive_late(
|
||||
*/
|
||||
|
||||
void rtems_shutdown_executive(
|
||||
unsigned32 result
|
||||
uint32_t result
|
||||
)
|
||||
{
|
||||
if ( _System_state_Current != SYSTEM_STATE_SHUTDOWN ) {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
*/
|
||||
|
||||
void _Extension_Manager_initialization(
|
||||
unsigned32 maximum_extensions
|
||||
uint32_t maximum_extensions
|
||||
)
|
||||
{
|
||||
_Objects_Initialize_information(
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
*/
|
||||
|
||||
void volatile rtems_fatal_error_occurred(
|
||||
unsigned32 the_error
|
||||
uint32_t the_error
|
||||
)
|
||||
{
|
||||
_Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, FALSE, the_error );
|
||||
|
||||
@@ -32,13 +32,13 @@
|
||||
|
||||
void _IO_Manager_initialization(
|
||||
rtems_driver_address_table *driver_table,
|
||||
unsigned32 drivers_in_table,
|
||||
unsigned32 number_of_drivers,
|
||||
unsigned32 number_of_devices
|
||||
uint32_t drivers_in_table,
|
||||
uint32_t number_of_drivers,
|
||||
uint32_t number_of_devices
|
||||
)
|
||||
{
|
||||
void *tmp;
|
||||
unsigned32 index;
|
||||
uint32_t index;
|
||||
rtems_driver_name_t *np;
|
||||
|
||||
if ( number_of_drivers < drivers_in_table )
|
||||
@@ -211,8 +211,8 @@ rtems_status_code rtems_io_register_name(
|
||||
)
|
||||
{
|
||||
rtems_driver_name_t *np;
|
||||
unsigned32 level;
|
||||
unsigned32 index;
|
||||
uint32_t level;
|
||||
uint32_t index;
|
||||
|
||||
/* find an empty slot */
|
||||
for( index=0, np = _IO_Driver_name_table ;
|
||||
|
||||
Reference in New Issue
Block a user