<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EmbLogic &#187; saurabh2015ece</title>
	<atom:link href="https://www.emblogic.com/blog/author/saurabh2015ece/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Tue, 03 Mar 2020 13:00:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>character driver till ioctl.</title>
		<link>https://www.emblogic.com/blog/06/character-driver-till-ioctl/</link>
		<comments>https://www.emblogic.com/blog/06/character-driver-till-ioctl/#comments</comments>
		<pubDate>Sun, 15 Jun 2014 21:20:35 +0000</pubDate>
		<dc:creator><![CDATA[saurabh2015ece]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10491</guid>
		<description><![CDATA[This is rcs file of init function where this function helps in initialisation of our driver and file operations . file operations which are used further to mapped various function to the kernel mode function. similarly there is open function &#8230; <a href="https://www.emblogic.com/blog/06/character-driver-till-ioctl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>This is rcs file of init function where this function helps in initialisation of our driver and</p>
<p>file operations .</p>
<p>file operations which are used further to mapped various function to the kernel mode function.</p>
<p>similarly there is open function , read function ,lseek function , ioctl function .</p>
<p>(these all are different from generic open ,read function).</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>RCS file: init.c,v<br />
Working file: init.c<br />
head: 1.58<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 58;    selected revisions: 58<br />
description:<br />
inserting our msg in kernel table list.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.58<br />
date: 2014/06/15 08:00:09;  author: root;  state: Exp;  lines: +8 -1<br />
mapped ioctl function with unlocked ioctl in file operations .<br />
used module param for taking the device size and quantum_size through command line argument i.e argument during run time .<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.57<br />
date: 2014/06/13 11:20:08;  author: root;  state: Exp;  lines: +3 -2<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.56<br />
date: 2014/05/27 09:12:07;  author: root;  state: Exp;  lines: +3 -1<br />
fileoperations updated .<br />
added function for llseek.<br />
nd mapped with that function.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.55<br />
date: 2014/05/19 07:23:22;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.54<br />
date: 2014/05/18 19:38:37;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.53<br />
date: 2014/05/15 15:31:37;  author: root;  state: Exp;  lines: +2 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.52<br />
date: 2014/05/15 09:09:59;  author: root;  state: Exp;  lines: +0 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.51<br />
date: 2014/05/15 09:08:24;  author: root;  state: Exp;  lines: +2 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.50<br />
date: 2014/05/15 08:28:40;  author: root;  state: Exp;  lines: +1 -0<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.49<br />
date: 2014/05/11 08:55:50;  author: root;  state: Exp;  lines: +0 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.48<br />
date: 2014/05/11 08:51:00;  author: root;  state: Exp;  lines: +2 -2<br />
added open nd close function nd mapped with generic call function<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.47<br />
date: 2014/05/11 08:15:27;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.46<br />
date: 2014/05/11 08:14:01;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.45<br />
date: 2014/05/11 08:13:07;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.44<br />
date: 2014/05/11 08:11:01;  author: root;  state: Exp;  lines: +4 -5<br />
just checking if the mapping of fops is done correctly or not.<br />
by checking the value it from dev of cdev.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.43<br />
date: 2014/05/09 10:41:03;  author: root;  state: Exp;  lines: +2 -2<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.42<br />
date: 2014/05/09 09:29:46;  author: root;  state: Exp;  lines: +2 -2<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.41<br />
date: 2014/05/09 06:52:11;  author: root;  state: Exp;  lines: +0 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.40<br />
date: 2014/05/09 06:51:16;  author: root;  state: Exp;  lines: +8 -10<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.39<br />
date: 2014/05/07 13:16:58;  author: root;  state: Exp;  lines: +4 -4<br />
solved the syntax errors.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.38<br />
date: 2014/05/07 12:56:32;  author: root;  state: Exp;  lines: +10 -2<br />
defined the structure for sculldev<br />
defined the structure scull c_dev .<br />
used cdev_init to make internally mapping&#8230;just it initliase the cdev_ onto kernel<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.37<br />
date: 2014/05/05 14:55:51;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.36<br />
date: 2014/05/05 14:54:53;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.35<br />
date: 2014/05/05 14:52:44;  author: root;  state: Exp;  lines: +1 -0<br />
printing the size of structure that we have already allocated for cdev in scull dev<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.34<br />
date: 2014/05/05 10:07:36;  author: root;  state: Exp;  lines: +2 -2<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.33<br />
date: 2014/05/05 09:40:43;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.32<br />
date: 2014/05/05 09:37:55;  author: root;  state: Exp;  lines: +2 -2<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.31<br />
date: 2014/05/05 09:36:40;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.30<br />
date: 2014/05/05 09:33:52;  author: root;  state: Exp;  lines: +2 -0<br />
assigned the memory for struct scull .<br />
further it can hold the memory for virtual devices.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.29<br />
date: 2014/05/04 09:37:28;  author: root;  state: Exp;  lines: +1 -1<br />
moved the position of dev1<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.28<br />
date: 2014/05/04 09:35:27;  author: root;  state: Exp;  lines: +6 -4<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.27<br />
date: 2014/05/04 09:24:48;  author: root;  state: Exp;  lines: +1 -1<br />
changed the value of i so that no repititon ocur<br />
occur<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.26<br />
date: 2014/05/04 09:19:16;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.25<br />
date: 2014/05/04 09:17:53;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.24<br />
date: 2014/05/04 09:16:27;  author: root;  state: Exp;  lines: +4 -2<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.23<br />
date: 2014/05/04 08:56:59;  author: root;  state: Exp;  lines: +1 -0<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.22<br />
date: 2014/05/04 08:54:17;  author: root;  state: Exp;  lines: +1 -0<br />
defined header file<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.21<br />
date: 2014/05/04 08:47:22;  author: root;  state: Exp;  lines: +1 -1<br />
warning problem solved<br />
/<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.20<br />
date: 2014/05/04 08:45:10;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.19<br />
date: 2014/05/04 08:37:38;  author: root;  state: Exp;  lines: +1 -0<br />
created n no. of arrays &#8230;.basicallly n no. of nodes that will linked to one driver.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.18<br />
date: 2014/05/04 08:16:36;  author: root;  state: Exp;  lines: +2 -2<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.17<br />
date: 2014/05/04 07:58:45;  author: root;  state: Exp;  lines: +1 -0<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.16<br />
date: 2014/05/04 07:56:26;  author: root;  state: Exp;  lines: +4 -2<br />
taking nod value 3<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.15<br />
date: 2014/05/04 07:05:22;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.14<br />
date: 2014/05/04 07:03:20;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.13<br />
date: 2014/05/04 06:56:04;  author: root;  state: Exp;  lines: +4 -1<br />
now giving a nod no. using command line argument<br />
using module_param<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.12<br />
date: 2014/05/04 06:44:42;  author: root;  state: Exp;  lines: +1 -2<br />
registerd the driver.<br />
nd its working<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.11<br />
date: 2014/05/04 06:32:03;  author: root;  state: Exp;  lines: +2 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.10<br />
date: 2014/05/03 17:18:29;  author: root;  state: Exp;  lines: +7 -6<br />
updated included #ifdef<br />
..<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.9<br />
date: 2014/04/30 14:07:00;  author: root;  state: Exp;  lines: +5 -4<br />
removed def micro<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.8<br />
date: 2014/04/30 08:07:57;  author: root;  state: Exp;  lines: +2 -2<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.7<br />
date: 2014/04/29 17:33:46;  author: root;  state: Exp;  lines: +2 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.6<br />
date: 2014/04/29 17:04:29;  author: root;  state: Exp;  lines: +17 -0<br />
new character driver can be  allocated in kernel using alloc_chrdev_region();</p>
<p>nd same we allocated our own driver .<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5<br />
date: 2014/04/28 15:04:01;  author: root;  state: Exp;  lines: +2 -2<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2014/04/28 14:59:33;  author: root;  state: Exp;  lines: +0 -19<br />
just checking , is mesg get printed in kernel table or not!<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/04/28 08:25:55;  author: root;  state: Exp;  lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/04/28 08:20:38;  author: root;  state: Exp;  lines: +1 -1<br />
upadated<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/04/28 08:14:39;  author: root;  state: Exp;<br />
Initial revision<br />
===========================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/character-driver-till-ioctl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Chat BOx (full duplexer)</title>
		<link>https://www.emblogic.com/blog/05/a-chat-box-full-duplexer/</link>
		<comments>https://www.emblogic.com/blog/05/a-chat-box-full-duplexer/#comments</comments>
		<pubDate>Wed, 14 May 2014 09:08:20 +0000</pubDate>
		<dc:creator><![CDATA[saurabh2015ece]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10100</guid>
		<description><![CDATA[RCS file: user1.c,v Working file: user1.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: this is mainly a chat box btween two users ,a full duplexer one &#8230; <a href="https://www.emblogic.com/blog/05/a-chat-box-full-duplexer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: user1.c,v<br />
Working file: user1.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
root: 1.1<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
this is mainly a chat box btween two users ,a full duplexer one<br />
each user can simultaneously recieve or can send the msg<br />
for this to be happened we used mesaagequeue which helps in holding the messages .<br />
nd its dual processor that mean user one can both recieve or can send the msg to another user at a same time<br />
this to be happened we need multithread concept<br />
moving back to this project use 1 can both recieve or can send msgs at a same time .<br />
as soon user 1 typed &#8220;end&#8221; then it will ask user 2 to type same end string after that session gets terminated.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1    locked by: root;<br />
date: 2014/05/14 08:32:37;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/05/a-chat-box-full-duplexer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ipc-</title>
		<link>https://www.emblogic.com/blog/03/ipc-13/</link>
		<comments>https://www.emblogic.com/blog/03/ipc-13/#comments</comments>
		<pubDate>Thu, 27 Mar 2014 11:29:30 +0000</pubDate>
		<dc:creator><![CDATA[saurabh2015ece]]></dc:creator>
				<category><![CDATA[Project 03: Client Server Communication using Linux and IPC]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=9568</guid>
		<description><![CDATA[]]></description>
				<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/ipc-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inter Process Communication-synchronised by semaphore</title>
		<link>https://www.emblogic.com/blog/03/inter-process-communication-synchronised-by-semaphore/</link>
		<comments>https://www.emblogic.com/blog/03/inter-process-communication-synchronised-by-semaphore/#comments</comments>
		<pubDate>Thu, 27 Mar 2014 11:23:11 +0000</pubDate>
		<dc:creator><![CDATA[saurabh2015ece]]></dc:creator>
				<category><![CDATA[Project 03: Client Server Communication using Linux and IPC]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=9488</guid>
		<description><![CDATA[RCS file: server.c,v Working file: server.c head: 1.3 branch: locks: strict saurabh: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: here we are doing a project called ipc ,we have taken a server &#8230; <a href="https://www.emblogic.com/blog/03/inter-process-communication-synchronised-by-semaphore/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: server.c,v<br />
Working file: server.c<br />
head: 1.3<br />
branch:<br />
locks: strict<br />
saurabh: 1.3<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 3; selected revisions: 3<br />
description:<br />
here we are doing a project called ipc ,we have taken a server where three clients simultaneously sending their request over a single fifo.<br />
That mean three clients respectively will send their request to server on a same fifo at a same time &#8230;.thus a concept of semaphore arises<br />
this helps in seperating the one client req from others or from being messy!!!! we used semaphore &#8230;.<br />
one client request is send over fifo one at a tym.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-basically it synchronised the data coming to server&#8230;..<br />
revision 1.3 locked by: saurabh;<br />
date: 2014/03/27 11:12:28; author: saurabh; state: Exp; lines: +10 -0<br />
server has passed the result accurately to all requesting clients.<br />
finally it works <img src="https://www.emblogic.com/blog/wp-includes/images/smilies/icon_razz.gif" alt=":P" class="wp-smiley" /><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/03/26 19:30:52; author: saurabh; state: Exp; lines: +17 -8<br />
updated<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/03/26 17:50:36; author: saurabh; state: Exp;<br />
Initial revision</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/inter-process-communication-synchronised-by-semaphore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross compiler</title>
		<link>https://www.emblogic.com/blog/03/cross-compiler/</link>
		<comments>https://www.emblogic.com/blog/03/cross-compiler/#comments</comments>
		<pubDate>Wed, 26 Mar 2014 05:35:01 +0000</pubDate>
		<dc:creator><![CDATA[saurabh2015ece]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=9489</guid>
		<description><![CDATA[Introduction to Cross Compilation This post is the first in a series on cross compilation. In this series I&#8217;ll introduce the concept of cross compilation, and how to used it. Although there are many different uses for cross compilation, I&#8217;ll &#8230; <a href="https://www.emblogic.com/blog/03/cross-compiler/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div>
<div>
<h2>Introduction to Cross Compilation</h2>
<p>This post is the first in a series on cross compilation. In this series I&#8217;ll introduce the concept of cross compilation, and how to used it. Although there are many different uses for cross compilation, I&#8217;ll focus in this series in its use for embedded Linux systems development.</p>
<h3>What is Cross Compilation?</h3>
<p>When you develop a desktop or server application, almost always the development platform (the machine that runs your compiler) and the target platform (the machine that runs your application) are the same. By &#8220;platform&#8221; I mean the combination of CPU architecture, and Operating System. The process of building executable binaries on one machine, and run them on another machine when the CPU architecture or the Operating System are different is called &#8220;cross compilation&#8221;. A special compiler is needed for doing cross compilation that is called &#8220;<a href="http://en.wikipedia.org/wiki/Cross_compiler">cross compiler</a>&#8220;, and sometimes just &#8220;toolchain&#8221;.</p>
<p>For example, desktop PC application developers for Windows or Linux can build and run their binaries on the very same machine. Even developers of server applications generally have the same basic architecture and Operating System on both their development machine and server machine. The compiler used in these cases is called &#8220;native compiler&#8221;.</p>
<p>On the other hand, developers of an embedded Linux application that runs on a non PC architecture (like ARM, PowerPC, MIPS, etc.) tend to use a cross compiler to generate executable binaries from source code. The cross compiler must be specifically tailored for doing cross compilation from the development machine&#8217;s architecture (sometimes called &#8220;host&#8221;), to the embedded machine&#8217;s architecture (called &#8220;target&#8221;).</p>
<p><strong>Note:</strong> cross compilation is only needed when generating binary executables from source code written in a <a href="http://en.wikipedia.org/wiki/Compiled_language">compiled language</a>, like C or C++. Programs written in <a href="http://en.wikipedia.org/wiki/Interpreted_language">interpreted language</a>, like Perl, Python, PHP, or JavaScript, do not need a cross compiler. In most cases interpreted programs should be able run unchanged on any target. You do need, however, a suitable interpreter running on the target machine.</p>
<h3>What is Cross Compilation Good for?</h3>
<p>I have covered above one reason for doing cross compilation, that is, the target machine has a different CPU architecture that the development host. In this case cross compilation is necessary because the binaries that the native compiler generates won&#8217;t run on the target embedded machine.</p>
<p>Sometimes cross compilation is not strictly necessary, but native compilation in not practical, or inconvenient. Consider, for example, a slow ARM9 based target machine running Linux. Having the compiler run on this target will make the build process painfully slow. In many cases target machine is just under-powered, in terms of storage and RAM, for the task of running a modern compiler.</p>
<p>Practically speaking, almost all embedded Linux development is being done with cross compilers. Strong PC workstation machines are used as development hosts to run the development environment (text editor, IDE), and the cross compiler.</p>
<p>In the next post in this series I&#8217;ll show how get a cross compiler for embedded Linux development.</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/cross-compiler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linklist implementation using functions.</title>
		<link>https://www.emblogic.com/blog/02/linklist-implementation-using-functions/</link>
		<comments>https://www.emblogic.com/blog/02/linklist-implementation-using-functions/#comments</comments>
		<pubDate>Fri, 28 Feb 2014 14:33:37 +0000</pubDate>
		<dc:creator><![CDATA[saurabh2015ece]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[deletion (from begining node i.e 2nd node]]></category>
		<category><![CDATA[from the end node) & insertion (from begining node]]></category>
		<category><![CDATA[nth node]]></category>
		<category><![CDATA[nth node& at the end node) is done..and then displayed using display funct.]]></category>
		<category><![CDATA[sorting]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8458</guid>
		<description><![CDATA[RCS file: lll.c,v Working file: lll.c head: 1.8 branch: locks: strict saurabh: 1.8 access list: symbolic names: keyword substitution: kv total revisions: 8; selected revisions: 8 description: created a linklist program where diff aspects are being done. first created new &#8230; <a href="https://www.emblogic.com/blog/02/linklist-implementation-using-functions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: lll.c,v<br />
Working file: lll.c<br />
head: 1.8<br />
branch:<br />
locks: strict<br />
saurabh: 1.8<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 8; selected revisions: 8<br />
description:<br />
created a linklist program where diff aspects are being done.<br />
first created new linklist<br />
second add a new node to the linklist which is already been created.<br />
so far a new node in inserted from the begining<br />
and from the end .</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.8 locked by: saurabh;<br />
date: 2014/02/28 14:16:42; author: saurabh; state: Exp; lines: +3 -4<br />
sorting function working properly<br />
insertion at nth node is working well.<br />
while deletion at the nth node is too working well<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.7<br />
date: 2014/02/28 13:49:08; author: saurabh; state: Exp; lines: +1 -1<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.6<br />
date: 2014/02/28 13:46:44; author: saurabh; state: Exp; lines: +1 -1<br />
problem in function insert at nth solved .<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5<br />
date: 2014/02/28 13:42:50; author: saurabh; state: Exp; lines: +33 -15<br />
function called sort_ has been implemented in program .<br />
but there are some problem in function &#8220;insert_nth&#8221;.<br />
will solve later on<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2014/02/27 20:03:10; author: saurabh; state: Exp; lines: +26 -2<br />
sorting not working <img src="https://www.emblogic.com/blog/wp-includes/images/smilies/icon_sad.gif" alt=":(" class="wp-smiley" /><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/02/27 19:10:54; author: saurabh; state: Exp; lines: +19 -3<br />
implemented function called deletition from end .<br />
 <img src="https://www.emblogic.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/02/27 18:17:33; author: saurabh; state: Exp; lines: +159 -30<br />
created function called insertion at the end<br />
created function insertion at the nth node<br />
created function deletion<br />
implemented all above function the are working well<br />
implemented deletion from begining node using function<br />
implemented deletion from the nth node successflly<br />
prior to all such functions ,defined display function too .<br />
 <img src="https://www.emblogic.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/02/24 21:09:57; author: saurabh; state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/linklist-implementation-using-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>project-1 multiple data compression &amp; encryption using iterative techniques.</title>
		<link>https://www.emblogic.com/blog/02/project-1-multiple-data-compression-encryption-using-iterative-techniques/</link>
		<comments>https://www.emblogic.com/blog/02/project-1-multiple-data-compression-encryption-using-iterative-techniques/#comments</comments>
		<pubDate>Fri, 28 Feb 2014 10:31:13 +0000</pubDate>
		<dc:creator><![CDATA[saurabh2015ece]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8655</guid>
		<description><![CDATA[RCS file: fun.c,v Working file: fun.c head: 1.9 branch: locks: strict saurabh: 1.9 access list: symbolic names: keyword substitution: kv total revisions: 9;     selected revisions: 9 description: this is updated file of fun.c of project 1 dir. here master array &#8230; <a href="https://www.emblogic.com/blog/02/project-1-multiple-data-compression-encryption-using-iterative-techniques/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: fun.c,v<br />
Working file: fun.c<br />
head: 1.9<br />
branch:<br />
locks: strict<br />
saurabh: 1.9<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 9;     selected revisions: 9<br />
description:<br />
this is updated file of fun.c of project 1 dir.<br />
here master array is passed in every fnction instead of declaring globally<br />
which could create protection problem.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.9    locked by: saurabh;<br />
date: 2014/02/27 20:06:16;  author: saurabh;  state: Exp;  lines: +3 -1<br />
updated<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.8<br />
date: 2014/02/26 21:47:06;  author: saurabh;  state: Exp;  lines: +10 -6<br />
updated ,errors solved <img src="https://www.emblogic.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.7<br />
date: 2014/02/26 15:09:06;  author: saurabh;  state: Exp;  lines: +14 -55<br />
updated<br />
 <img src="https://www.emblogic.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /><br />
but not working well :/<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.6<br />
date: 2014/02/26 14:06:59;  author: saurabh;  state: Exp;  lines: +6 -7<br />
error<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
but not working well :/<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.6<br />
date: 2014/02/26 14:06:59;  author: saurabh;  state: Exp;  lines: +6 -7<br />
error</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5<br />
date: 2014/02/26 12:53:27;  author: saurabh;  state: Exp;  lines: +58 -4<br />
created a decompressed function<br />
where the file is decrypted back to orignal file using decompression_key addition to encryption_key<br />
 <img src="https://www.emblogic.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2014/02/26 09:49:56;  author: saurabh;  state: Exp;  lines: +12 -3<br />
logical fault solved<br />
previously marray ws compressed<br />
but actually we want to compressed whole text file<br />
so that it cud be retrieve easily<br />
 <img src="https://www.emblogic.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/02/26 06:38:48;  author: saurabh;  state: Exp;  lines: +20 -0<br />
created a function encryption_ky<br />
holding a file consisting a master array.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/02/24 16:59:13;  author: saurabh;  state: Exp;  lines: +6 -14<br />
warning issue solved<br />
updated some other display issues.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/02/24 16:41:32;  author: saurabh;  state: Exp;<br />
Initial revision<br />
=============================================================================<br />
62,17         Bot<br />
10,14         Top</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/project-1-multiple-data-compression-encryption-using-iterative-techniques/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
