<?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>Anthony's Blog &#187; ktux</title>
	<atom:link href="http://www.anthonyldechiaro.com/blog/archives/category/ktux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.anthonyldechiaro.com/blog</link>
	<description>Thoughts, ideas, and ramblings of a crazed mind</description>
	<lastBuildDate>Fri, 05 Jun 2009 00:01:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Twitter! and Updates</title>
		<link>http://www.anthonyldechiaro.com/blog/archives/279</link>
		<comments>http://www.anthonyldechiaro.com/blog/archives/279#comments</comments>
		<pubDate>Mon, 16 Mar 2009 21:18:37 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[blurb]]></category>
		<category><![CDATA[ktux]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.anthonyldechiaro.com/blog/?p=279</guid>
		<description><![CDATA[New Ktux release.  Code is now somewhat more organized and committed into a Subversion repository.  Preparing to replace paging code with cleaner and more versatile implementation &#8211; this will allow for user-level (x86 ring 3) support.  I&#8217;ve also started to twit now about Ktux, Linux, and all things science.  Follow me here if you like!
 [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">New Ktux <a href="/ktux/ktux-rev-11.tar.gz">release</a>.  Code is now somewhat more organized and committed into a Subversion repository.  Preparing to replace paging code with cleaner and more versatile implementation &#8211; this will allow for user-level (x86 ring 3) support.  I&#8217;ve also started to twit now about Ktux, Linux, and all things science.  Follow me <a href="http://twitter.com/adechiaro" target="_blank">here</a> if you like!</p>
 <img src="http://www.anthonyldechiaro.com/blog/wp-content/plugins/feed-statistics.php?view=1&post_id=279" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.anthonyldechiaro.com/blog/archives/279/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ktux Multitasking &amp; Update</title>
		<link>http://www.anthonyldechiaro.com/blog/archives/260</link>
		<comments>http://www.anthonyldechiaro.com/blog/archives/260#comments</comments>
		<pubDate>Thu, 05 Mar 2009 20:35:12 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[ktux]]></category>

		<guid isPermaLink="false">http://www.anthonyldechiaro.com/blog/?p=260</guid>
		<description><![CDATA[
So it&#8217;s been some time since I posted, unfortunately life has kept me on the go these past several weeks and I&#8217;ve had limited time at my desk.  However, thankfully I was able to work on Ktux from my netbook and now I successfully have multitasking working!  I attempted several previous implementations of a scheduler [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">
<p style="text-align: justify;">So it&#8217;s been some time since I posted, unfortunately life has kept me on the go these past several weeks and I&#8217;ve had limited time at my desk.  However, thankfully I was able to work on Ktux from my netbook and now I successfully have multitasking working!  I attempted several previous implementations of a scheduler without success, this time I re-wrote mostly everything from scratch, minus a few lines of the timer ISR assembly code.  Currently, the scheduler supports thread creation/destruction and basic priority adjustment with nice() (just adjusts the process quantum timeslice).  Oh, and a simple yield() was implemented as well.  As of the moment, I have a pointer array to keep track of the threads, but in the process of replacing with linked lists (same implementation Linux kernel uses).</p>
<p style="text-align: justify;">The screenshot below demonstrates 4 threads of execution, 3 of them increment counters (with various priorities) and the final one just displays the values on the screen, then yields():</p>
<p style="text-align: center;"><a href="http://www.anthonyldechiaro.com/blog/wp-content/uploads/2009/03/screenshot1.png"></p>
<p style="text-align: center;"><a href="http://www.anthonyldechiaro.com/blog/wp-content/uploads/2009/03/screenshot1.png"><img class="size-medium wp-image-277 aligncenter" title="multitasking screenshot" src="http://www.anthonyldechiaro.com/blog/wp-content/uploads/2009/03/screenshot1-300x175.png" alt="I finally invented something that works!!" width="300" height="175" /></a></p>
<p></a></p>
<p style="text-align: justify;">Now, of course with with multitasking support comes a whole new array of synchronization issues.  I have intentionally followed the KISS principle thus far when developing the kernel framework, knowing that any substantial code would most likely need to be re-written with critical sections, locks, etc.  Due to the complexities and time involved, I am fairly certain I will not aim for full SMP support in Ktux.  A few basic atomic operations have been written, but for the moment I think I will just use something similar to the big kernel lock in Linux; performance is not my main concern here, getting something out the door that actually runs is.</p>
<p style="text-align: justify;">Not sure where I will go from here, I know the virtual memory needs a *LOT* of work, it&#8217;s pretty ugly right now.  From there, I think user-level thread support will be a logical next step.</p>
 <img src="http://www.anthonyldechiaro.com/blog/wp-content/plugins/feed-statistics.php?view=1&post_id=260" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.anthonyldechiaro.com/blog/archives/260/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update &amp; Ktux upload</title>
		<link>http://www.anthonyldechiaro.com/blog/archives/222</link>
		<comments>http://www.anthonyldechiaro.com/blog/archives/222#comments</comments>
		<pubDate>Mon, 05 Jan 2009 21:46:06 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[ktux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[blurb]]></category>
		<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://www.anthonyldechiaro.com/blog/?p=222</guid>
		<description><![CDATA[So life has been quite hectic lately with the holidays and it&#8217;s time to get back to writing.  I still need to upload the final piece of my service account script which basically consists of a simple Nautilus script to invoke it.  This will be coming shortly, hopefully later this week.
As for my OS Ktux, [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">So life has been quite hectic lately with the holidays and it&#8217;s time to get back to writing.  I still need to upload the final piece of my service account script which basically consists of a simple Nautilus script to invoke it.  This will be coming shortly, hopefully later this week.</p>
<p style="text-align: justify;">As for my OS Ktux, I am uploading a tarfile with the latest code for anyone whom may care to peruse the source.  Unfortunately it&#8217;s been longer then I would have liked since this has been worked on.  However with my new laptop I will be re-creating my development environment and should have more information available soon.</p>
<ul>
<li>Ktux <a href="http://www.anthonyldechiaro.com/ktux/ktux.tar.bz2">tarfile</a></li>
<li>Development environment setup <a href="http://wiki.anthonyldechiaro.com/tiki-index.php?page=KtuxCygwinSetup" target="_blank">docs</a></li>
</ul>
 <img src="http://www.anthonyldechiaro.com/blog/wp-content/plugins/feed-statistics.php?view=1&post_id=222" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.anthonyldechiaro.com/blog/archives/222/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
