From: Cyril Wattebled <neurowork@free.fr>
To: linux-kernel@vger.kernel.org
Subject: init_tss problem
Date: Sun, 19 Sep 2004 00:55:28 +0200 [thread overview]
Message-ID: <414CBCE0.5000508@free.fr> (raw)
Hi,
I'm trying to understand some piece of kernel code and I've come to this :
In arch/i386/kernel/process.c:
struct tss_struct *tss = &per_cpu(init_tss, cpu);
I don't know what init_tss is.
It's defined in asm/processor.h with the macro DEFINE_PER_CPU
(tss_struct, init_tss)
which basically does extern tss_struct init_tss.
But this init_tss has to be declared somewhere to be used as extern ...
I've searched the entire code for any reference to it but I only found it in
arch/x86_64/kernel/init_task.c which is normaly not compiled on my system.
I'm in a dead end ... anyone .. help ?
Thanks
--
Cyril Wattebled
neurowork@free.fr
next reply other threads:[~2004-09-18 22:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-18 22:55 Cyril Wattebled [this message]
2004-09-19 8:41 ` init_tss problem Remi Colinet
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=414CBCE0.5000508@free.fr \
--to=neurowork@free.fr \
--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