From: "pl ice" <telent997@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: when interrupt came, the kernel save pt_regs->eip always the same?
Date: Sat, 13 Dec 2008 23:48:07 +0800 [thread overview]
Message-ID: <41d311580812130748o262fdb31se647e840977d90a9@mail.gmail.com> (raw)
In-Reply-To: <41d311580812130740k6e0c139kacb5bad33b5b8fd4@mail.gmail.com>
HI,
These day i wanted get cpu context ,when interrupt came.BUT i
found when interrupt came kernel saved cpu context in struct pt_regs
and delivered to do_IRQ ,and i print the pt_regs->eip,they alway same
on the same interrupt?
The interrupt can come anytime,i think the eip will be very
different every time.BUT i debug kernel ,print eip in the function
do_IRQ,found it didn't run as i thought.Can anybody tell me why?
sincerely yours
next parent reply other threads:[~2008-12-13 15:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <41d311580812130732u58f480ecgc21cb6f16365d45a@mail.gmail.com>
[not found] ` <41d311580812130740k6e0c139kacb5bad33b5b8fd4@mail.gmail.com>
2008-12-13 15:48 ` pl ice [this message]
2008-12-13 16:55 ` Zwane Mwaikambo
2008-12-14 2:59 ` pl ice
2008-12-21 20:11 ` Jiri Slaby
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=41d311580812130748o262fdb31se647e840977d90a9@mail.gmail.com \
--to=telent997@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®