Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: Re: cdrecord on Linux/Alpha works
Date: Wed, 19 Nov 1997 23:33:17 +0100	[thread overview]
Message-ID: <afa7c5ebf17a9183cd1989ed77026d46.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.GSO.3.96.971118102415.23264A-100000@yacht.ee.fit.edu>

> Sorry for my ignorance, but we got an Alpha UDB as an entry-level system
> to learn some of the peculiarities of porting to a 64 it system.  We
> haven't finished our code yet (doh!) to start going 64-bit clean; what is
> "HZ" and its relationship to 100 (or not, in the Linux/Alpha case)?

some timers and timeouts are measured in ticks. One tick is 10ms on 
Linux/Intel, but 1ms (1/1024s to be exact) on Linux/Alpha. The HZ
define gives you the number of ticks per second, so nobody has to
hardcode it in its source, which leads to wrong timings when compiled
on the "wrong" platform.

> I guess my question is will this work on an Alpha?  Will a function
> pointer fit within a void pointer?  Does anyone know about the UltraSPARC? 

sure. And I don't see a reason, why this shouln'd work on UltraSPARC too.

Thomas.

-- 
See, you not only have to be a good coder to create a system like Linux,
you have to be a sneaky bastard too ;-)
                   [Linus Torvalds in <4rikft$7g5@linux.cs.Helsinki.FI>]

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1997-11-19 22:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.GSO.3.96.971118102415.23264A-100000@yacht.ee.fit.edu>
1997-11-19 22:33 ` Thomas Bogendoerfer [this message]
     [not found] <19971118082818.61406@alpha.franken.de>
1997-11-18 15:36 ` cdrecord on Linux/Alpha works Christopher Curtis
1997-11-19 21:30 ` Thomas Bogendoerfer
1997-11-18  7:28 Thomas Bogendoerfer
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox