Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262727AbUKRKsL (ORCPT ); Thu, 18 Nov 2004 05:48:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262715AbUKRK25 (ORCPT ); Thu, 18 Nov 2004 05:28:57 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:44928 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S262724AbUKRK1z (ORCPT ); Thu, 18 Nov 2004 05:27:55 -0500 Date: Thu, 18 Nov 2004 11:27:41 +0100 (MET) From: Jan Engelhardt To: linux-os@analogic.com cc: Sharma Sushant , linux-kernel@vger.kernel.org Subject: Re: max agruments in system_calls In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 737 Lines: 26 >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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/