change log for rtems (2010-06-21)
rtems-vc at rtems.org
rtems-vc at rtems.org
Mon Jun 21 21:12:00 UTC 2010
*joel*:
2010-06-21 Joel Sherrill <joel.sherrill at oarcorp.com>
* malloc02/init.c, malloc02/malloc02.doc: Enable malloc dirty helper.
M 1.180 testsuites/libtests/ChangeLog
M 1.2 testsuites/libtests/malloc02/init.c
M 1.2 testsuites/libtests/malloc02/malloc02.doc
diff -u rtems/testsuites/libtests/ChangeLog:1.179 rtems/testsuites/libtests/ChangeLog:1.180
--- rtems/testsuites/libtests/ChangeLog:1.179 Mon Jun 21 15:05:42 2010
+++ rtems/testsuites/libtests/ChangeLog Mon Jun 21 16:09:36 2010
@@ -1,5 +1,9 @@
2010-06-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+ * malloc02/init.c, malloc02/malloc02.doc: Enable malloc dirty helper.
+
+2010-06-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
* Makefile.am, configure.ac: Add test for deferring free() from ISR and
for deferred free() processing.
* malloc02/.cvsignore, malloc02/Makefile.am, malloc02/init.c,
diff -u rtems/testsuites/libtests/malloc02/init.c:1.1 rtems/testsuites/libtests/malloc02/init.c:1.2
--- rtems/testsuites/libtests/malloc02/init.c:1.1 Mon Jun 21 15:05:45 2010
+++ rtems/testsuites/libtests/malloc02/init.c Mon Jun 21 16:09:36 2010
@@ -53,19 +53,10 @@
status = rtems_timer_fire_after( timer, 10, test_operation_from_isr, NULL );
directive_failed( status, "timer_fire_after failed" );
- /* XXX pick a delay method */
-#if 0
+ /* delay to let timer fire */
status = rtems_task_wake_after( 20 );
-#else
- {
- rtems_interval start;
- rtems_interval now;
- start = rtems_clock_get_ticks_since_boot();
- do {
- now = rtems_clock_get_ticks_since_boot();
- } while ( (now-start) < 100 );
- }
-#endif
+ directive_failed( status, "timer_wake_after failed" );
+
if ( !operation_performed_from_tsr ) {
puts( "Operation from ISR did not get processed\n" );
rtems_test_exit( 0 );
@@ -84,8 +75,9 @@
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
-#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_MALLOC_DIRTY
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_TASKS 1
#define CONFIGURE_MAXIMUM_TIMERS 1
diff -u rtems/testsuites/libtests/malloc02/malloc02.doc:1.1 rtems/testsuites/libtests/malloc02/malloc02.doc:1.2
--- rtems/testsuites/libtests/malloc02/malloc02.doc:1.1 Mon Jun 21 15:05:45 2010
+++ rtems/testsuites/libtests/malloc02/malloc02.doc Mon Jun 21 16:09:36 2010
@@ -22,3 +22,4 @@
+ adding to the deferred free operation chain
+ processing the deferred free operation chain
++ enable the malloc dirty option
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100621/6b3b8007/attachment-0001.html>
More information about the vc
mailing list