From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DItfD-00080U-Gp for user-mode-linux-devel@lists.sourceforge.net; Tue, 05 Apr 2005 12:24:39 -0700 Received: from dsl092-053-140.phl1.dsl.speakeasy.net ([66.92.53.140] helo=grelber.thyrsus.com) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1DIteh-00070V-Or for user-mode-linux-devel@lists.sourceforge.net; Tue, 05 Apr 2005 12:24:39 -0700 From: Rob Landley Subject: Re: [uml-devel] question about UML sigcontext in tt mode References: <003501c535d8$e8574a50$90b3c68a@st.com> <20050404140011.GA1977@ccure.user-mode-linux.org> In-Reply-To: <20050404140011.GA1977@ccure.user-mode-linux.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200504051320.45424.rob@landley.net> Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 5 Apr 2005 13:20:45 -0400 To: user-mode-linux-devel@lists.sourceforge.net Cc: Jeff Dike , Alex LIU On Monday 04 April 2005 10:00 am, Jeff Dike wrote: > On Thu, Mar 31, 2005 at 06:03:34PM +0800, Alex LIU wrote: > > union uml_pt_regs { > > #ifdef UML_CONFIG_MODE_TT > > struct tt_regs { > > long syscall; > > void *sc; > > } tt; > > #endif > > }; > > ------------------------------------- > > > > Then why the tt.sc is defined as void while not as struct sigcontext? > > Thanks! > > Probably because you can't get a definition of struct sigcontext into > processor.h and have it still compile. > > Try #including sigcontext.h there and you'll see what I mean. I don't know about can't. #define sigcontext WALRUS #include thingy #undef WALRUS Adviseable is another matter entirely. (Did I mention I have a knack for coming up with disgusting solutions to impossible problems?) Rob ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel