[comp.sys.m88k] Shared Memory Question

adoyle@bbn.com (Allan Doyle) (05/08/90)

We have a new Motorola Delta 8864 system with dual 88k CPU running
System V Release 3.2. We are trying to plug a Tadpole 1600x1200 color
graphics card into it. The problem we are having is with a sequence
of calls to shmget() and shmat(). Rather than delve into the many
ways I have tried it that have failed, does anyone out there have
a working code fragment they can send me that will:

	Grab a 20 Mbyte hunk of shared memory at a given physical
	memory location (the frame buffer and control registers)

	Attach to that shared memory and use it from user space.

Thanks in advance.


Allan Doyle                                              adoyle@bbn.com
BBN Systems and Technologies Corporation		 (617) 873-3398
70 Fawcett Street,   Cambridge, MA 02138

andrew@frip.WV.TEK.COM (Andrew Klossner) (05/09/90)

Some versions of the Motorola V.3.2 kernel disallow a shared memory
segment bigger than 4M.  Try building your 20M shared segment in five
4M-sized pieces.

  -=- Andrew Klossner   (uunet!tektronix!frip.WV.TEK!andrew)    [UUCP]
                        (andrew%frip.wv.tek.com@relay.cs.net)   [ARPA]