Re: [linux-audio-dev] Jack and msr.h -> no ppc-hardware!

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Jack and msr.h -> no ppc-hardware!
From: Paul Davis (pbd_AT_Op.Net)
Date: Tue Mar 05 2002 - 11:16:59 EET


>> why does jack, and so many other audio apps and libs use <asm/msr.h>? it
>> doesen't exist in the ppc-tree of the linux kernel. so please don't use thes
>e
>> functions, or tell me what they mean exactly (and in the context). maybe i
>> could look for ppc-variants...
>
>i had a similar problem with missing headers when compiling alsa a
>few months ago.
>eventually, takashi sent me a fix for the alsa code.

its just a hack. the <asm/msr.h> header is NOT used for anything that
is actually a part of jack functionality. its there as a remnant from
timing measurements done on an x86 platform. the use of the cycle
counter is easy and trivial once you include this file, and we want to
make measurements that are as fast as possible (much, much, much
faster than gettimeofday, for example).

we will remove it in due course. if someone wants to submit a patch to
makes its inclusion conditional, that would be good too.

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Mar 05 2002 - 16:06:45 EET