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 <processor.h>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel