Also consider this:
   What are the C and C++ libraries distributed as? 
Does it matter?  Are all Windows API style programs
under the MS license just because they all run as
modules to kernel32.exe?  THe answers to these
seemingly simple questions are actually not that
simple.  Believe me, these guys know what they are
doing and are not out to violate anybody's
intellectual property rights.  If they say that they
used a method that somebody else used for something
else, chances are that it is a method that is common
knowledge -- something that nobody owns.  Please do
contribute constructive critisism to this forum; but
please do not insult its members directly or
indirectly.
   As for the code snippet Ramon sent back, his
version is just one of several thousand all based upon
the same theory page out of the intel manuals,
therefore he can do with it as he likes.  And, if I
were to have written the same function in my own code,
independent of him, then I could do with it as I like.
 This is only one example of the loopholes and other
problems with intellectual property.  I hope that you
enjoyed it.

Drew Northup, N1XIM

--- Ramon van Handel <[EMAIL PROTECTED]> wrote:
> >"Kevin P. Lawton" wrote:
> >> I borrowed an inline fuction from the Linux
> kernel
> >> to grab the Time Stamp Counter, and now time
> stamp
> >This is exactly what you can't legally do if
> FreeMWare is LGPL.  Linux is
> >GPL.  Distributing Linux under LGPL is a license
> violation.
> Duh.  I'll rewrite it, okay ?  Here goes:
> inline unsigned long long
> rdtsc(void)
> {
>     unsigned long high, low;
>     asm ( "rdtsc" : "=a" (low), "=d" (high) );
>     return (((unsigned long long) high) << 32) |
> low;
> }
> 
> Note that I'm doing this by heart, it may be that
> high and low need to
> be turned around, but IIRC the high dword is in
> %edx.
> 
> PS I didn't see the linux code.  The above code
> snippet I hereby declare to be
> LGPL.
> 
> -- Ramon
 
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Reply via email to