Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!stanford.edu!rutgers!mcdchg!heiby From: heiby@mcdchg.chg.mcd.mot.com (Ron Heiby) Newsgroups: comp.sys.m68k Subject: 68040 MMU Prog Question Message-ID: <62390@mcdchg.chg.mcd.mot.com> Date: 6 May 91 22:32:14 GMT Organization: Motorola Computer Group, Schaumburg, IL Lines: 29 I have a customer who is trying to convert their application from an MVME133XT to an MVME165. They have a 68040 MMU related question that has arisen from their configuration and the requirements of using the on-chip cache for performance. They have four regions of memory. 1. On-board memory - 4Meg at 0x0, to be cached I&D, copyback 2. A24 VMEbus space - 12Meg just after the end of 1, non-cached 3. A32 VMEbus space - various areas, many megabytes, non-cached 4. On-board resources - high memory, non-cached We believe that 3 and 4 can be treated the same, as they are both A32 and non-cached. If so, then they collapse to a single region. We had hoped to be able to do something simple, like with transparent translation registers, but 16Meg seems to be the minimum size for a TT reg. Perhaps one could be used for everything beyond the first 16Meg? As there are only two TT registers, and we have three kinds of memory space, it looks as though we have to construct MMU page tables. The customer is concerned that it seems like a lot of work and a lot of memory used up in page tables. As I look at it, I don't see how to create a TT register that maps everything except the first 16Meg. If it is possible, then page tables are needed for only that first 16Meg, which looks like it would be doable in about 8KBytes (with 8K pages). I'm not an MMU expert. I'm hoping to find one that can help guide us in configuring the 040 MMU for this application. Thanks much. -- Ron Heiby, heiby@chg.mcd.mot.com Moderator: comp.newprod "Wrong is wrong, even when it helps you." Popeye