Ticket #126: pr126.diff

File pr126.diff, 5.2 KB (added by Chris Johns, on 12/03/06 at 13:31:13)

pr126.diff

Line 
1--- /dev/null   Thu Aug 30 15:30:55 2001
2+++ c/src/exec/sapi/changes     Tue Apr  2 17:38:05 2002
3@@ -0,0 +1,5 @@
4+2001-03-29     Joel Sherrill <joel@OARcorp.com>
5+
6+       * Per PR126, configuration structures now match docs.
7+       * include/rtems/config.h: Use public data types.
8+
9--- /dev/null   Thu Aug 30 15:30:55 2001
10+++ c/src/exec/rtems/changes    Tue Apr  2 17:37:52 2002
11@@ -0,0 +1,5 @@
12+2001-03-29     Joel Sherrill <joel@OARcorp.com>
13+
14+       * Per PR126, configuration structures now match docs.
15+       * include/rtems/rtems/config.h: Use public data types.
16+
17Index: c/src/exec/rtems/include/rtems/rtems/config.h
18===================================================================
19RCS file: /usr1/CVS/rtems/c/src/exec/rtems/include/rtems/rtems/config.h,v
20retrieving revision 1.5
21diff -c -r1.5 config.h
22*** c/src/exec/rtems/include/rtems/rtems/config.h       1999/11/17 17:50:24     1.5
23--- c/src/exec/rtems/include/rtems/rtems/config.h       2002/04/02 23:37:32
24***************
25*** 33,47 ****
26   */
27 
28  typedef struct {
29!   unsigned32                        maximum_tasks;
30!   unsigned32                        maximum_timers;
31!   unsigned32                        maximum_semaphores;
32!   unsigned32                        maximum_message_queues;
33!   unsigned32                        maximum_partitions;
34!   unsigned32                        maximum_regions;
35!   unsigned32                        maximum_ports;
36!   unsigned32                        maximum_periods;
37!   unsigned32                        number_of_initialization_tasks;
38    rtems_initialization_tasks_table *User_initialization_tasks_table;
39  } rtems_api_configuration_table;
40 
41--- 33,47 ----
42   */
43 
44  typedef struct {
45!   rtems_unsigned32                  maximum_tasks;
46!   rtems_unsigned32                  maximum_timers;
47!   rtems_unsigned32                  maximum_semaphores;
48!   rtems_unsigned32                  maximum_message_queues;
49!   rtems_unsigned32                  maximum_partitions;
50!   rtems_unsigned32                  maximum_regions;
51!   rtems_unsigned32                  maximum_ports;
52!   rtems_unsigned32                  maximum_periods;
53!   rtems_unsigned32                  number_of_initialization_tasks;
54    rtems_initialization_tasks_table *User_initialization_tasks_table;
55  } rtems_api_configuration_table;
56 
57Index: c/src/exec/sapi/include/rtems/config.h
58===================================================================
59RCS file: /usr1/CVS/rtems/c/src/exec/sapi/include/rtems/config.h,v
60retrieving revision 1.22
61diff -c -r1.22 config.h
62*** c/src/exec/sapi/include/rtems/config.h      2001/10/16 19:05:28     1.22
63--- c/src/exec/sapi/include/rtems/config.h      2002/04/02 23:37:32
64***************
65*** 74,85 ****
66   */
67 
68  typedef struct {
69!   unsigned32    node;                   /* local node number */
70!   unsigned32    maximum_nodes;          /* maximum # nodes in system */
71!   unsigned32    maximum_global_objects; /* maximum # global objects */
72!   unsigned32    maximum_proxies;        /* maximum # proxies */
73  #if defined(RTEMS_MULTIPROCESSING)
74!   MPCI_Control *User_mpci_table;        /* pointer to MPCI table */
75  #else
76    void         *User_mpci_table;        /* pointer to MPCI table */
77  #endif
78--- 74,85 ----
79   */
80 
81  typedef struct {
82!   rtems_unsigned32    node;             /* local node number */
83!   rtems_unsigned32    maximum_nodes;    /* maximum # nodes in system */
84!   rtems_unsigned32    maximum_global_objects; /* maximum # global objects */
85!   rtems_unsigned32    maximum_proxies;  /* maximum # proxies */
86  #if defined(RTEMS_MULTIPROCESSING)
87!   rtems_mpci_table   *User_mpci_table;  /* pointer to MPCI table */
88  #else
89    void         *User_mpci_table;        /* pointer to MPCI table */
90  #endif
91***************
92*** 99,113 ****
93 
94  typedef struct {
95    void                             *work_space_start;
96!   unsigned32                        work_space_size;
97!   unsigned32                        maximum_extensions;
98!   unsigned32                        microseconds_per_tick;
99!   unsigned32                        ticks_per_timeslice;
100!   unsigned32                        maximum_devices;
101!   unsigned32                        maximum_drivers;
102!   unsigned32                        number_of_device_drivers;
103    rtems_driver_address_table       *Device_driver_table;
104!   unsigned32                        number_of_initial_extensions;
105    rtems_extensions_table           *User_extension_table;
106    rtems_multiprocessing_table      *User_multiprocessing_table;
107    rtems_api_configuration_table    *RTEMS_api_configuration;
108--- 99,113 ----
109 
110  typedef struct {
111    void                             *work_space_start;
112!   rtems_unsigned32                  work_space_size;
113!   rtems_unsigned32                  maximum_extensions;
114!   rtems_unsigned32                  microseconds_per_tick;
115!   rtems_unsigned32                  ticks_per_timeslice;
116!   rtems_unsigned32                  maximum_devices;
117!   rtems_unsigned32                  maximum_drivers;
118!   rtems_unsigned32                  number_of_device_drivers;
119    rtems_driver_address_table       *Device_driver_table;
120!   rtems_unsigned32                  number_of_initial_extensions;
121    rtems_extensions_table           *User_extension_table;
122    rtems_multiprocessing_table      *User_multiprocessing_table;
123    rtems_api_configuration_table    *RTEMS_api_configuration;