Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!smsc.sony.com!amir From: amir@smsc.sony.com (Amir 806) Newsgroups: comp.sys.mips Subject: Re: mmap Message-ID: <1991Jun6.022803.16167@smsc.sony.com> Date: 6 Jun 91 02:28:03 GMT References: <1991Jun3.151307.20857@watdragon.waterloo.edu> <4210@spim.mips.COM> Distribution: na Organization: Sony Microsystems Corp, San Jose, CA Lines: 28 In article <4210@spim.mips.COM> trevc@mips.com writes: >In article <1991Jun3.151307.20857@watdragon.waterloo.edu>, drclark@daisy.waterloo.edu (David R. Clark) writes: >|> The following program (actually a slight variation of it) works on one of >|> our local systems (Sequent). On an M2000 running 4.51 the call to mmap fails >|> (invalid arguments). Any ideas? .... > >RISC/os 4.5x supports only a subset of the mmap and munmap system calls. >Only mapping of character devices is allowed, and only one device can >be mapped by a process. >What is "AND" in your example? AND is any ordinary file I think. Anyway, it does fail on our MIPS box. >RISC/os 5.0 will add memory mapped file functionality that operates in >accordance with SVR4 semantics. > >We hope to start beta testing of RISC/os 5.0 around the end of July. > Good. I just tested this on our SVR4 port and it works fine. -- Amir H. Majidimehr Operating Systems Group Sony Microsystems amir@sony.com | ...!{uunet,mips}!sonyusa!amir