er to simply declare the descriptor as a struct,
>> rather than an array, then the original syntax would have been mostly
>> correct:
>>
>> struct {u64 d[2];} desc = { pcid, addr };
>> asm ... "m" (desc), "c" (&desc)
>
> Sounds better. Do
__p)
{
volatile struct { char x[64]; } *p = __p;
...
> It'd probably be easier to simply declare the descriptor as a struct,
> rather than an array, then the original syntax would have been mostly
> correct:
>
> struct {u64 d[2];} desc = { pcid, ad
2 matches
Mail list logo