[coyotos-dev] BigNum.cxx buglet?

Jonathan S. Shapiro shap at eros-os.com
Mon Oct 1 14:11:29 EDT 2007


That is very helpful. Thank you.

The truncation of the CodedName() result is intentional. Interface IDs
are 64 bits, but method code points are only 32 bits.

The problem in your case is going to be in the macro definition of
OC_coyotos_Cap_destroy. Can you send me a copy of the #define line for
that? It will also be in idl/coyotos/Cap.h.

On Mon, 2007-10-01 at 18:27 +0200, Jeroen Visser wrote:
> Shap,
> 
> On 10/1/07, Jonathan S. Shapiro <shap at eros-os.com> wrote:
> > This last change is very disturbing, and we need to understand why it is
> > necessary. If the problem is that the literals coming out of capidl are
> > too large, we *really* need to fix it there. The concern is that these
> > literals get used in assembly code, so we *cannot* resolve the problem
> > by casting them into submission.
> 
> File is sys/idl/coyotos/Cap.h. The following two statements complain:
> @255  _params.in._opCode = OC_coyotos_Cap_destroy;
> @407  _params.in._opCode = OC_coyotos_Cap_getType;
> 
> These constants are each defined as
>    CAPIDL_U32(sig)
> where sig is
>    unsigned long sig = s->CodedName();
> but Symbols::CodedName():
>   unsigned long long Symbol::CodedName()
> 
> -JCV
> _______________________________________________
> coyotos-dev mailing list
> coyotos-dev at smtp.coyotos.org
> http://www.coyotos.org/mailman/listinfo/coyotos-dev
-- 
Jonathan S. Shapiro
Managing Director
The EROS Group, LLC
www.coyotos.org, www.eros-os.org



More information about the coyotos-dev mailing list