lkml.org 
[lkml]   [2000]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: ANSI C clarifications, with citations
Date
From
Alan Cox wrote:
> > > Other machines included PR1ME computers which used a 32-bit word
> > > pointer, and a 48-bit byte pointer.
> >
> > How did C on those machines implement a void *?
>
> I cant speak for the old pre mips PR1ME but for the HLH Orion that was word
> addressed a void * was a char * and a char * was an address shifted left 2
> with the byte number in the low 2 bits.
>
> You really did have to get your casting right on those.

Huh? You mean that you have larger than 16 bit pointers on Pr1me?

Gee, I'm getting old... ;-)

I just checked: Those 48bit pointers are actually a 12 bit segment number,
16 bit word address and a bit number (5 bits?) -> 1Gbyte addressing space.

Roger.

--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* Common sense is the collection of *
****** prejudices acquired by age eighteen. -- Albert Einstein ********

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.049 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site