LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* union/struct representations for MAS Registers
@ 2011-08-10 17:21 Jimi Xenidis
  2011-08-10 17:25 ` Kumar Gala
  2011-08-10 17:25 ` David Laight
  0 siblings, 2 replies; 7+ messages in thread
From: Jimi Xenidis @ 2011-08-10 17:21 UTC (permalink / raw)
  To: Kumar Gala; +Cc: Linuxppc-dev list

I have some and use them in some code, they represent ISA 2.06 MAVN=3D1 =
(version 2)
Can I keep them?
if so, should I put them somewhere useful to others?

Examples:
union mas1 {
	u32 _val;
	struct {
		u32 v:1;
		u32 iprot:1;
		u32 tid:14;
		u32 _reserved_1:2;
		u32 ind:1;
		u32 ts:1;
		u32 tsize:4;
		u32 _reserved_2:8;
	};
};

-jx

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-08-10 17:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-10 17:21 union/struct representations for MAS Registers Jimi Xenidis
2011-08-10 17:25 ` Kumar Gala
2011-08-10 17:31   ` Jimi Xenidis
2011-08-10 17:25 ` David Laight
2011-08-10 17:31   ` Jimi Xenidis
2011-08-10 17:38     ` David Laight
2011-08-10 17:48       ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox