All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Rowand <frank_rowand@hp.com>
To: Parisc Linux <parisc-linux@thepuffingroup.com>
Subject: [parisc-linux] use of (*PAGE0->mem_pdc)()
Date: Mon, 15 Nov 1999 15:11:36 -0800	[thread overview]
Message-ID: <38309328.A734C736@hp.com> (raw)
In-Reply-To: 382F3C94.BFF3EB9D@uswest.net

Ryan Bradetich wrote:

< stuff deleted >

> [Taken from arch/parisc/kernel/realmode_setup.c]
> 
>  /* This whole VM setup stuff may be removed ultimately.  It seems
>    * to me that once the TLB miss handlers are ready, we just switch
>    * to VM and let them handle TLB population -PB
>    */
> 
>   pret = (*PAGE0->mem_pdc)(
>   PDC_BLOCK_TLB,
>   PDC_BTLB_INSERT,


A comment that is totally unrelated to the question Ryan was asking...

I would recommend that we quit using the pointer to PDCE_PROC() that
is in page zero, because the newer machines have a PDC procedure,
PDC_RELOCATE(), that copies PDCE_PROC into real memory, where it
executes much faster.  The page zero pointer to PDCE_PROC() is not
updated by PDC_RELOCATE(), but instead a pointer to the in-memory
PDCE_PROC() is returned.

I recommend using a global variable to hold the pointer to PDCE_PROC(),
which would be the value from page zero initially, then updated to
the value returned by PDC_RELOCATE().

-Frank

  parent reply	other threads:[~1999-11-15 23:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-14 22:49 [parisc-linux] arch/parisc/kernel/realmode_setup.c Question Ryan Bradetich
1999-11-15  0:59 ` Alex deVries
1999-11-15  1:01   ` Ryan Bradetich
1999-11-15  4:42     ` Alex deVries
1999-11-15  7:20     ` Philipp Rumpf
1999-11-15 13:28       ` Matthew Wilcox
1999-11-15 14:15       ` Ryan Bradetich
1999-11-15 23:02 ` Frank Rowand
1999-11-16  0:31   ` Alex deVries
1999-11-15 23:34     ` Frank Rowand
1999-11-16  0:48       ` Alex deVries
1999-11-15 23:42         ` Frank Rowand
1999-11-16 14:02           ` Ryan Bradetich
1999-11-16 21:32             ` Frank Rowand
1999-11-15 23:11 ` Frank Rowand [this message]
1999-11-17  4:49   ` [parisc-linux] use of (*PAGE0->mem_pdc)() Philipp Rumpf

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=38309328.A734C736@hp.com \
    --to=frank_rowand@hp.com \
    --cc=frowand@cup.hp.com \
    --cc=parisc-linux@thepuffingroup.com \
    /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.