diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 11:12:47 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 11:12:47 +0000 |
commit | 9919946a826082275166ebfe37eee168672f7eca (patch) | |
tree | c6165403496985bbec8fb1a6b823e1032991673a /testsuites/libtests/rtems++ | |
parent | 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-9919946a826082275166ebfe37eee168672f7eca.tar.bz2 |
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* cpuuse/system.h, cpuuse/task1.c, cpuuse/tswitch.c, monitor/init.c,
monitor/system.h, rtems++/System.h, rtems++/Task1.cc,
rtems++/Task2.cc, rtems++/Task3.cc, rtmonuse/init.c,
rtmonuse/system.h, rtmonuse/task1.c, stackchk/blow.c: Convert to
using c99 fixed size types.
Diffstat (limited to 'testsuites/libtests/rtems++')
-rw-r--r-- | testsuites/libtests/rtems++/System.h | 6 | ||||
-rw-r--r-- | testsuites/libtests/rtems++/Task1.cc | 10 | ||||
-rw-r--r-- | testsuites/libtests/rtems++/Task2.cc | 2 | ||||
-rw-r--r-- | testsuites/libtests/rtems++/Task3.cc | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/testsuites/libtests/rtems++/System.h b/testsuites/libtests/rtems++/System.h index 0f3cbaa2e9..53ad2d24b0 100644 --- a/testsuites/libtests/rtems++/System.h +++ b/testsuites/libtests/rtems++/System.h @@ -62,7 +62,7 @@ protected: public: Task2(const char* name, const rtems_task_priority initial_priority, - const rtems_unsigned32 stack_size); + const uint32_t stack_size); }; class Task3 @@ -76,7 +76,7 @@ protected: public: Task3(const char* name, const rtems_task_priority initial_priority, - const rtems_unsigned32 stack_size); + const uint32_t stack_size); }; class EndTask @@ -88,7 +88,7 @@ protected: public: EndTask(const char* name, const rtems_task_priority initial_priority, - const rtems_unsigned32 stack_size); + const uint32_t stack_size); }; #if 0 diff --git a/testsuites/libtests/rtems++/Task1.cc b/testsuites/libtests/rtems++/Task1.cc index 394d9fe103..35c8ec34ea 100644 --- a/testsuites/libtests/rtems++/Task1.cc +++ b/testsuites/libtests/rtems++/Task1.cc @@ -240,8 +240,8 @@ void Task1::screen2(void) task_2.set_priority(current_priority, priority); printf("%s, priority was %i\n", task_2.last_status_string(), priority); - rtems_unsigned32 current_note; - rtems_unsigned32 note; + uint32_t current_note; + uint32_t note; // notepad registers for this object @@ -502,7 +502,7 @@ void Task1::screen6(void) char *u1 = "normal send"; char *u2 = "urgent send"; char in[100]; - rtems_unsigned32 size; + uint32_t size; printf("%s - send u1 to mq_2 - ", name_string()); mq_2.send(u1, strlen(u1) + 1); @@ -573,7 +573,7 @@ void Task1::screen6(void) wake_after(3000000); char *b1 = "broadcast message"; - rtems_unsigned32 count; + uint32_t count; printf("%s - broadcast send b1 ...\n", name_string()); mq_2.broadcast(b1, strlen(b1) + 1, count); @@ -668,7 +668,7 @@ void Task1::print_mode(rtems_mode mode, rtems_mode mask) EndTask::EndTask(const char* name, const rtems_task_priority initial_priority, - const rtems_unsigned32 stack_size) + const uint32_t stack_size) : rtemsTask(name, initial_priority, stack_size, RTEMS_NO_PREEMPT) { } diff --git a/testsuites/libtests/rtems++/Task2.cc b/testsuites/libtests/rtems++/Task2.cc index e5477a2c9c..3173905652 100644 --- a/testsuites/libtests/rtems++/Task2.cc +++ b/testsuites/libtests/rtems++/Task2.cc @@ -22,7 +22,7 @@ Task2::Task2(const char* name, const rtems_task_priority initial_priority, - const rtems_unsigned32 stack_size) + const uint32_t stack_size) : rtemsTask(name, initial_priority, stack_size, RTEMS_NO_PREEMPT) { } diff --git a/testsuites/libtests/rtems++/Task3.cc b/testsuites/libtests/rtems++/Task3.cc index 658b7fee66..9c94c59640 100644 --- a/testsuites/libtests/rtems++/Task3.cc +++ b/testsuites/libtests/rtems++/Task3.cc @@ -22,7 +22,7 @@ Task3::Task3(const char* name, const rtems_task_priority initial_priority, - const rtems_unsigned32 stack_size) + const uint32_t stack_size) : rtemsTask(name, initial_priority, stack_size, RTEMS_NO_PREEMPT) { } @@ -44,7 +44,7 @@ void Task3::screen6() { char in[100]; char out[100]; - rtems_unsigned32 size; + uint32_t size; bool loopback = true; while (loopback) |