From: Alex LIU <alex.liu@st.com>
To: UML-dev <user-mode-linux-devel@lists.sourceforge.net>
Subject: [uml-devel] question about UML sigcontext in tt mode
Date: Thu, 31 Mar 2005 18:03:34 +0800 [thread overview]
Message-ID: <003501c535d8$e8574a50$90b3c68a@st.com> (raw)
Hi,all:
I have a question about the sigcontext in tt mode.The union uml_pt_regs is defined as below(in uml-2.6.7):
--------------------------------
union uml_pt_regs {
#ifdef UML_CONFIG_MODE_TT
struct tt_regs {
long syscall;
void *sc;
} tt;
#endif
#ifdef UML_CONFIG_MODE_SKAS
struct skas_regs {
unsigned long regs[HOST_FRAME_SIZE];
unsigned long fp[HOST_FP_SIZE];
unsigned long xfp[HOST_XFP_SIZE];
unsigned long fault_addr;
unsigned long fault_type;
unsigned long trap_type;
long syscall;
int is_user;
} skas;
#endif
};
-------------------------------------
Then why the tt.sc is defined as void while not as struct sigcontext? Thanks!
Alex
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next reply other threads:[~2005-03-31 10:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-31 10:03 Alex LIU [this message]
2005-04-01 18:51 ` [uml-devel] question about UML sigcontext in tt mode Blaisorblade
2005-04-04 14:00 ` Jeff Dike
2005-04-05 17:20 ` Rob Landley
2005-04-05 20:59 ` Blaisorblade
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='003501c535d8$e8574a50$90b3c68a@st.com' \
--to=alex.liu@st.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox