2012-08-27T00:53:47 *** arvind_khadri has joined #rtems 2012-08-27T01:43:12 *** QingPei has joined #rtems 2012-08-27T01:44:07 *** peerst_ has joined #rtems 2012-08-27T01:45:09 *** peerst has quit IRC (Ping timeout: 260 seconds) 2012-08-27T01:45:09 *** peerst_ is now known as peerst 2012-08-27T03:09:47 *** peerst has quit IRC (Quit: peerst) 2012-08-27T04:03:10 *** QingPei has left #rtems 2012-08-27T06:11:29 *** peerst has joined #rtems 2012-08-27T06:20:33 *** peerst has quit IRC (Read error: Connection reset by peer) 2012-08-27T06:20:41 *** peerst has joined #rtems 2012-08-27T06:28:37 *** peerst has quit IRC (Quit: peerst) 2012-08-27T07:06:42 *** deb has joined #rtems 2012-08-27T07:43:12 *** peerst has joined #rtems 2012-08-27T08:14:09 *** krzysiekm13 has joined #rtems 2012-08-27T08:37:34 *** peerst has quit IRC (Quit: peerst) 2012-08-27T08:53:55 *** peerst has joined #rtems 2012-08-27T09:01:47 *** QingPei has joined #rtems 2012-08-27T09:24:10 *** peerst has quit IRC (Quit: peerst) 2012-08-27T09:25:18 *** peerst has joined #rtems 2012-08-27T09:27:49 *** deb has quit IRC (Quit: Leaving) 2012-08-27T09:39:39 *** arvind_khadri has quit IRC (Ping timeout: 244 seconds) 2012-08-27T09:50:51 *** alseh has quit IRC (Ping timeout: 276 seconds) 2012-08-27T10:39:22 *** krzysiekm13 has left #rtems 2012-08-27T10:48:17 *** QingPei has left #rtems 2012-08-27T12:01:56 *** kuzew_ has joined #rtems 2012-08-27T12:06:36 *** kuzew has quit IRC (*.net *.split) 2012-08-27T12:24:25 *** xiangfu has quit IRC (Ping timeout: 272 seconds) 2012-08-27T12:32:22 *** peerst has joined #rtems 2012-08-27T12:49:54 *** peerst has quit IRC (Quit: peerst) 2012-08-27T15:56:16 *** deb has joined #rtems 2012-08-27T16:49:18 *** peerst has joined #rtems 2012-08-27T17:26:48 *** deb has joined #rtems 2012-08-27T21:21:30 *** xiangfu has joined #rtems 2012-08-27T21:26:59 *** xiangfu has quit IRC (Ping timeout: 260 seconds) 2012-08-27T21:34:54 *** xiangfu has joined #rtems 2012-08-27T22:03:29 *** kuzew_ is now known as kuzew 2012-08-27T22:48:32 *** deb has quit IRC (Quit: Leaving) 2012-08-28T00:08:45 *** krzysiekm13 has joined #rtems 2012-08-28T00:37:07 *** krzysiekm13 has quit IRC (Quit: Leaving.) 2012-08-28T00:57:55 *** arvind_khadri has joined #rtems 2012-08-28T01:46:13 *** krzysiekm13 has joined #rtems 2012-08-28T02:05:35 *** alseh has joined #rtems 2012-08-28T02:35:47 *** alseh has quit IRC (Remote host closed the connection) 2012-08-28T04:45:15 *** arvind_khadri has quit IRC (Quit: Leaving) 2012-08-28T04:45:28 *** arvind_khadri has joined #rtems 2012-08-28T06:30:03 *** xiangfu has quit IRC (Ping timeout: 246 seconds) 2012-08-28T06:40:54 *** peerst has quit IRC (Read error: Connection reset by peer) 2012-08-28T06:40:59 *** peerst_ has joined #rtems 2012-08-28T07:14:26 *** peerst_ has quit IRC (Quit: peerst_) 2012-08-28T07:15:22 *** peerst has joined #rtems 2012-08-28T07:27:04 *** peerst_ has joined #rtems 2012-08-28T07:29:47 *** peerst has quit IRC (Ping timeout: 252 seconds) 2012-08-28T07:29:47 *** peerst_ is now known as peerst 2012-08-28T08:39:55 *** weiY has joined #rtems 2012-08-28T09:08:06 *** xiangfu has joined #rtems 2012-08-28T09:22:37 *** QingPei has joined #rtems 2012-08-28T09:27:40 *** weiY has quit IRC (Ping timeout: 256 seconds) 2012-08-28T09:29:11 *** QingPei has left #rtems 2012-08-28T09:51:21 *** xiangfu has quit IRC (Ping timeout: 272 seconds) 2012-08-28T09:53:33 *** arvind_khadri has quit IRC (Ping timeout: 244 seconds) 2012-08-28T10:04:38 *** krzysiekm13 has left #rtems 2012-08-28T10:55:27 *** alseh has joined #rtems 2012-08-28T14:29:13 *** Hesham has joined #rtems 2012-08-28T14:56:24 *** deb has joined #rtems 2012-08-28T15:51:28 *** Hesham1 has joined #rtems 2012-08-28T15:54:42 *** Hesham has quit IRC (Ping timeout: 256 seconds) 2012-08-28T16:23:11 *** alseh has quit IRC (Remote host closed the connection) 2012-08-28T16:34:52 *** deb has quit IRC (Quit: Leaving) 2012-08-28T16:48:59 *** Hesham has joined #rtems 2012-08-28T16:52:00 *** Hesham1 has quit IRC (Ping timeout: 252 seconds) 2012-08-28T16:53:33 *** Hesham has quit IRC (Ping timeout: 260 seconds) 2012-08-28T16:55:07 *** Hesham has joined #rtems 2012-08-28T17:27:50 *** Hesham has quit IRC (Ping timeout: 240 seconds) 2012-08-28T20:47:55 *** xiangfu has joined #rtems 2012-08-28T21:42:58 *** QingPei has joined #rtems 2012-08-28T21:43:34 *** jahf has quit IRC (Ping timeout: 246 seconds) 2012-08-28T21:44:22 *** jahf has joined #rtems 2012-08-28T22:08:47 *** kiwichris_ has quit IRC (Quit: This computer has gone to sleep) 2012-08-28T23:16:39 *** kiwichris has joined #rtems 2012-08-28T23:30:06 *** xiangfu has quit IRC (Ping timeout: 264 seconds) 2012-08-28T23:53:21 *** kiwichris has quit IRC (Quit: This computer has gone to sleep) 2012-08-29T00:33:04 *** kiwichris has joined #rtems 2012-08-29T00:38:43 *** xiangfu has joined #rtems 2012-08-29T00:44:04 *** Hesham has joined #rtems 2012-08-29T01:09:39 *** arvind_khadri has joined #rtems 2012-08-29T01:13:41 *** Hesham has quit IRC (Quit: Leaving.) 2012-08-29T02:04:37 *** krzysiekm13 has joined #rtems 2012-08-29T02:52:31 *** krzysiekm13 has quit IRC (Read error: Connection reset by peer) 2012-08-29T04:07:20 *** QingPei has left #rtems 2012-08-29T07:30:01 *** peerst_ has joined #rtems 2012-08-29T07:30:08 *** peerst has quit IRC (Ping timeout: 245 seconds) 2012-08-29T07:30:08 *** peerst_ is now known as peerst 2012-08-29T09:04:18 *** xiangfu has quit IRC (Ping timeout: 264 seconds) 2012-08-29T09:54:36 *** arvind_khadri has quit IRC (Ping timeout: 245 seconds) 2012-08-29T09:54:41 *** krzysiekm13 has joined #rtems 2012-08-29T10:03:43 *** krzysiekm13 has left #rtems 2012-08-29T10:12:05 *** deb has joined #rtems 2012-08-29T10:35:16 *** QingPei has joined #rtems 2012-08-29T11:27:32 *** QingPei has quit IRC (Ping timeout: 248 seconds) 2012-08-29T12:16:54 *** Hesham1 has joined #rtems 2012-08-29T12:23:31 *** Hesham2 has joined #rtems 2012-08-29T12:24:18 *** Hesham1 has quit IRC (Ping timeout: 245 seconds) 2012-08-29T13:43:40 *** alseh has joined #rtems 2012-08-29T13:58:47 *** Hesham2 has quit IRC (Quit: Leaving.) 2012-08-29T14:49:45 *** Hesham1 has joined #rtems 2012-08-29T15:19:10 *** Hesham1 has quit IRC (Quit: Leaving.) 2012-08-29T15:29:32 *** Hesham1 has joined #rtems 2012-08-29T16:27:00 *** Hesham1 has quit IRC (Quit: Leaving.) 2012-08-29T18:21:01 *** deb has quit IRC (Quit: Leaving) 2012-08-29T19:19:48 *** jahf has quit IRC (Ping timeout: 240 seconds) 2012-08-29T19:20:58 *** jahf has joined #rtems 2012-08-29T20:10:01 *** xiangfu has joined #rtems 2012-08-29T22:55:02 *** QingPei has joined #rtems 2012-08-30T00:40:05 *** alseh has quit IRC (Remote host closed the connection) 2012-08-30T01:36:35 *** krzysiekm13 has joined #rtems 2012-08-30T01:37:20 *** arvind_khadri has joined #rtems 2012-08-30T01:40:12 *** arvind_khadri has joined #rtems 2012-08-30T02:32:45 *** krzysiekm13 has left #rtems 2012-08-30T04:08:17 *** QingPei has quit IRC (Quit: Leaving.) 2012-08-30T06:14:07 *** krzysiekm13 has joined #rtems 2012-08-30T07:21:23 *** krzysiekm13 has quit IRC (Ping timeout: 245 seconds) 2012-08-30T07:28:08 *** peerst_ has joined #rtems 2012-08-30T07:30:24 *** peerst has quit IRC (Ping timeout: 265 seconds) 2012-08-30T07:30:25 *** peerst_ is now known as peerst 2012-08-30T08:17:00 *** jenniferA has joined #rtems 2012-08-30T09:19:14 *** deb has joined #rtems 2012-08-30T10:03:28 *** zw_yao has joined #rtems 2012-08-30T10:07:54 *** xiangfu has quit IRC (Ping timeout: 264 seconds) 2012-08-30T10:09:33 *** zw_yao has quit IRC (Remote host closed the connection) 2012-08-30T10:25:00 *** weiY has joined #rtems 2012-08-30T10:58:45 *** weiY has quit IRC (Ping timeout: 268 seconds) 2012-08-30T11:04:19 *** weiY has joined #rtems 2012-08-30T11:36:08 *** weiY has quit IRC (Ping timeout: 256 seconds) 2012-08-30T13:21:57 *** arvind_khadri has quit IRC (Ping timeout: 260 seconds) 2012-08-30T13:55:30 *** jenniferA has quit IRC (Quit: Leaving) 2012-08-30T14:22:19 *** arvind_khadri has joined #rtems 2012-08-30T15:50:10 *** Hesham1 has joined #rtems 2012-08-30T15:51:09 *** Hesham2 has joined #rtems 2012-08-30T15:51:09 *** Hesham1 has quit IRC (Read error: Connection reset by peer) 2012-08-30T15:54:14 *** Hesham1 has joined #rtems 2012-08-30T15:54:15 *** Hesham2 has quit IRC (Read error: Connection reset by peer) 2012-08-30T16:01:44 *** Hesham1 has quit IRC (Quit: Leaving.) 2012-08-30T16:24:01 *** arvind_khadri has quit IRC (Ping timeout: 265 seconds) 2012-08-30T19:15:33 *** kiwichris has quit IRC (Quit: This computer has gone to sleep) 2012-08-30T19:46:37 *** lcpfnvcy has quit IRC (*.net *.split) 2012-08-30T19:46:37 *** mikeg has quit IRC (*.net *.split) 2012-08-30T19:46:37 *** deb has quit IRC (*.net *.split) 2012-08-30T19:46:38 *** ChanServ has quit IRC (*.net *.split) 2012-08-30T19:46:38 *** dr__house has quit IRC (*.net *.split) 2012-08-30T19:46:38 *** rokka has quit IRC (*.net *.split) 2012-08-30T19:46:38 *** peerst has quit IRC (*.net *.split) 2012-08-30T19:46:38 *** juli1_ has quit IRC (*.net *.split) 2012-08-30T19:46:38 *** verm__ has quit IRC (*.net *.split) 2012-08-30T19:46:39 *** kristianpaul has quit IRC (*.net *.split) 2012-08-30T19:46:39 *** jahf has quit IRC (*.net *.split) 2012-08-30T19:46:39 *** sevikkk has quit IRC (*.net *.split) 2012-08-30T19:57:59 *** deb has joined #rtems 2012-08-30T19:57:59 *** peerst has joined #rtems 2012-08-30T19:57:59 *** jahf has joined #rtems 2012-08-30T19:57:59 *** kristianpaul has joined #rtems 2012-08-30T19:57:59 *** ChanServ has joined #rtems 2012-08-30T19:57:59 *** sevikkk has joined #rtems 2012-08-30T19:57:59 *** rokka has joined #rtems 2012-08-30T19:57:59 *** dr__house has joined #rtems 2012-08-30T19:57:59 *** juli1_ has joined #rtems 2012-08-30T19:57:59 *** verm__ has joined #rtems 2012-08-30T19:58:00 *** lcpfnvcy has joined #rtems 2012-08-30T19:58:00 *** mikeg has joined #rtems 2012-08-30T19:58:00 *** hitchcock.freenode.net sets mode: +o ChanServ 2012-08-30T19:59:50 *** xiangfu has joined #rtems 2012-08-30T20:02:33 *** deb has quit IRC (Read error: Connection reset by peer) 2012-08-30T20:21:41 *** kiwichris has joined #rtems 2012-08-30T21:23:30 *** kiwichris has quit IRC (Ping timeout: 264 seconds) 2012-08-30T21:23:34 *** deb has joined #rtems 2012-08-30T21:24:12 *** kiwichris has joined #rtems 2012-08-30T23:46:10 *** deb has left #rtems ("Leaving") 2012-08-31T00:22:30 *** kiwichris_ has joined #rtems 2012-08-31T00:22:57 *** kiwichris has quit IRC (Ping timeout: 255 seconds) 2012-08-31T00:29:18 *** QingPei has joined #rtems 2012-08-31T00:52:12 *** kiwichris_ has quit IRC (Quit: This computer has gone to sleep) 2012-08-31T01:22:44 *** krzysiekm13 has joined #rtems 2012-08-31T01:28:59 *** kiwichris has joined #rtems 2012-08-31T02:43:24 *** xiangfu has quit IRC (Ping timeout: 255 seconds) 2012-08-31T02:43:49 *** xiangfu has joined #rtems 2012-08-31T03:27:28 *** monstr has joined #rtems 2012-08-31T03:28:31 hi someone there? 2012-08-31T03:30:38 hi 2012-08-31T03:31:04 I would like to ask how stacks are handled inside rtems 2012-08-31T03:31:29 I mean I have setup stack to the highest address in the ram 2012-08-31T03:31:35 and on microblaze is grows down 2012-08-31T03:31:51 it is also reflect by any macro in score 2012-08-31T03:32:11 but the question is how it should behave in connection to threads 2012-08-31T03:32:21 Do threads have own stack? 2012-08-31T03:32:25 or use the global one 2012-08-31T03:32:29 i can't help you, i'm very fresh to rtems 2012-08-31T03:32:46 ok, what is your target cpu? 2012-08-31T03:33:15 i386 2012-08-31T03:33:37 but i think every task has own stack 2012-08-31T03:33:56 I am expecting too 2012-08-31T03:34:03 but haven't found how it is setup 2012-08-31T03:34:07 look here: http://rtems.org/onlinedocs/doc-current/share/rtems/html/c_user/c_user_421.html 2012-08-31T03:34:23 it is chapter about configuring system 2012-08-31T03:34:59 and some lines point that every task should have own stack 2012-08-31T03:34:59 ok, will look 2012-08-31T03:37:11 monstr, hi 2012-08-31T03:37:30 The stacks are allocated from the workspace and the BSP set up the workspace 2012-08-31T03:37:51 ok, can you point me to that function name 2012-08-31T03:38:01 Creating a task results in some allocations from the workspace and one of those is the stack 2012-08-31T03:38:20 Look for thread create in cpukit/score/src. Just looking now 2012-08-31T03:38:50 just FYI: trying to port rtems to microblaze. The first my step is to get hello world to work 2012-08-31T03:39:16 I expect that I don't need to use interrupts at all because timer is not necessary to use 2012-08-31T03:39:37 and I have uart driver - uartlite from powerpc virtex target 2012-08-31T03:39:58 http://git.rtems.org/rtems/tree/cpukit/score/src/threadinitialize.c#n86 2012-08-31T03:40:03 printk for debugging is working quite well 2012-08-31T03:40:08 Nice 2012-08-31T03:40:28 I believe that mutexes are also initialized correctly 2012-08-31T03:40:39 based on log I see 2012-08-31T03:41:20 I have also implemented _CPU_Context_switch 2012-08-31T03:41:37 but not sure how this should exactly work in connection to stack handling 2012-08-31T03:42:56 I mean this is prototype for the function 2012-08-31T03:43:01 void _CPU_Context_switch( 2012-08-31T03:43:01 Context_Control *run, 2012-08-31T03:43:01 Context_Control *heir 2012-08-31T03:43:01 ); 2012-08-31T03:43:16 Context_Control structure is defined for microblaze 2012-08-31T03:43:54 run should point to space where registers for current running thread should be saved 2012-08-31T03:44:14 also stack pointer for running thread 2012-08-31T03:44:39 and it is unclear to me if heir context should be already filled 2012-08-31T03:45:28 any experience with the part 2012-08-31T03:45:29 ? 2012-08-31T03:52:00 exactly this &_Thread_Heir->Registers 2012-08-31T04:07:15 have found it 2012-08-31T04:07:15 _CPU_Context_Initialize 2012-08-31T04:09:41 :-) 2012-08-31T04:09:47 System is up 2012-08-31T04:09:47 switch context 4803B448, reg 4803B504 2012-08-31T04:09:47 ---test 2012-08-31T04:09:47 *** HELLO WORLD TEST *** 2012-08-31T04:09:47 Hello World 2012-08-31T04:09:48 *** END OF HELLO WORLD TEST *** 2012-08-31T04:11:29 :-) 2012-08-31T04:18:21 *** QingPei has quit IRC (Ping timeout: 245 seconds) 2012-08-31T04:20:58 *** QingPei has joined #rtems 2012-08-31T04:31:36 hi kiwichris 2012-08-31T04:31:43 thanks for your mail 2012-08-31T04:32:11 i will follow your advice but now i'm trying to cover fpathconf function 2012-08-31T04:32:49 i have some questions: 2012-08-31T04:35:17 what is rtems_libio_number_iops 2012-08-31T04:39:34 i see it in libio_.h file in some macros and i supposed it is number of devices or files maybe 2012-08-31T04:40:17 and for example rtems_libio_check_fd macro checks if fd is less than it, otherwise it return -1. 2012-08-31T04:41:28 but i don't know how this number can be changed 2012-08-31T04:41:56 in my test i try to create file and open it and then I'm invoking fpathconf function 2012-08-31T04:42:42 but it don't execute because it fail on this macro so my guess is that my file descriptor is greater than rtems_libio_number_iops 2012-08-31T05:40:19 krzysiekm13, i think the numbr of open handles 2012-08-31T05:41:16 look in confdefs.h for the number of iops 2012-08-31T06:05:56 thanks :) 2012-08-31T06:13:19 *** xiangfu has quit IRC (Quit: Leaving) 2012-08-31T06:36:41 *** krzysiekm13 has quit IRC (Ping timeout: 245 seconds) 2012-08-31T07:29:02 *** peerst_ has joined #rtems 2012-08-31T07:30:33 *** peerst has quit IRC (Ping timeout: 245 seconds) 2012-08-31T07:30:34 *** peerst_ is now known as peerst 2012-08-31T09:20:59 *** QingPei has left #rtems 2012-08-31T13:44:58 *** kristianpaul has quit IRC (Quit: Lost terminal) 2012-08-31T13:46:03 *** kristianpaul has joined #rtems 2012-08-31T13:46:03 *** kristianpaul has joined #rtems 2012-08-31T15:51:31 *** monstr has quit IRC (Ping timeout: 246 seconds) 2012-08-31T23:06:34 *** kiwichris has quit IRC (Quit: This computer has gone to sleep) 2012-08-31T23:42:57 *** kiwichris has joined #rtems 2012-09-01T00:04:00 *** krzysiekm13 has joined #rtems 2012-09-01T00:20:47 *** kiwichris has quit IRC (Ping timeout: 255 seconds) 2012-09-01T00:32:05 *** kiwichris has joined #rtems 2012-09-01T00:47:59 *** monstr has joined #rtems 2012-09-01T01:07:04 *** arvind_khadri has joined #rtems 2012-09-01T02:26:20 *** peerst has quit IRC (Read error: Connection reset by peer) 2012-09-01T02:26:42 *** peerst has joined #rtems 2012-09-01T06:11:43 *** krzysiekm13 has left #rtems 2012-09-01T06:30:25 *** krzysiekm13 has joined #rtems 2012-09-01T06:56:42 *** monstr has quit IRC (Ping timeout: 245 seconds) 2012-09-01T07:25:42 *** krzysiekm13 has left #rtems 2012-09-01T07:30:13 *** peerst has quit IRC (Ping timeout: 248 seconds) 2012-09-01T07:30:29 *** peerst has joined #rtems 2012-09-01T08:02:05 *** ChanServ has quit IRC (*.net *.split) 2012-09-01T08:07:08 *** ChanServ has joined #rtems 2012-09-01T08:07:08 *** hitchcock.freenode.net sets mode: +o ChanServ 2012-09-01T08:20:43 *** arvind_khadri has quit IRC (Ping timeout: 252 seconds) 2012-09-01T09:19:01 *** monstr has joined #rtems 2012-09-01T11:59:18 *** monstr has quit IRC (Ping timeout: 246 seconds) 2012-09-02T07:29:06 *** peerst_ has joined #rtems 2012-09-02T07:30:42 *** peerst has quit IRC (Ping timeout: 264 seconds) 2012-09-02T07:30:42 *** peerst_ is now known as peerst 2012-09-02T20:14:19 *** xiangfu has joined #rtems 2012-09-02T20:37:15 *** QingPei has joined #rtems