From: Frank Rowand <frank_rowand@hp.com>
To: Ryan Bradetich <rbradetich@uswest.net>
Cc: frowand@cup.hp.com, Alex deVries <adevries@thepuffingroup.com>,
parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] arch/parisc/kernel/realmode_setup.c Question
Date: Tue, 16 Nov 1999 13:32:56 -0800 [thread overview]
Message-ID: <3831CD88.C0DC6261@hp.com> (raw)
In-Reply-To: 383163F5.3B21ECAB@uswest.net
Ryan Bradetich wrote:
>
> Frank Rowand wrote:
>
> > Alex deVries wrote:
> > >
> > > On Mon, 15 Nov 1999, Frank Rowand wrote:
> > > > You don't get to choose. The PDC is either 32 bit or 64 bit. It's not
> > > > a question of what mode the OS is running in, but what the PDC was
> > > > compiled for.
> > >
> > > Hm. I'm pretty sure that a 32 bit version of HPUX has run on that box as
> > > well, so wouldn't that mean that it'd have to be a 32 bit PDC?
> > >
> > > - Alex
> >
> > Nope. The OS has to figure out what type of PDC it is calling, and properly
> > marshall the arguments for the call.
> >
> > -Frank
>
> Time for me to show off my ignorance again. :) As I understand it, the PDC is
> firmware, which all the CPU (in a multiple CPU box) share. I know that when
> I installed 11.X on this C200 that I was given the choice to install it in 32
> bit or
> 64 bit mode. Does this mean the install disk updates the PDC firmware to boot
> into either 32-bit or 64-bit mode?
The PDC is either 32-bit or 64-bit. The OS has to deal with whatever version
of the firmware is on the box.
HP-UX is smart enough to switch into wide or narrow mode, as needed, before
calling PDC. It also passes the arguments differently for 64 bit PDC than
for 32 bit PDC.
Page zero is also different for PA2.0 systems. HP-UX has to deal with those
differences even when it's a 32 bit OS.
> Also looking at the PSW definition for the W bit on page 2-7 and
> page 2-8 of PA-RISC 2.0 Architecture by Gerry Kane:
>
> W: Wide 64-bit address formation enabled. When 1, full 64-bit-offset
> addressing
> is enabled. When 0, addresses are truncated to 32-bit offsets, for
> compatibility
> with existing PA-RISC 1.0 and 1.1 applications.
>
> >From PIM dumps, I know all the registers are 64 bit, and the PSW is also 64 bit
> on
> this C200.. So it looks like I should be able to switch between 32-bit and
> 64-bit by
> changing the W bit in the PSW?
>
> Thanks,
> Ryan Bradetich
>
> P.S. I will try to query the PDC_MODEL as you suggested as in a previous email
>
> in this thread and post the result when I get home tonight.
-Frank
next prev parent reply other threads:[~1999-11-16 21:31 UTC|newest]
Thread overview: 17+ 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 [this message]
1999-11-15 23:11 ` [parisc-linux] use of (*PAGE0->mem_pdc)() Frank Rowand
1999-11-17 4:49 ` Philipp Rumpf
-- strict thread matches above, loose matches on Subject: below --
1999-11-15 18:33 [parisc-linux] arch/parisc/kernel/realmode_setup.c Question bame
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=3831CD88.C0DC6261@hp.com \
--to=frank_rowand@hp.com \
--cc=adevries@thepuffingroup.com \
--cc=frowand@cup.hp.com \
--cc=parisc-linux@thepuffingroup.com \
--cc=rbradetich@uswest.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 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.