Re: max agruments in system_calls

From: Jan Engelhardt
Date: Thu Nov 18 2004 - 05:52:26 EST


>Huh? You KNOW that you don't have more than 7 registers available
>on ix86 so you KNOW that you either need a pointer to a struct (one
>parameter) or it won't work.
>
>FYI:
> eax = function code
> ebx = first parameter
> ecx = second parameter
> edx = third parameter
> esi = fourth parameter
> edi = fifth parameter
> ebp = sixth parameter

And if you use varargs?



Jan Engelhardt
--
Gesellschaft fÃr Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 GÃttingen, www.gwdg.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/