Loading...

Rewrite NetBSD kernel driver using Ajhc Haskell compiler.

2,182 views

Loading...

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Feb 18, 2014

NetBSD kernel's HD Audio sound driver has interrupt handler. The interrupt handler of the demo is re-written by Haskell language using Ajhc Haskell Compiler http://ajhc.metasepi.org/.

At the demo, run following operations.
First, set breakpoint at the interrupt of finding headphone,
and see Haskell function names on backtrace.
Second, set breakpoint s_alloc() function, that allocate area
in Haskell heap. Make sure of calling the function while anytime
running kernel.
Nevertheless, playing wav file does not break up.

The source code is found at https://github.com/metasepi/netbsd-ar.... The interrupt handler source code at https://github.com/metasepi/netbsd-ar.... A picture of the architecture is also at http://www.flickr.com/photos/masterq/....

Discussion on mailing list: http://www.haskell.org/pipermail/hask...

Music Copyright (c) 2011 Epopsan. It's licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. http://www.jamendo.com/en/track/77112...

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...