2016-05-16T04:36:43 *** mkhoory-2 has joined #rtems 2016-05-16T05:46:49 *** monstr has joined #rtems 2016-05-16T10:05:53 *** benjamint has joined #rtems 2016-05-16T11:42:48 *** mkhoory-2 has quit IRC 2016-05-16T11:43:27 *** Davidbrcz has quit IRC 2016-05-16T11:50:11 *** Davidbrcz has joined #rtems 2016-05-16T12:50:47 *** cdesai has quit IRC 2016-05-16T12:54:23 *** cdesai has joined #rtems 2016-05-16T13:02:34 *** jkridner has quit IRC 2016-05-16T13:50:23 *** monstr has quit IRC 2016-05-16T14:27:28 *** gedare has joined #rtems 2016-05-16T14:27:29 *** ChanServ sets mode: +o gedare 2016-05-16T14:47:22 *** benjamint has quit IRC 2016-05-16T16:46:05 *** MiD has joined #rtems 2016-05-16T16:46:51 everyone hello. Does anybody here?) 2016-05-16T16:47:01 2016-05-16T16:53:41 am...actually i'm a newbie fo rtems. Now i'm try to use it it with my stm board(stm32f4xx). And for now i have one problem: it's about ISR. The thing is, i have my own drivers, which uses isr(exti driver, uart and etc). I read rtems c-user manual properly, but still can't understand clearly, how i can bring control to rtems signal manager via ASR. I'll be appreciated, if someone can give some advise?) 2016-05-16T16:58:04 MiD: wait a bit here, and if you do not get any answer ask on the mailing-list 2016-05-16T16:58:26 ok, thx 2016-05-16T17:32:44 *** jkridner has joined #rtems 2016-05-16T17:39:03 *** gedare has quit IRC 2016-05-16T18:31:17 *** mumptai has joined #rtems 2016-05-16T18:48:54 *** gedare has joined #rtems 2016-05-16T18:48:55 *** ChanServ sets mode: +o gedare 2016-05-16T19:47:04 *** jkridner has quit IRC 2016-05-16T19:47:40 *** jkridner has joined #rtems 2016-05-16T21:09:56 *** MiD has quit IRC 2016-05-16T21:12:31 *** jkridner has quit IRC 2016-05-16T21:26:54 *** gedare has quit IRC 2016-05-16T22:46:15 *** mumptai has quit IRC 2016-05-17T00:18:58 *** jkridner has joined #rtems 2016-05-17T00:40:32 *** jkridner has quit IRC 2016-05-17T00:41:54 *** jkridner has joined #rtems 2016-05-17T02:17:43 *** mkhoory-2 has joined #rtems 2016-05-17T04:24:02 *** monstr has joined #rtems 2016-05-17T05:43:53 *** sebhub has joined #rtems 2016-05-17T05:47:45 [trac] #2415/defect (new) updated by sebastian.huber (We should at least refactor the general TAR file iteration into an iterator function ...) http://devel.rtems.org/ticket/2415 2016-05-17T05:55:33 [trac] #2415/defect (new) updated by chrisj (Replying to [comment:2 sebastian.huber]: > We should at least refactor the general ...) http://devel.rtems.org/ticket/2415 2016-05-17T06:27:11 sebhub: hi 2016-05-17T06:28:06 I am seeing an assert in ../../freebsd/sys/kern/subr_sleepqueue.c:427 of '_Watchdog_Get_state(&executing->Timer.Watchdog) == WATCHDOG_INACTIVE'. Any idea what this is? 2016-05-17T06:28:15 All I did was a ping in the RTEMS shell 2016-05-17T06:39:22 [trac] #2713/defect (v:4.10) created by sebastian.huber (Bad return status from pthread_cancel()) http://devel.rtems.org/ticket/2713 2016-05-17T06:40:11 [trac] #2713/defect (closed) updated by Sebastian Huber (In [changeset:"9fd72713c9397b1e23484ad57b6ceb3523d4493c/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2713 2016-05-17T06:40:11 [git] 9fd7271 by Sebastian Huber: [posix: Fix return status of pthread_cancel() POSIX recommends ESRCH in case no thread exists for the specified identifier. Close #2713.] http://devel.rtems.org/changeset/9fd7271/rtems 2016-05-17T06:41:01 [trac] #2713/defect (closed) updated by Sebastian Huber (In [changeset:"94b1ba5aedfff76a9b42721e5109679ac9d417e2/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2713 2016-05-17T06:41:01 [git] 94b1ba5 by Sebastian Huber: [posix: Fix return status of pthread_cancel() POSIX recommends ESRCH in case no thread exists for the specified identifier. Update #2713.] http://devel.rtems.org/changeset/94b1ba5/rtems 2016-05-17T06:42:34 [trac] #2713/defect (closed) updated by Sebastian Huber (In [changeset:"e34b7a8d4021ac451bdd8bad5b1a1be30c9897f0/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2713 2016-05-17T06:42:34 [git] e34b7a8 by Sebastian Huber: [posix: Fix return status of pthread_cancel() POSIX recommends ESRCH in case no thread exists for the specified identifier. Update #2713.] http://devel.rtems.org/changeset/e34b7a8/rtems 2016-05-17T07:02:45 [git] adc819e by Sebastian Huber: [sptests/spthreadlife01: Add self delete test case] http://devel.rtems.org/changeset/adc819e/rtems 2016-05-17T07:29:22 *** MiD has joined #rtems 2016-05-17T08:20:55 *** benjamint has joined #rtems 2016-05-17T08:59:44 [trac] #2714/defect (v:4.10) created by sebastian.huber (A pthread_detach() does not lead to a resource reclamation) http://devel.rtems.org/ticket/2714 2016-05-17T09:00:36 [trac] #2714/defect (new) updated by Sebastian Huber (In [changeset:"9d8ee11e55a0c9e515409f40900917a58d3bf6cc/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2714 2016-05-17T09:00:36 [git] f014f84 by Sebastian Huber: [psxtests/psxcancel: Add resource check] http://devel.rtems.org/changeset/f014f84/rtems 2016-05-17T09:00:37 [git] 9d8ee11 by Sebastian Huber: [psxtests/psxcancel: Add pthread_detach() tests Update #2714.] http://devel.rtems.org/changeset/9d8ee11/rtems 2016-05-17T09:04:05 *** benjamint has quit IRC 2016-05-17T09:05:55 *** benjamint has joined #rtems 2016-05-17T11:36:45 [trac] #2715/defect (v:4.10) created by sebastian.huber (Wrong error return states of pthread_kill()) http://devel.rtems.org/ticket/2715 2016-05-17T11:43:26 [trac] #2715/defect (closed) updated by Sebastian Huber (In [changeset:"3c20d2810a4951a545ec2de1c21d9fdade18503a/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2715 2016-05-17T11:43:27 [git] 3c20d28 by Sebastian Huber: [posix: Fix return states of pthread_kill() POSIX mandates that an error code is returned and not -1 plus errno. Close #2715.] http://devel.rtems.org/changeset/3c20d28/rtems 2016-05-17T11:44:19 [trac] #2715/defect (closed) updated by Sebastian Huber (In [changeset:"f502882ef5dec2149baf9511e6543ce7b2884bdf/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2715 2016-05-17T11:44:19 [git] f502882 by Sebastian Huber: [posix: Fix return states of pthread_kill() POSIX mandates that an error code is returned and not -1 plus errno. Update #2715.] http://devel.rtems.org/changeset/f502882/rtems 2016-05-17T11:48:29 [trac] #2715/defect (closed) updated by Sebastian Huber (In [changeset:"d346f705e2d947f86997264d521dc67ab596ae20/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2715 2016-05-17T11:48:30 [git] d346f70 by Sebastian Huber: [posix: Fix return states of pthread_kill() POSIX mandates that an error code is returned and not -1 plus errno. Update #2715.] http://devel.rtems.org/changeset/d346f70/rtems 2016-05-17T13:57:12 *** benjamint has quit IRC 2016-05-17T14:00:17 *** benjamint has joined #rtems 2016-05-17T14:04:32 *** jkridner has quit IRC 2016-05-17T14:51:53 *** gedare_ has joined #rtems 2016-05-17T15:34:09 *** benjamint1 has joined #rtems 2016-05-17T15:36:30 *** benjamint has quit IRC 2016-05-17T15:36:30 *** benjamint1 is now known as benjamint 2016-05-17T16:39:59 *** benjamint has quit IRC 2016-05-17T16:52:06 *** gedare_ has quit IRC 2016-05-17T16:58:57 *** gedare_ has joined #rtems 2016-05-17T17:29:33 *** gedare_ has quit IRC 2016-05-17T18:06:00 *** monstr has quit IRC 2016-05-17T18:37:06 *** mumptai has joined #rtems 2016-05-17T19:05:09 *** gedare_ has joined #rtems 2016-05-17T19:25:30 *** gedare_ has quit IRC 2016-05-17T20:56:03 *** jkridner has joined #rtems 2016-05-17T21:01:57 *** mumptai has quit IRC 2016-05-17T23:32:07 *** jkridner has quit IRC 2016-05-18T02:26:49 *** gigetoo has quit IRC 2016-05-18T02:27:45 *** gigetoo has joined #rtems 2016-05-18T03:59:02 [git] f5c6651 by Chris Johns: [Add support for rc.conf(5) initialisation. Provide user support for rc.conf(5) so a user can create a suitable /etc/rc.conf file to initialise libbsd. This patch by default adds basic networking support: cloned_interfaces ifconfig_'interface' defaultrouter hostname Refer to FreeBSD documentation for examples. Users can 2016-05-18T03:59:02 make a single call to...] http://devel.rtems.org/changeset/f5c6651/rtems-libbsd 2016-05-18T04:17:33 [git] c67debb by Chris Johns: [Add rc.conf documentation.] http://devel.rtems.org/changeset/c67debb/rtems-libbsd 2016-05-18T05:06:30 *** mkhoory-2 has quit IRC 2016-05-18T05:09:21 *** mkhoory has joined #rtems 2016-05-18T05:21:19 [git] 05d47ae by Chris Johns: [Clean up whitespace.] http://devel.rtems.org/changeset/05d47ae/rtems-libbsd 2016-05-18T05:21:19 [git] f9fa038 by Chris Johns: [Fix memory leak in rc.conf processing.] http://devel.rtems.org/changeset/f9fa038/rtems-libbsd 2016-05-18T05:27:52 *** monstr has joined #rtems 2016-05-18T05:32:34 *** monstr has quit IRC 2016-05-18T05:44:49 *** monstr has joined #rtems 2016-05-18T06:32:37 [trac] #2716/defect (v:4.12) created by sebastian.huber (_POSIX_signals_Check_signal() may pass random data to sigaction handler) http://devel.rtems.org/ticket/2716 2016-05-18T07:16:16 [trac] #2717/defect (v:4.10) created by sebastian.huber (FAT images with an invalid cluster size result in an infinite loop) http://devel.rtems.org/ticket/2717 2016-05-18T08:34:42 *** benjamint has joined #rtems 2016-05-18T08:39:29 *** benjamint1 has joined #rtems 2016-05-18T08:39:40 *** benjamint has quit IRC 2016-05-18T08:39:40 *** benjamint1 is now known as benjamint 2016-05-18T08:42:00 *** benjamint has quit IRC 2016-05-18T08:43:30 *** benjamint has joined #rtems 2016-05-18T08:44:01 *** bbhoss_ has joined #rtems 2016-05-18T08:44:19 *** mithro_ has joined #rtems 2016-05-18T08:44:58 *** danieli_ has joined #rtems 2016-05-18T08:45:23 *** rokka has joined #rtems 2016-05-18T08:45:55 *** darnir has quit IRC 2016-05-18T08:45:56 *** hesham has quit IRC 2016-05-18T08:45:57 *** bbhoss has quit IRC 2016-05-18T08:45:59 *** rokka_ has quit IRC 2016-05-18T08:46:00 *** danieli has quit IRC 2016-05-18T08:46:02 *** mithro has quit IRC 2016-05-18T08:46:06 *** indy has quit IRC 2016-05-18T08:48:19 *** peerst has quit IRC 2016-05-18T08:52:27 *** bbhoss_ is now known as bbhoss 2016-05-18T08:54:16 *** indy has joined #rtems 2016-05-18T08:56:58 *** mithro_ is now known as mithro 2016-05-18T08:58:03 *** hesham has joined #rtems 2016-05-18T08:58:36 *** peerst has joined #rtems 2016-05-18T08:59:56 *** darnir has joined #rtems 2016-05-18T09:03:52 [git] 84665b5 by Chris Johns: [rc.conf: Fix the wild card regex for ifconfig_] http://devel.rtems.org/changeset/84665b5/rtems-libbsd 2016-05-18T09:03:52 [git] d8e6b4c by Chris Johns: [rc.conf: Add the net directives by default.] http://devel.rtems.org/changeset/d8e6b4c/rtems-libbsd 2016-05-18T09:11:48 [git] ae0f048 by Sebastian Huber: [psxtests/psxualarm: Avoid output in signal handler Avoid output in signal handler to not disturb the timings which are checked in this test. Use asserts to ensure proper signal handler invocations.] http://devel.rtems.org/changeset/ae0f048/rtems 2016-05-18T10:14:16 *** aj007_ has joined #rtems 2016-05-18T10:16:14 *** aj007_ has quit IRC 2016-05-18T13:56:54 *** commander has quit IRC 2016-05-18T14:03:55 *** gedare has joined #rtems 2016-05-18T14:03:56 *** ChanServ sets mode: +o gedare 2016-05-18T14:19:51 *** gedare has quit IRC 2016-05-18T14:22:17 *** gedare has joined #rtems 2016-05-18T14:22:17 *** ChanServ sets mode: +o gedare 2016-05-18T14:51:57 *** gedare has quit IRC 2016-05-18T15:50:58 *** jkridner has joined #rtems 2016-05-18T17:22:08 [trac] GSOC/2016/Imrovebsp4bbb created http://devel.rtems.org/wiki/GSOC/2016/Imrovebsp4bbb 2016-05-18T17:23:14 [trac] GSOC/2016/Imrovebsp4bbb edited by punitvara (empty comment) http://devel.rtems.org/wiki/GSOC/2016/Imrovebsp4bbb 2016-05-18T17:24:14 [trac] GSOC/2016/Imrovebsp4bbb edited by punitvara (empty comment) http://devel.rtems.org/wiki/GSOC/2016/Imrovebsp4bbb 2016-05-18T17:26:09 [trac] GSOC/2016/Imrovebsp4bbb edited by punitvara (empty comment) http://devel.rtems.org/wiki/GSOC/2016/Imrovebsp4bbb 2016-05-18T17:28:50 [trac] GSOC/2016/Imrovebsp4bbb edited by punitvara (empty comment) http://devel.rtems.org/wiki/GSOC/2016/Imrovebsp4bbb 2016-05-18T17:30:15 [trac] GSoC/2016 edited by punitvara (Updated Wiki page) http://devel.rtems.org/wiki/GSoC/2016 2016-05-18T17:44:49 *** gedare has joined #rtems 2016-05-18T17:44:50 *** ChanServ sets mode: +o gedare 2016-05-18T17:56:20 *** mumptai has joined #rtems 2016-05-18T18:01:44 *** jkridner has quit IRC 2016-05-18T18:45:22 *** monstr has quit IRC 2016-05-18T18:54:03 *** gedare has quit IRC 2016-05-18T19:01:50 *** gedare has joined #rtems 2016-05-18T19:01:50 *** ChanServ sets mode: +o gedare 2016-05-18T19:20:45 *** gedare has quit IRC 2016-05-18T20:52:49 *** mumptai has quit IRC 2016-05-19T04:22:47 *** guerby has quit IRC 2016-05-19T04:25:08 *** guerby has joined #rtems 2016-05-19T05:08:49 *** monstr has joined #rtems 2016-05-19T05:24:18 *** mumptai has joined #rtems 2016-05-19T05:51:17 *** mkhoory-2 has joined #rtems 2016-05-19T05:51:17 *** mkhoory has quit IRC 2016-05-19T06:49:44 sebhub: hi. 2016-05-19T06:49:55 hi 2016-05-19T06:50:14 Are you suggesting I replace the 'bool verbose' with a handler to the plugin? 2016-05-19T06:50:54 yes, just like in rtems_cpu_usage_report_with_plugin 2016-05-19T06:51:25 I searched the doco for an example of using it. 2016-05-19T06:51:45 It is a good idea. 2016-05-19T06:52:12 I want the output to be able to head to stderr in some cases it can be redirected at the fd level and logged. 2016-05-19T06:54:29 Ok, so the context can be the FILE* to stdout etc 2016-05-19T06:55:33 rtems_printk_plugin_t sort of implies printk to me. 2016-05-19T06:56:57 I didn't invent this name 2016-05-19T06:57:03 Ah ok. 2016-05-19T06:57:23 everything with *_t is for sure not from me 2016-05-19T06:58:46 The conext and function print is awkward. 2016-05-19T06:58:50 context 2016-05-19T06:59:53 its very useful to avoid a fprintf dependency 2016-05-19T07:00:11 this function is huge and pulls in about 60KiB of code 2016-05-19T07:01:15 What is the point of rtems_printf_plugin over printf? 2016-05-19T07:01:16 the FreeBSD kvprintf uses something similar 2016-05-19T07:02:14 the plugin has a different prototype 2016-05-19T07:03:14 Hmm ok so is this to save the cast which is present on the cpuusage report? 2016-05-19T07:04:49 the fprintf is similar enough, but printf lacks the FILE or context as first argument 2016-05-19T07:05:13 Yes I mean fprintf 2016-05-19T07:07:23 I suppose I just do not like a list of parameters to make it work. A struct with the context and function pointer means a single parameter. 2016-05-19T07:10:10 we should use the same mechanism for all functions in RTEMS which do such kind of output stuff 2016-05-19T07:10:43 or implement a proper log infrastructure 2016-05-19T07:10:56 like in FreeBSD or Linux 2016-05-19T07:11:20 More work than I can do at the moment. 2016-05-19T07:11:33 yes, sounds familiar 2016-05-19T07:13:12 What about a 'rtems_log' struct which can contain the printk function pointer and a context. Then some 'rtems_log_print' rtems_log_vprint'? 2016-05-19T07:13:30 It can be used as way to bridge the functionality. 2016-05-19T07:14:15 Hmm so what do we want with a log? A ring buffer and then rtems_log(type, fmt, ....) ? 2016-05-19T07:14:36 I would just use syslog() 2016-05-19T07:14:44 don't reinvent the wheel 2016-05-19T07:15:25 thread safe? 2016-05-19T07:15:40 interrupt safe? 2016-05-19T07:16:04 the syslog output back-end should be application configurable 2016-05-19T07:16:59 It is glued to UDP and it is in use for in applications. I hear what you are saying but I am not sure yet it is the right API for the internal RTEMS use. 2016-05-19T07:17:11 see, rtems-kernel-vprintf.c in libbsd its easier since we don't have to deal with interrupts 2016-05-19T07:18:22 you can redirect output in interrupt context to a ring buffer and empt this buffer in a task which outputs to the normal sink 2016-05-19T07:21:48 I see libbsd has 'log' 2016-05-19T07:22:44 I think we need an rtems_log interface like in FreeBSD and this is a ring buffer. 2016-05-19T07:23:11 It should be set up early and be able to do a dmesg type output. 2016-05-19T07:23:53 It is considered per line. 2016-05-19T07:24:37 I would prefer to use the syslog() function with a configurable backend, but anyway I am busy with other things currently 2016-05-19T07:24:39 this makes it simpler to organise with threads 2016-05-19T07:24:53 syslog is for users 2016-05-19T07:25:20 This is my concern. I think RTEMS's kernel and internals need something specific. 2016-05-19T07:25:35 It can be linked to syslog with all of syslog's functionality. 2016-05-19T07:25:39 why, everyone sits in the same boot in RTEMS 2016-05-19T07:26:01 *** mumptai has quit IRC 2016-05-19T07:26:06 It is like looking at malloc in FreeBSD. It is malloc but it is not malloc. 2016-05-19T07:27:02 the malloc in FreeBSD has a better interface than the C library malloc 2016-05-19T07:27:08 I do not see any extra value in syslog and for stripped back functionality for the internal RTEMS it is simpler. Otherwise syslog is stripped back and not a real syslog. 2016-05-19T07:27:38 It is not about which has more, it is about the common view of what it is. 2016-05-19T07:36:31 we don't have a user and kernel space separation in RTEMS 2016-05-19T09:51:25 [git] 2aae3a7 by Sebastian Huber: [SMP: Move lock stats to separate header file] http://devel.rtems.org/changeset/2aae3a7/rtems 2016-05-19T09:51:25 [git] a7668b2 by Sebastian Huber: [SMP: Move ticket lock to separate header file] http://devel.rtems.org/changeset/a7668b2/rtems 2016-05-19T09:51:25 [git] 26fafd5 by Sebastian Huber: [SMP: Add and use lock statistics helper] http://devel.rtems.org/changeset/26fafd5/rtems 2016-05-19T09:51:25 [git] 41ce30a by Sebastian Huber: [SMP: Add Mellor-Crummey and Scott (MCS) lock Added only for evaluation purposes. We have to compare the performance against the ticket lock on the interesting platforms via smptests/smplock01. The following GCC shortcoming affects the MCS lock: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66867] 2016-05-19T09:51:25 http://devel.rtems.org/changeset/41ce30a/rtems 2016-05-19T11:24:50 [git] 6fbc692 by Pavel Pisa: [bsps/arm: CP15 support for flush prefetch buffer and table base control.] http://devel.rtems.org/changeset/6fbc692/rtems 2016-05-19T12:06:41 *** benjamint has quit IRC 2016-05-19T12:22:09 *** benjamint has joined #rtems 2016-05-19T16:37:06 *** ita has quit IRC 2016-05-19T16:46:02 *** ita has joined #rtems 2016-05-19T17:41:33 *** monstr has quit IRC 2016-05-19T18:00:29 *** mumptai has joined #rtems 2016-05-19T18:00:49 *** gedare has joined #rtems 2016-05-19T18:00:49 *** ChanServ sets mode: +o gedare 2016-05-19T18:12:45 *** gedare has quit IRC 2016-05-19T18:26:34 *** dr__house|away has quit IRC 2016-05-19T18:26:39 *** dr__house|away has joined #rtems 2016-05-19T19:51:40 *** mumptai has quit IRC 2016-05-19T20:06:01 *** mumptai has joined #rtems 2016-05-19T20:07:34 *** mumptai has joined #rtems 2016-05-19T21:48:16 *** mumptai has quit IRC 2016-05-19T22:22:24 [git] e706a9d by Pavel Pisa: [arm/raspberrypi: ensure that RTEMS application image can be started by U-boot. The current versions of U-boot start kernel/RTEMS application image with instruction and data caches enabled and it sets exception base register to new address after its self-relocation. ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ 2016-05-19T22:22:24 mcr p15, 0, r0...] http://devel.rtems.org/changeset/e706a9d/rtems 2016-05-19T22:22:24 [git] 4b62192 by Pavel Pisa: [arm/raspberrypi: correct GPIO pin function selection. Original implementation does only bitwise-or with previous register value for all functions except IN. Switch from one to other function would lead to incorrect value.] http://devel.rtems.org/changeset/4b62192/rtems 2016-05-19T22:22:24 [git] 1258229 by Pavel Pisa: [arm/raspberrypi: add locking around GPIO pin function selection. This is required if function or direction is changed by some driver after start of thread multitasking or in interrupts drivers. There can be problem with calling GPIO function selection before data section is initialized. But actual ticket lock implementation seems 2016-05-19T22:22:24 to be compatible even wit...] http://devel.rtems.org/changeset/1258229/rtems 2016-05-19T22:22:25 [git] 33e39d3 by YANG Qiao: [arm/raspberrypi: add VideoCore mailbox support read and write] http://devel.rtems.org/changeset/33e39d3/rtems 2016-05-19T22:22:25 [git] 54c197a by YANG Qiao: [arm/raspberrypi: add VideoCore frame buffer control support] http://devel.rtems.org/changeset/54c197a/rtems 2016-05-19T22:22:26 [git] 8830bfe by Pavel Pisa: [arm/raspberrypi: add cmdline support for rpi bsp.] http://devel.rtems.org/changeset/8830bfe/rtems 2016-05-19T22:28:36 *** dipupo has joined #rtems 2016-05-19T22:31:06 *** dipupo has quit IRC 2016-05-20T04:43:13 *** monstr has joined #rtems 2016-05-20T05:29:21 *** riteshh has joined #rtems 2016-05-20T05:29:25 hi 2016-05-20T05:30:44 *** riteshh has left #rtems 2016-05-20T05:56:38 [trac] #2714/defect (new) updated by Sebastian Huber (In [changeset:"12a1228c593166069ac316f91865bdd9bb812ba1/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2714 2016-05-20T05:56:38 [git] 12a1228 by Sebastian Huber: [psxclassic01: Assume correct pthread_detach() Update #2714.] http://devel.rtems.org/changeset/12a1228/rtems 2016-05-20T05:56:47 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"e75374870375099eb097f189905be709008fb3c0/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:56:48 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"e75374870375099eb097f189905be709008fb3c0/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:56:48 [git] e753748 by Sebastian Huber: [score: Delete redundant thread life enums This makes it easier to add more states in the future. Update #2555. Update #2626.] http://devel.rtems.org/changeset/e753748/rtems 2016-05-20T05:56:57 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"b7f5e391c0c0e94e5958a294e5d38b1dda7332cc/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:56:58 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"b7f5e391c0c0e94e5958a294e5d38b1dda7332cc/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:56:58 [git] b7f5e39 by Sebastian Huber: [score: Add _Thread_Exit() The goal is to make _Thread_Exit() a no-return function in follow up patches. Update #2555. Update #2626.] http://devel.rtems.org/changeset/b7f5e39/rtems 2016-05-20T05:57:07 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"270394eef82ae584477cb9c443d4a5c8e67978eb/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:57:08 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"270394eef82ae584477cb9c443d4a5c8e67978eb/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:57:08 [git] 270394e by Sebastian Huber: [score: Avoid superfluous life protection Disable thread dispatching is enough to prevent deletion of the executing thread. There is no need for an additional life protection. Update #2555. Update #2626.] http://devel.rtems.org/changeset/270394e/rtems 2016-05-20T05:57:17 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"69c722f3f6ac84eca42e68eda0e1ed63fd3702e7/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:57:17 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"69c722f3f6ac84eca42e68eda0e1ed63fd3702e7/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:57:18 [git] 69c722f by Sebastian Huber: [score: Delete unused variable Update #2555. Update #2626.] http://devel.rtems.org/changeset/69c722f/rtems 2016-05-20T05:57:27 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"9949d8a7d042da7ba53516300db5c34c8b9c8a31/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:57:28 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"9949d8a7d042da7ba53516300db5c34c8b9c8a31/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:57:28 [git] 9949d8a by Sebastian Huber: [score: Add Thread_Change_life() Add _Thread_Change_life_locked() as a general function to alter the thread life state. Use it to implement _Thread_Set_life_protection() as a first step. Update #2555. Update #2626.] http://devel.rtems.org/changeset/9949d8a/rtems 2016-05-20T05:57:37 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"7023d82ca6bdfe7e0fa1d1c10481671dd744d894/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:57:38 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"7023d82ca6bdfe7e0fa1d1c10481671dd744d894/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:57:38 [git] 7023d82 by Sebastian Huber: [score: Add _Thread_Raise_real_priority() Update #2555. Update #2626.] http://devel.rtems.org/changeset/7023d82/rtems 2016-05-20T05:57:47 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"c99eb50b9f66e76cdd6aa0833321550c9b9e655c/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:57:48 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"c99eb50b9f66e76cdd6aa0833321550c9b9e655c/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:57:48 [git] c99eb50 by Sebastian Huber: [score: Rework _Thread_Exit() Rework _Thread_Exit() to use _Thread_Change_life_locked(). Update #2555. Update #2626.] http://devel.rtems.org/changeset/c99eb50/rtems 2016-05-20T05:57:57 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"232147ddc12d45ff7872f72a790077c26fe5ca0a/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:57:58 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"232147ddc12d45ff7872f72a790077c26fe5ca0a/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:57:58 [git] 232147d by Sebastian Huber: [score: Add _Thread_Join() and _Thread_Cancel() Split _Thread_Close() into _Thread_Join() and _Thread_Cancel() to prepare for a re-use in pthread_join() and pthread_cancel(). Update #2555. Update #2626.] http://devel.rtems.org/changeset/232147d/rtems 2016-05-20T05:58:07 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"9a99ce15d0878d847b4c7e054eb2996a9f5fbc34/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:58:08 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"9a99ce15d0878d847b4c7e054eb2996a9f5fbc34/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:58:08 [git] 9a99ce1 by Sebastian Huber: [score: Add _Thread_Set_state_locked() This makes it possible to do thread state and thread life changes together under protection of the thread state lock. Update #2555. Update #2626.] http://devel.rtems.org/changeset/9a99ce1/rtems 2016-05-20T05:58:17 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"f410ea82a4b9d5609ce170d2aa09027b5a7c4c50/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:58:18 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"f410ea82a4b9d5609ce170d2aa09027b5a7c4c50/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:58:18 [git] f410ea8 by Sebastian Huber: [score: Add _Thread_Clear_state_locked() This makes it possible to do thread state and thread life changes together under protection of the thread state lock. Update #2555. Update #2626.] http://devel.rtems.org/changeset/f410ea8/rtems 2016-05-20T05:58:27 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"0475cca9a015a7b43209270ca6e40aebf177639a/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:58:28 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"0475cca9a015a7b43209270ca6e40aebf177639a/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:58:28 [git] 0475cca by Sebastian Huber: [score: Add _Thread_Dispatch_disable_with_CPU() Update #2555. Update #2626.] http://devel.rtems.org/changeset/0475cca/rtems 2016-05-20T05:58:37 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"938839077741d2eac82d9d86705c16e0b9de8379/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:58:37 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"938839077741d2eac82d9d86705c16e0b9de8379/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:58:38 [git] 9388390 by Sebastian Huber: [score: Split _Thread_Restart() Split _Thread_Restart() into _Thread_Restart_self() and _Thread_Restart_other(). Move content of existing _Thread_Restart_self() into new _Thread_Restart_self(). Avoid Giant lock for thread restart. _Thread_Restart_self() is a no-return function and used by _Thread_Global_construction(). 2016-05-20T05:58:38 Update #2555. Update #2626.] http://devel.rtems.org/changeset/9388390/rtems 2016-05-20T05:58:47 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"862a0eeb1197539c0e69381cb5aaccb9e1c64c0f/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:58:48 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"862a0eeb1197539c0e69381cb5aaccb9e1c64c0f/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:58:48 [git] 862a0ee by Sebastian Huber: [score: Rework _Thread_Restart_other() Rework _Thread_Restart_other() to use _Thread_Change_life_locked(). Cope with concurrent change requests by means of a pending request counter. Update #2555. Update #2626.] http://devel.rtems.org/changeset/862a0ee/rtems 2016-05-20T05:58:58 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"ef09017ebb6ac9c1309df4e827b240c14e6dbaa9/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:58:59 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"ef09017ebb6ac9c1309df4e827b240c14e6dbaa9/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:58:59 [git] ef09017 by Sebastian Huber: [score: Rework _Thread_Cancel() Rework _Thread_Cancel() to use _Thread_Change_life_locked(). Update #2555. Update #2626.] http://devel.rtems.org/changeset/ef09017/rtems 2016-05-20T05:59:08 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"29e1ecab875c3121357f27e0676913d9ca96183f/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:59:09 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"29e1ecab875c3121357f27e0676913d9ca96183f/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:59:09 [git] 29e1eca by Sebastian Huber: [score: Simplify _Thread_Life_action_handler() Use _Thread_Change_life_locked() to avoid duplicated code. Avoid Giant lock in _Thread_Life_action_handler(). Update #2555. Update #2626.] http://devel.rtems.org/changeset/29e1eca/rtems 2016-05-20T05:59:19 [trac] #2402/defect (closed) updated by Sebastian Huber (In [changeset:"54550e048d3a49435912797d2024f80671e93267/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2402 2016-05-20T05:59:19 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"54550e048d3a49435912797d2024f80671e93267/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:59:19 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"54550e048d3a49435912797d2024f80671e93267/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:59:19 [trac] #2714/defect (closed) updated by Sebastian Huber (In [changeset:"54550e048d3a49435912797d2024f80671e93267/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2714 2016-05-20T05:59:20 [git] 54550e0 by Sebastian Huber: [posix: Rework pthread_join() Rework pthread_join() to use _Thread_Join(). Close #2402. Update #2555. Update #2626. Close #2714.] http://devel.rtems.org/changeset/54550e0/rtems 2016-05-20T05:59:29 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"33829ce155069462ba410d396da431386369ed08/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:59:30 [git] 33829ce by Sebastian Huber: [score: Avoid Giant lock for _Thread_Start() Update #2555.] http://devel.rtems.org/changeset/33829ce/rtems 2016-05-20T05:59:39 [trac] #2626/enhancement (new) updated by Sebastian Huber (In [changeset:"da82656065d09f7b6aa411ba361287afdd787204/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2626 2016-05-20T05:59:40 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"da82656065d09f7b6aa411ba361287afdd787204/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:59:40 [git] da82656 by Sebastian Huber: [posix: Rework thread cancellation Add Thread_Life_state::THREAD_LIFE_CHANGE_DEFERRED and rework the POSIX thread cancellation to use the thread life states. Update #2555. Update #2626.] http://devel.rtems.org/changeset/da82656/rtems 2016-05-20T05:59:50 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"64fe16636b45d7a3d64654707234b885f7ccbaf6/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T05:59:50 [git] 64fe166 by Sebastian Huber: [posix: Avoid Giant lock for pthread_kill() Update #2555.] http://devel.rtems.org/changeset/64fe166/rtems 2016-05-20T06:00:00 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"f36ada320dc075503a2c878bc4f9f7ff9d761d41/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T06:00:01 [git] f36ada3 by Sebastian Huber: [rtems: Avoid Giant lock for rtems_task_delete() Update #2555.] http://devel.rtems.org/changeset/f36ada3/rtems 2016-05-20T06:00:10 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"92f6883073126f96973252cd57a5c7e24d88d412/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T06:00:10 [git] 92f6883 by Sebastian Huber: [sptests/spintrcritical22: Avoid _Objects_Get() Use _Semaphore_Get_interrupt_disable() instead. Update #2555.] http://devel.rtems.org/changeset/92f6883/rtems 2016-05-20T06:00:19 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"5eac967651866b0501593dcfea458452ef9e9128/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T06:00:20 [git] 5eac967 by Sebastian Huber: [testsuites: Replace _Thread_Get() Replace _Thread_Get() with _Thread_Get_interrupt_disable() to avoid the Giant lock. Update #2555.] http://devel.rtems.org/changeset/5eac967/rtems 2016-05-20T06:00:29 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"23294fd2255031eefe708075064f58bf54d43279/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T06:00:30 [git] 23294fd by Sebastian Huber: [score: Delete unused _Thread_Get() Update #2555.] http://devel.rtems.org/changeset/23294fd/rtems 2016-05-20T06:00:39 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"ee710ef483b76ebbd54cdc8fac05a228d9ef30ff/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T06:00:39 [git] ee710ef by Sebastian Huber: [score: Delete unused _Objects_Get() Update #2555.] http://devel.rtems.org/changeset/ee710ef/rtems 2016-05-20T06:00:49 [trac] #2280/defect (new) updated by Sebastian Huber (In [changeset:"b80156cf15a9e080e8608a30e3e2795211c03f3e/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2280 2016-05-20T06:00:49 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"b80156cf15a9e080e8608a30e3e2795211c03f3e/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T06:00:50 [git] b80156c by Sebastian Huber: [score: Avoid Giant _Objects_Extend_information() Avoid Giant lock for _Objects_Extend_information(). Update #2280. Update #2555.] http://devel.rtems.org/changeset/b80156c/rtems 2016-05-20T06:00:59 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"dab902d5b2688fe958118299f7d44d1adbf13878/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T06:01:00 [git] dab902d by Sebastian Huber: [testsuites: Avoid Giant lock Replace _Thread_Disable_dispatch() with _Thread_Dispatch_disable(). Replace _Thread_Enable_dispatch() with _Thread_Dispatch_enable(). This is a preparation to remove the Giant lock. Update #2555.] http://devel.rtems.org/changeset/dab902d/rtems 2016-05-20T06:01:09 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"d2bacb6c38c2bc0e47524b943200e16ad3c26bd8/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T06:01:10 [git] d2bacb6 by Sebastian Huber: [score: _Thread_Dispatch_increment_disable_level() Avoid _Thread_Dispatch_increment_disable_level() and _Thread_Dispatch_decrement_disable_level() and thus the Giant lock. This is a preparation to remove the Giant lock. Update #2555.] http://devel.rtems.org/changeset/d2bacb6/rtems 2016-05-20T06:01:19 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"4b04cb61552dbaa1a42a64e2f7b823708127e488/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T06:01:20 [git] 4b04cb6 by Sebastian Huber: [score: Rename _ISR_Disable_without_giant() Rename _ISR_Disable_without_giant() into _ISR_Local_disable(). Rename _ISR_Enable_without_giant() into _ISR_Local_enable(). This is a preparation to remove the Giant lock. Update #2555.] http://devel.rtems.org/changeset/4b04cb6/rtems 2016-05-20T06:01:29 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"247131632173158cb2668d4e5c7464951b668067/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T06:01:29 [git] 2471316 by Sebastian Huber: [score: Rename _ISR_Disable() and _ISR_Enable() Rename _ISR_Disable() into _ISR_Local_disable(). Rename _ISR_Enable() into _ISR_Local_enable(). Remove _Debug_Is_owner_of_giant(). This is a preparation to remove the Giant lock. Update #2555.] http://devel.rtems.org/changeset/2471316/rtems 2016-05-20T06:01:39 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"c2f301b580ebb4a46d657651a814bc9348103546/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T06:01:39 [git] c2f301b by Sebastian Huber: [score: Rename _ISR_Flash() into _ISR_Local_flash() This is a preparation to remove the Giant lock. Update #2555.] http://devel.rtems.org/changeset/c2f301b/rtems 2016-05-20T06:01:49 [trac] #2555/enhancement (accepted) updated by Sebastian Huber (In [changeset:"ceb0f6597c36fabbfcbdf0807fd87dd03a45cc5e/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2555 2016-05-20T06:01:49 [git] ceb0f65 by Sebastian Huber: [score: Remove the Giant lock Update #2555.] http://devel.rtems.org/changeset/ceb0f65/rtems 2016-05-20T06:01:58 [trac] #2717/defect (closed) updated by Sebastian Huber (In [changeset:"452b7f83c43d85505c2027e9ec60454d6e4f6827/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2717 2016-05-20T06:01:59 [git] 452b7f8 by Sebastian Huber: [fat: Fix for invalid cluster sizes A cluster size > 32KiB resulted in an infinite loop in fat_init_volume_info() due to an integer overflow. Close #2717.] http://devel.rtems.org/changeset/452b7f8/rtems 2016-05-20T06:14:54 [trac] #2717/defect (closed) updated by Sebastian Huber (In [changeset:"276dfd9f3db086eb5ee7099f7744f58d36ac8e8e/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2717 2016-05-20T06:14:54 [git] 276dfd9 by Sebastian Huber: [fat: Fix for invalid cluster sizes A cluster size > 32KiB resulted in an infinite loop in fat_init_volume_info() due to an integer overflow. Update #2717.] http://devel.rtems.org/changeset/276dfd9/rtems 2016-05-20T06:15:43 [trac] #2717/defect (closed) updated by Sebastian Huber (In [changeset:"6adad1e70ad24f1c59b06ed91c8c609b26d946d5/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2717 2016-05-20T06:15:43 [git] 6adad1e by Sebastian Huber: [fat: Fix for invalid cluster sizes A cluster size > 32KiB resulted in an infinite loop in fat_init_volume_info() due to an integer overflow. Update #2717.] http://devel.rtems.org/changeset/6adad1e/rtems 2016-05-20T06:16:52 [trac] #2717/defect (closed) updated by sebastian.huber (empty comment) http://devel.rtems.org/ticket/2717 2016-05-20T06:18:58 [trac] #2626/enhancement (closed) updated by sebastian.huber (empty comment) http://devel.rtems.org/ticket/2626 2016-05-20T06:27:46 *** rtems-irc` has joined #rtems 2016-05-20T06:28:28 *** rtems-irc has quit IRC 2016-05-20T06:55:50 sebhub: hi 2016-05-20T06:55:57 hi chris 2016-05-20T06:56:15 With rtems_blkstats it pulls in fprintf 2016-05-20T06:56:33 Do you want me to clean this up and remove those calls? 2016-05-20T06:56:54 It might break an app that makes the call. 2016-05-20T06:57:26 yes, please fix this if you have the time 2016-05-20T06:58:01 I am cleaning it up, I cannot bring myself to commit an untar patch with the plugin hacks 2016-05-20T07:11:12 hmm rather interesting bug, some code returns the length printed and printk does not so the plugin my plug but it would not always work, see top for a reason why 2016-05-20T07:28:26 sebhub: with tests how is the printf and printk handled for normal printing? 2016-05-20T07:28:46 I see *_begin( and *_begink( etc 2016-05-20T07:36:47 in some tests you cannot use printf 2016-05-20T07:37:31 at some point in time we need a proper testing framework 2016-05-20T07:41:49 Yes I agree 2016-05-20T07:53:10 I see there printk is used. I make this simpler to use for tests. 2016-05-20T07:53:19 there -> where 2016-05-20T08:04:43 sebhub: what is fiprintf? 2016-05-20T08:05:23 an fprintf without floating-point support 2016-05-20T08:05:31 a Newlib feature 2016-05-20T08:05:35 Ah ok. 2016-05-20T08:06:22 Hmm puts calls printf 2016-05-20T08:06:53 Only the test's begin and end messages use it. 2016-05-20T08:07:20 Oh I see printf is changed. 2016-05-20T08:09:48 Why is the plugin stuff being used in the tests given the tests are conditionally compiled anyway? 2016-05-20T08:12:08 what do you mean with conditionally compiled? 2016-05-20T08:12:19 if defined(TESTS_USE_PRINTK) etc 2016-05-20T08:12:34 the begin/end stuff is in cpukit 2016-05-20T08:12:53 Yes. Why not make them string pointers 2016-05-20T08:12:57 to the message 2016-05-20T08:13:16 printk(...begin_message()) 2016-05-20T08:15:27 Either the plugin interface is made to work and handle this stuff or it is conditional and looking at the code the buffered etc is all working so conditional seems fine. 2016-05-20T08:16:29 eg #define TEST_BEGIN() printk(rtems_test_begin_message()) 2016-05-20T08:18:03 or a better version "#define TEST_BEGIN() printk(rtems_test_begin_message(), rtems_test_name) " 2016-05-20T08:35:20 I think non-const format strings are a no-go 2016-05-20T08:37:27 what is the problem with the plugin? 2016-05-20T08:38:06 It does not make sense cause all you are doing is setting a plug based on a conditional define where the line above is a direct call. 2016-05-20T08:40:16 currently it is rtems_test_begin() vs. rtems_test_begink() 2016-05-20T08:41:04 actually this is is all a hack 2016-05-20T08:41:36 we need a proper testing framework and it will hopefully look completely different 2016-05-20T08:42:07 I agree and I do not wish to invest a lot of time in this area. 2016-05-20T08:42:17 I added this stuff to get uniform begin/end of test messages that can be used by scripts to see how many tests failed 2016-05-20T08:42:41 All I am doing is moving the string to a function. Nothing more. 2016-05-20T08:43:46 returning a format string is bad 2016-05-20T08:44:18 Making the format string a define? 2016-05-20T08:44:30 Making the whole string a define? 2016-05-20T08:45:00 #define TEST_BEGIN_STRING "abd %s xya", rtems_test_name 2016-05-20T08:45:02 ? 2016-05-20T08:45:45 If we start picking holes in this stuff we will be here for months :) 2016-05-20T08:45:56 yes, this is better 2016-05-20T08:46:14 better than the function returning a format string 2016-05-20T08:46:21 Yeah I agree. 2016-05-20T08:46:46 I have sent you privately a patch for a quick check. Please ignore that bit. 2016-05-20T08:47:01 I just need a sort of ok before I invest more time in this 2016-05-20T08:47:33 I think the cpukit clean up is ok. It makes the code look a lot better and hides the plugin stuff 2016-05-20T08:51:08 this bspIo.h stuff might be used by applications 2016-05-20T08:52:01 There is no documentation on it. 2016-05-20T08:52:32 ok, if you break the API, the please get rid of the *_t types, the *_t is reserved by POSIX 2016-05-20T08:52:35 The only change which breaks anyone is the removal of the k in printk in the handler name, 2016-05-20T08:52:48 I was hoping you would ask me to :) 2016-05-20T08:53:49 I should clean the RFS of it as well. 2016-05-20T08:55:14 Hmm not used 2016-05-20T08:55:42 I would rename rtems_print() into rtems_printf() 2016-05-20T08:55:52 and its a bit big for inlining 2016-05-20T08:56:10 But it is not printf it is printk and printk and fprint and ... 2016-05-20T08:56:25 but its a formatted print 2016-05-20T08:56:34 OK. 2016-05-20T08:56:43 Yes inlined for get something quick 2016-05-20T08:56:50 I will move those to separate files etc 2016-05-20T08:56:55 ok, nice 2016-05-20T08:56:59 looks good 2016-05-20T08:57:15 Wanted to see how it worked out before I play nice games with make stuff 2016-05-20T08:57:23 Good. 2016-05-20T08:57:31 i would reduce the empty check to the printer function only 2016-05-20T08:58:39 maybe we add the printflike attributes so that we get format argument checking 2016-05-20T08:58:42 I wondered about this but it does short circuit the code and for a do not show is saves some cycles. Then again do not make the call if you do not want output 2016-05-20T08:58:56 Oh yes a really good idea. 2016-05-20T08:59:37 The empty check means the untar can be on or off and be lightweight 2016-05-20T09:00:12 the empty check is ok, but i would only check the printer 2016-05-20T09:00:20 I need to search all the code and make sure I have covered all usages 2016-05-20T09:00:30 Yes I agree. 2016-05-20T09:00:41 This what I wanted for untar 2016-05-20T09:01:08 All this comes from wanting this feature and the separated args makes that difficult. 2016-05-20T09:01:24 I will also add some doco on this to the C user guide 2016-05-20T12:10:08 *** cdesai has quit IRC 2016-05-20T12:18:51 *** cdesai has joined #rtems 2016-05-20T13:26:15 *** gedare_ has joined #rtems 2016-05-20T14:00:51 *** xenthree3 has joined #rtems 2016-05-20T14:00:52 *** xenthree3 has left #rtems 2016-05-20T14:01:49 *** monstr has quit IRC 2016-05-20T14:04:53 Building the realview_pbx_a9_qemu_smp BSP fails because rtems/score/smplockstats.h does not exist. I used a fresh clone of the repository and a new build tree to try this. 2016-05-20T14:10:03 do a bootstrap or use "make preinstall" after an update 2016-05-20T14:11:00 I did a bootstrap. Will try with a make preinstall 2016-05-20T14:11:54 if you have a build tree with --enable-maintainer-mode, then a "make preinstall" should be done after a source update 2016-05-20T14:13:25 [trac] #2556/enhancement (accepted) updated by Sebastian Huber (In [changeset:"7dfb4b970cbd22cef170b2f45a41f445406a2ce5/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2556 2016-05-20T14:13:26 [git] 7dfb4b9 by Sebastian Huber: [score: Add per scheduler instance maximum priority The priority values are only valid within a scheduler instance. Thus, the maximum priority value must be defined per scheduler instance. The first scheduler instance defines PRIORITY_MAXIMUM. This implies that RTEMS_MAXIMUM_PRIORITY and POSIX_SCHEDULER_MAXIMUM_PRIORITY are 2016-05-20T14:13:26 only valid for threads of...] http://devel.rtems.org/changeset/7dfb4b9/rtems 2016-05-20T14:13:35 [trac] #2556/enhancement (accepted) updated by Sebastian Huber (In [changeset:"8a040fe4eeb9f7ba5c9f95f8abd45b9b6d5f7c4b/rtems"]: {{{ ...) http://devel.rtems.org/ticket/2556 2016-05-20T14:13:36 [git] 8a040fe by Sebastian Huber: [score: Use _RBTree_Insert_inline() Use _RBTree_Insert_inline() for priority thread queues. Update #2556.] http://devel.rtems.org/changeset/8a040fe/rtems 2016-05-20T14:17:36 [git] 05f9b02 by Sebastian Huber: [posix: Add and use _POSIX_Get_object_body()] http://devel.rtems.org/changeset/05f9b02/rtems 2016-05-20T14:17:45 [git] 28ba7e2 by Sebastian Huber: [posix: Remove dead code and shrink comment] http://devel.rtems.org/changeset/28ba7e2/rtems 2016-05-20T14:17:54 [git] 0cc91da by Sebastian Huber: [score: Delete unused _Objects_Get_local_object()] http://devel.rtems.org/changeset/0cc91da/rtems 2016-05-20T14:18:04 [git] 61340d1 by Sebastian Huber: [score: Add const to _RBTree_Find_inline()] http://devel.rtems.org/changeset/61340d1/rtems 2016-05-20T14:18:13 [git] 0cc6071 by Sebastian Huber: [posix: Add const to _POSIX_Keys_Key_value_find()] http://devel.rtems.org/changeset/0cc6071/rtems 2016-05-20T14:18:22 [git] 956b8e5 by Sebastian Huber: [mpci: Simplify _Objects_MP_Is_remote()] http://devel.rtems.org/changeset/956b8e5/rtems 2016-05-20T14:18:31 [git] 516ee75 by Sebastian Huber: [mpci: Delete unused region support] http://devel.rtems.org/changeset/516ee75/rtems 2016-05-20T14:18:41 [git] 0a00b2b by Sebastian Huber: [rtems: Remove location from _Partition_Get() Use _Objects_Get_local() for _Partition_Get() to get rid of the location parameter. Move remote object handling to partition MPCI support.] http://devel.rtems.org/changeset/0a00b2b/rtems 2016-05-20T14:18:50 [git] 641b44c by Sebastian Huber: [rtems: _Message_queue_Get_interrupt_disable() Use _Objects_Get_local() for _Message_queue_Get_interrupt_disable() to get rid of the location parameter. Move remote object handling to message queue MPCI support.] http://devel.rtems.org/changeset/641b44c/rtems 2016-05-20T14:19:00 [git] 62c528e by Sebastian Huber: [rtems: _Semaphore_Get_interrupt_disable() Use _Objects_Get_local() for _Semaphore_Get_interrupt_disable() to get rid of the location parameter. Move remote object handling to semaphore MPCI support.] http://devel.rtems.org/changeset/62c528e/rtems 2016-05-20T14:19:10 [git] 4bae341 by Sebastian Huber: [score: Delete unused _Objects_Get_isr_disable() Delete now unused Objects_Locations.] http://devel.rtems.org/changeset/4bae341/rtems 2016-05-20T14:19:21 [git] 582bb23 by Sebastian Huber: [score: Rename _Objects_Get_local() Rename _Objects_Get_local() into _Objects_Get(). Confusions with the previous _Objects_Get() function are avoided since the Objects_Locations parameter is gone.] http://devel.rtems.org/changeset/582bb23/rtems 2016-05-20T14:19:27 sebhub: I'm guessing I don't need to run autoreconf then 2016-05-20T14:19:30 [git] e266d13 by Sebastian Huber: [Replace *_Get_interrupt_disable() with *_Get() Uniformly use *_Get() to get an object by identifier with a lock context.] http://devel.rtems.org/changeset/e266d13/rtems 2016-05-20T14:19:40 [git] bdb3b7f by Sebastian Huber: [score: _CORE_semaphore_Seize() Delete unused parameter.] http://devel.rtems.org/changeset/bdb3b7f/rtems 2016-05-20T14:21:00 *** icarus330 has joined #rtems 2016-05-20T14:21:01 *** icarus330 has left #rtems 2016-05-20T14:27:15 *** wallento has left #rtems 2016-05-20T14:31:06 *** sebhub has quit IRC 2016-05-20T15:09:48 *** gedare_ has quit IRC 2016-05-20T15:11:07 *** gedare_ has joined #rtems 2016-05-20T15:21:03 *** guillaum1 has quit IRC 2016-05-20T15:33:06 *** gedare_ has quit IRC 2016-05-20T15:36:38 *** guillaum1 has joined #rtems 2016-05-20T17:05:35 *** mumptai has joined #rtems 2016-05-20T21:12:41 [trac] #2438/defect (new) updated by ppisa (For archival purpose store there my idea from the list If the area is smaller ...) http://devel.rtems.org/ticket/2438 2016-05-21T01:07:44 *** diginet2 has quit IRC 2016-05-21T03:12:06 *** lcpfnvcy has quit IRC 2016-05-21T05:18:03 *** mumptai has quit IRC 2016-05-21T07:38:10 *** lcpfnvcy has joined #rtems 2016-05-21T12:30:29 *** dougk_ has quit IRC 2016-05-21T13:07:38 *** dougk_ has joined #rtems 2016-05-21T13:28:20 *** dougk_ has quit IRC 2016-05-21T13:41:25 *** dougk_ has joined #rtems 2016-05-21T13:50:58 *** Noslac has joined #rtems 2016-05-21T13:54:42 *** Noslac has quit IRC 2016-05-21T14:12:35 *** diginet2 has joined #rtems 2016-05-21T19:21:26 *** mkhoory-2 has quit IRC 2016-05-21T19:21:44 *** mkhoory-2 has joined #rtems 2016-05-21T23:45:39 [trac] GSoC/2016 edited by Sambeet (empty comment) http://devel.rtems.org/wiki/GSoC/2016 2016-05-22T06:57:02 *** mumptai has joined #rtems 2016-05-22T10:35:28 *** mkhoory-2 has quit IRC 2016-05-22T15:07:52 [trac] GSoC/2016/RTEMS improvement for Jailhouse hypervisor edited by hwj1593 (empty comment) http://devel.rtems.org/wiki/GSoC/2016/RTEMS improvement for Jailhouse hypervisor 2016-05-22T22:00:22 *** mumptai has quit IRC 2016-05-22T22:35:52 [trac] GSoC/2016/LwIPwithRTEMS edited by ppisa (Asd link to RTEMS lwIP support page with problem analysis) http://devel.rtems.org/wiki/GSoC/2016/LwIPwithRTEMS