<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>Brainwaves</title>
	<link>http://blogs.freebsdish.org/marcel</link>
	<description>Just another Bsdblogs.droso.org weblog</description>
	<pubDate>Wed, 12 Jul 2006 22:38:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>vtc(4) and graphics drivers.</title>
		<link>http://blogs.freebsdish.org/marcel/2006/07/13/vtc4-and-graphics-drivers/</link>
		<comments>http://blogs.freebsdish.org/marcel/2006/07/13/vtc4-and-graphics-drivers/#comments</comments>
		<pubDate>Wed, 12 Jul 2006 22:38:23 +0000</pubDate>
		<dc:creator>marcel</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/marcel/2006/07/13/vtc4-and-graphics-drivers/</guid>
		<description><![CDATA[	Posts to mailing lists relating to the graphical console have increased with the growing popularity of the amd64 port. I&#8217;m not at all surprised about this. In fact, I&#8217;ve seen it coming. That&#8217;s why I started vtc(4) development many moons ago. With KGI declared dead, vtc(4) may have grown another leg to stand on: a [...]]]></description>
			<content:encoded><![CDATA[	<p>Posts to mailing lists relating to the graphical console have increased with the growing popularity of the amd64 port. I&#8217;m not at all surprised about this. In fact, I&#8217;ve seen it coming. That&#8217;s why I started vtc(4) development many moons ago. With <span class="caps">KGI</span> declared dead, vtc(4) may have grown another leg to stand on: a breeding ground for future <span class="caps">KGI</span> development. A new leg does not mean that vtc(4) has a more viable future. The fact that vendors of graphics cards keep their hardware under <span class="caps">NDA</span> is a real hurdle for vtc(4) and having proper drivers for graphics hardware is central to the design and implementation. If not for getting the higher resolution, real drivers are needed to get any kind of acceptable performance out of the hardware. Good performance is another hurdle that needs to be overcome. I just ran a kernel with vtc(4) under Parallels (a virtualization package that runs on Mac <span class="caps">OS X</span> for Intel processors) and scrolling was painful to watch. Interestingly, Parallels simulates Intel graphics hardware and Intel has documented what which is important to vtc(4). It would be interesting to write a driver for <span class="caps">GMCH</span> hardware with accelerated bitblt operations and see if there&#8217;s a performance increase. That&#8217;s an interesting experiment&#8230;</p>
 ]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/marcel/2006/07/13/vtc4-and-graphics-drivers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Kernel stack unwinding on ia64</title>
		<link>http://blogs.freebsdish.org/marcel/2006/07/07/kernel-stack-unwinding-on-ia64/</link>
		<comments>http://blogs.freebsdish.org/marcel/2006/07/07/kernel-stack-unwinding-on-ia64/#comments</comments>
		<pubDate>Fri, 07 Jul 2006 03:08:25 +0000</pubDate>
		<dc:creator>marcel</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/marcel/2006/07/07/kernel-stack-unwinding-on-ia64/</guid>
		<description><![CDATA[	Now that I have implemented the conditional long branch emulation, it&#8217;s inevitable that I need to work on the long branch call form. This, however, requires some side-tracking. Emulating the brl.call instruction requires stack unwinding because it needs to get the value of ar.ec as it was at the time of the trap. It&#8217;s also [...]]]></description>
			<content:encoded><![CDATA[	<p>Now that I have implemented the conditional long branch emulation, it&#8217;s inevitable that I need to work on the long branch call form. This, however, requires some side-tracking. Emulating the brl.call instruction requires stack unwinding because it needs to get the value of ar.ec as it was at the time of the trap. It&#8217;s also possible that the brl.call instruction writes to one of the preserved branch registers. In that case, we need to know if that branch register was saved and where. Luckily, the runtime architecture states that b0 is to be used to save the return address, so we may ignore writing to other branch registers at first. Nonetheless, stack unwinding is necessary. This, by all means, is a good thing, because we need it in other situations as well&#8212;situations we&#8217;re not correctly handling now. Maybe I should import the latest libuwx first&#8230;</p>
 ]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/marcel/2006/07/07/kernel-stack-unwinding-on-ia64/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GPT and scc(4).</title>
		<link>http://blogs.freebsdish.org/marcel/2006/05/27/gpt-and-scc4/</link>
		<comments>http://blogs.freebsdish.org/marcel/2006/05/27/gpt-and-scc4/#comments</comments>
		<pubDate>Sat, 27 May 2006 19:24:03 +0000</pubDate>
		<dc:creator>marcel</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/marcel/2006/05/27/gpt-and-scc4/</guid>
		<description><![CDATA[	I really need to finish the gctl functionality for GPT. With EFI on ia32 a reality (i.e. Mac Books) and in the hands of users, I feel I need to get this off my plate. All I need to do is have the changes actually hit the disk and provide a means to query the [...]]]></description>
			<content:encoded><![CDATA[	<p>I really need to finish the gctl functionality for <span class="caps">GPT</span>. With <span class="caps">EFI</span> on ia32 a reality (i.e. Mac Books) and in the hands of users, I feel I need to get this off my plate. All I need to do is have the changes actually hit the disk and provide a means to query the current configuration. Everything else is already there. Buying a Mac Book Pro may be a good trigger. I&#8217;ve been thinking about it for a while. It would also allow me to port the <span class="caps">EFI</span> support to ia32. The upshot of getting a Mac Book Pro is that I have my PowerBook G4 free to get scc(4) with uart(4) to work on it. Why these two unrelated things are connected to each other in my head, I don&#8217;t know&#8230;</p>

 ]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/marcel/2006/05/27/gpt-and-scc4/feed/</wfw:commentRss>
		</item>
		<item>
		<title>busdma and I/O MMU</title>
		<link>http://blogs.freebsdish.org/marcel/2006/05/25/busdma-and-io-mmu/</link>
		<comments>http://blogs.freebsdish.org/marcel/2006/05/25/busdma-and-io-mmu/#comments</comments>
		<pubDate>Thu, 25 May 2006 20:08:08 +0000</pubDate>
		<dc:creator>marcel</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/marcel/2006/05/25/busdma-and-io-mmu/</guid>
		<description><![CDATA[	We generally don&#8217;t use the I/O MMU on chipsets that have them. The exception is on sparc64. The I/O MMU allows us more freedom in allocating memory for DMA operations by programming the I/O MMU in such a way that the (possibly scattered fragments) appear as a contiguous block of memory that is within reach [...]]]></description>
			<content:encoded><![CDATA[	<p>We generally don&#8217;t use the I/O <span class="caps">MMU</span> on chipsets that have them. The exception is on sparc64. The I/O <span class="caps">MMU</span> allows us more freedom in allocating memory for <span class="caps">DMA</span> operations by programming the I/O <span class="caps">MMU</span> in such a way that the (possibly scattered fragments) appear as a contiguous block of memory that is within reach of the device that does the <span class="caps">DMA</span>. It seems to me that the function of the I/O <span class="caps">MMU</span> can be abstracted and handled by a <span class="caps">KOBJ</span> interface. This would allow a generic and/or machine independent busdma implementation while still being able to make use of machine dependent hardware and when no such hardware (i.e. the I/O <span class="caps">MMU</span>) is present or supported to fall back to bounce buffers and/or the use of contigmalloc(). Detection of I/O MMUs would happen at bus enumeration time and may in fact happen after the detection of a device that uses busdma. This may not yield the desired behaviour. Multi-pass bus enumeration may help us here and seems to be mentioned in other contexts too as a way of resolving problems. The question is whether we can get rid of the almost identical implementations of busdma that we have for the platforms that we support when we use such a <span class="caps">KOBJ</span> interface?</p>

 ]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/marcel/2006/05/25/busdma-and-io-mmu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hooked up</title>
		<link>http://blogs.freebsdish.org/marcel/2006/05/24/hello-world/</link>
		<comments>http://blogs.freebsdish.org/marcel/2006/05/24/hello-world/#comments</comments>
		<pubDate>Wed, 24 May 2006 17:20:14 +0000</pubDate>
		<dc:creator>marcel</dc:creator>
		
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[	Brainwaves&#8230; There&#8217;s hardly a day I don&#8217;t think about FreeBSD. Thoughts vary from things on my plate and how I didn&#8217;t get a chance of working on them to things of such grandeur that I really must have been dreaming. And, yes. Now I feel a need to share them with you. Isn&#8217;t that just [...]]]></description>
			<content:encoded><![CDATA[	<p>Brainwaves&#8230; There&#8217;s hardly a day I don&#8217;t think about FreeBSD. Thoughts vary from things on my plate and how I didn&#8217;t get a chance of working on them to things of such grandeur that I really must have been dreaming. And, yes. Now I feel a need to share them with you. Isn&#8217;t that just horrible&#8230;</p>

 ]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/marcel/2006/05/24/hello-world/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
