2 * Copyright 2003 PathScale, Inc.
4 * Licensed under the GPL
12 void sc_to_sc(void *to_ptr
, void *from_ptr
)
14 struct sigcontext
*to
= to_ptr
, *from
= from_ptr
;
15 int size
= sizeof(*to
); /* + sizeof(struct _fpstate); */
17 memcpy(to
, from
, size
);
18 if(from
->fpstate
!= NULL
)
19 to
->fpstate
= (struct _fpstate
*) (to
+ 1);
24 unsigned long *sc_sigmask(void *sc_ptr
)
26 struct sigcontext
*sc
= sc_ptr
;
31 /* Overrides for Emacs so that we follow Linus's tabbing style.
32 * Emacs will notice this stuff at the end of the file and automatically
33 * adjust the settings for this buffer only. This must remain at the end
35 * ---------------------------------------------------------------------------
37 * c-file-style: "linux"