All of lore.kernel.org
 help / color / mirror / Atom feed
From: grundler@dsl2.external.hp.com (Grant Grundler)
To: bruno_vidal@hp.com
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] New dump driver patche.
Date: Tue, 8 Apr 2003 09:35:02 -0600	[thread overview]
Message-ID: <20030408153502.GE3547@dsl2.external.hp.com> (raw)
In-Reply-To: <3E92C42E.5B9BB871@hp.com>

On Tue, Apr 08, 2003 at 02:44:30PM +0200, bruno_vidal@hp.com wrote:
>     Hi
> Joel asked for something interresting, does someone know how I can retrieve
> an option passed to the kernel?

I think Randloph is right, MODULE_PARAM() should be sufficient.


But in case it's not, arch/parisc/kernel/setup.c:
	void __init start_parisc(unsigned arg0, unsigned arg1,

		arg1 is the command_line.

	void __init setup_arch(char **cmdline_p)

		cmdlinux_p is a pointer to "saved_command_line".
		a copy of the original.


An example is in kernel/printk.c:__setup("console=", console_setup);


hth,
grant

  parent reply	other threads:[~2003-04-08 15:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08 10:44 [parisc-linux] New dump driver patche "Beerse, Corné"
2003-04-08 12:44 ` bruno_vidal
2003-04-08 14:52   ` Randolph Chung
2003-04-08 15:35   ` Grant Grundler [this message]
     [not found] <3E8AE87E00003398@ocpmta2.freegates.net>
2003-04-08 10:30 ` bruno_vidal
  -- strict thread matches above, loose matches on Subject: below --
2003-04-07 16:10 bruno_vidal
2003-04-07 16:54 ` Randolph Chung
2003-04-08  6:17   ` bruno_vidal
2003-04-07 17:37 ` Joel Soete
2003-04-08  6:15   ` bruno_vidal
2003-04-08  6:23     ` Joel Soete

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=20030408153502.GE3547@dsl2.external.hp.com \
    --to=grundler@dsl2.external.hp.com \
    --cc=bruno_vidal@hp.com \
    --cc=parisc-linux@lists.parisc-linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.