* endian attribute: setting or register?
@ 2001-05-30 21:50 Ben Elliston
2001-05-31 3:44 ` Frank Ch. Eigler
0 siblings, 1 reply; 5+ messages in thread
From: Ben Elliston @ 2001-05-30 21:50 UTC (permalink / raw)
To: sid
The current base cpu classes include an "endian" attribute -- it's
currently added as a "register" type attribute. Should it be a
"setting" instead? That would make more sense -- and by changing it,
we save valuable real estate in tksm's gui for the multitide of
physical cpu registers that may be listed. Comments?
Ben
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: endian attribute: setting or register?
2001-05-30 21:50 endian attribute: setting or register? Ben Elliston
@ 2001-05-31 3:44 ` Frank Ch. Eigler
2001-05-31 8:35 ` Mark Douglas
0 siblings, 1 reply; 5+ messages in thread
From: Frank Ch. Eigler @ 2001-05-31 3:44 UTC (permalink / raw)
To: Ben Elliston; +Cc: sid
Hi -
On Thu, May 31, 2001 at 02:49:03PM +1000, Ben Elliston wrote:
: The current base cpu classes include an "endian" attribute -- it's
: currently added as a "register" type attribute. Should it be a
: "setting" instead?
Yes and no: some CPUs can switch endianness on the fly.
: [...] by changing it, we save valuable real estate in
: tksm's gui for the multitide of physical cpu registers
: that may be listed. [...]
tksm should be smarter about the layout of the attribute list windows.
- FChE
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7FiCTVZbdDOm/ZT0RAnAfAJ9qD9Xl6Y2Fid+nAfJEl146kFyNEgCcD01V
VTopfx5jsPaNsAqRfkFI9Kk=
=sQJL
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: endian attribute: setting or register?
2001-05-31 3:44 ` Frank Ch. Eigler
@ 2001-05-31 8:35 ` Mark Douglas
2001-05-31 8:39 ` Frank Ch. Eigler
0 siblings, 1 reply; 5+ messages in thread
From: Mark Douglas @ 2001-05-31 8:35 UTC (permalink / raw)
To: Frank Ch. Eigler; +Cc: Ben Elliston, sid
wouldn't it make more sense just to read the configuration reg that identifies
the endianess and then behave appropriately?
Mark
"Frank Ch. Eigler" wrote:
> Hi -
>
> On Thu, May 31, 2001 at 02:49:03PM +1000, Ben Elliston wrote:
> : The current base cpu classes include an "endian" attribute -- it's
> : currently added as a "register" type attribute. Should it be a
> : "setting" instead?
>
> Yes and no: some CPUs can switch endianness on the fly.
>
> : [...] by changing it, we save valuable real estate in
> : tksm's gui for the multitide of physical cpu registers
> : that may be listed. [...]
>
> tksm should be smarter about the layout of the attribute list windows.
>
> - FChE
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: endian attribute: setting or register?
2001-05-31 8:35 ` Mark Douglas
@ 2001-05-31 8:39 ` Frank Ch. Eigler
2001-05-31 8:41 ` Mark Douglas
0 siblings, 1 reply; 5+ messages in thread
From: Frank Ch. Eigler @ 2001-05-31 8:39 UTC (permalink / raw)
To: Mark Douglas; +Cc: sid
Hi -
On Thu, May 31, 2001 at 08:39:28AM -0700, Mark Douglas wrote:
: wouldn't it make more sense just to read the configuration reg that
: identifies the endianess and then behave appropriately?
Yes, this is how it works for endian-switcheroo architectures.
In most cases, the desired endianness may be configured at
sid startup/reset time. Ben's comment was only about how
to classify the endianness parameter in the tksm GUI
(regardless how it was acquired or related to hardware
control registers).
- FChE
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7FmWPVZbdDOm/ZT0RAomNAJ9iSg8hPtFpuE0c/P8ZL7QVr4XZSQCeIpww
v+TpwlMRER2CDQYWEGY4hC0=
=QJvT
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: endian attribute: setting or register?
2001-05-31 8:39 ` Frank Ch. Eigler
@ 2001-05-31 8:41 ` Mark Douglas
0 siblings, 0 replies; 5+ messages in thread
From: Mark Douglas @ 2001-05-31 8:41 UTC (permalink / raw)
To: Frank Ch. Eigler; +Cc: sid
Sorry... just trying to "stick with this" conceptually.
Mark
"Frank Ch. Eigler" wrote:
> Hi -
>
> On Thu, May 31, 2001 at 08:39:28AM -0700, Mark Douglas wrote:
> : wouldn't it make more sense just to read the configuration reg that
> : identifies the endianess and then behave appropriately?
>
> Yes, this is how it works for endian-switcheroo architectures.
> In most cases, the desired endianness may be configured at
> sid startup/reset time. Ben's comment was only about how
> to classify the endianness parameter in the tksm GUI
> (regardless how it was acquired or related to hardware
> control registers).
>
> - FChE
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-05-31 8:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-30 21:50 endian attribute: setting or register? Ben Elliston
2001-05-31 3:44 ` Frank Ch. Eigler
2001-05-31 8:35 ` Mark Douglas
2001-05-31 8:39 ` Frank Ch. Eigler
2001-05-31 8:41 ` Mark Douglas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).