[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: video mem access with oskit-mach

From: Roland McGrath
Subject: Re: video mem access with oskit-mach
Date: Wed, 3 Oct 2001 16:09:37 -0400 (EDT)

> MiG doesn't know unsigned short, so I am afraid that I have to use int.

MiG is indeed pretty unhelpful, though there is a MACH_MSG_TYPE_INTEGER_16

> The conversion from signed shorts to unsigned shorts is implementation
> defined (or can raise a signal even), so I am out of luck here  (unless we
> forbid ports higher than 7fff).

Say what?  Conversions from one bitpattern (integer) type to another
bitpattern type of the same size are always fine.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]