AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/libs/mmu.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Library to ctrl the MC68K MMUs, early alpha
Author: thor at math.tu-berlin.de (Thomas Richter)
Uploader:thor math tu-berlin de (Thomas Richter)
Type:util/libs
Version:0.02
Architecture:m68k-amigaos
Date:1998-09-23
Requires:Os 2.04
Download:util/libs/mmu.lha - View contents
Readme:util/libs/mmu.readme
Downloads:956

-----------------------------------------------------------------------------

Bugs fixed:

	-Due to a typo in the 68040/68060 startup code, the translation
	control register wasn't written to the right place, leading mis-
	interpretations of the library.
	-The 68040 specific part did not call the 68040 table scanner, but
	the 68060 stuff.
	-The library clean up code did not fill in the translation control
	register correctly for the 68040 and 68060.
	-The library did not accept "exotic" transparent translation
	settings. Unfortunately, these are not as uncommon as I believed.
	Some boards seem to translate a part of the memory transparently
	for read access only. I've no idea what this might be good for.
	But anyways, the memory regions transparently translated are now
	"mapped out" by the mmu.library and marked as unusable for
	further manipulation. This means specifically that a huge part of
	the available address space may be unavailable for virtual addresses.
	A future version of the libray may re-introduce the integration of
	the TTx registers into the mmu table, but up to then I don't like
	to risk anything.

-----------------------------------------------------------------------------
Warning: This is "work in progress", it's by no means complete.

I'm in the urge need for testers and co-authors. Especially MC68040 and
MC68060 systems are very welcome for testing.

Please check the "ReadMe" in the archive for details how to contact me.
-----------------------------------------------------------------------------

Purpose and goal of this library:

The mmu.library is a planned basis for MMU (memory management) related
functions the MC68K family can perform. Up to now certain hacks are available
that program the MMU themselves (Enforcer,CyberGuard,GuardianAngle,SetCPU,
Shapeshifter,VMM,GigaMem...). 
It's therefore not unexpected that these tools conflict with each other.
There's up to now no Os support for the MMU at all - the gap this mmu.library
is planned to fill.

The goal is to provide a basis of functions to address and program the MMU in
a hardware independent, Os friendly fashion. Hence, a future version of the
Enforcer will work together with virtual memory, and others.

The mmu.library is also the basis for a virtual memory project, the 
memory.library. Even though the mmu.library does not provide virtual memory
itself, it builds the basics to allow an easy implementation and to avoid the
hacks required by other implementations so far.

For the design details of the mmu.library, consider reading the autodocs in
this archive. Everything is still VERY preliminary, there's still room for
changes and suggestions.

------------------------------------------------------------------------------

This distribution contains the full sources written so far, the documentation
and some C sample sources how to use the library, as well as the includes
and autodocs written so far. Check the ReadMe for details. Even if you're not
a developer, you could help me a lot by running a test program on your
computer and sending me the results. Just "CD" into the unpacked archive
and enter "MMUScan" and "PrintTTx", and send me the results. That's up to
now all.

------------------------------------------------------------------------------
The mmu.library development group:

This is a loose, non-commercial group of developers that support the 
mmu.library by their work. If you want to join, I'll setup a mailing list
for the interested.

------------------------------------------------------------------------------

                         The THOR-Software Licence (v2, 24th June 1998)


This License applies to the computer programs known as the "mmu.library" 
and its sources. The "Program", below, refers to such program. The
"Archive" refers to the package of distribution, as prepared by the author
of the Program, Thomas Richter. Each licensee is addressed as "you".



The Program and the data in the archive are freely distributable
under the restrictions stated below, but are also Copyright (c)
Thomas Richter.

Distribution of the Program, the Archive and the data in the Archive by a
commercial organization without written permission from the author to any
third party is prohibited if any payment is made in connection with such
distribution, whether directly (as in payment for a copy of the Program) or
indirectly (as in payment for some service related to the Program, or
payment for some product or service that includes a copy of the Program
"without charge"; these are only examples, and not an exhaustive enumeration
of prohibited activities).


However, the following methods of distribution
involving payment shall not in and of themselves be a violation of this
restriction:


(i) Posting the Program on a public access information storage and
retrieval service for which a fee is received for retrieving information
(such as an on-line service), provided that the fee is not
content-dependent (i.e., the fee would be the same for retrieving the same
volume of information consisting of random data).


(ii) Distributing the Program on a CD-ROM, provided that

a) the Archive is reproduced entirely and verbatim on such CD-ROM, including
especially this licence agreement;

b) the CD-ROM is made available to the public for a nominal fee only,

c) a copy of the CD is made available to the author for free except for
shipment costs, and

d) provided further that all information on such CD-ROM is redistributable
for non-commercial purposes without charge.


Redistribution of a modified version of the Archive, the Program or the
contents of the Archive is prohibited in any way, by any organization,
regardless whether commercial or non-commercial. Everything must be kept
together, in original and unmodified form.




Limitations.


THE PROGRAM IS PROVIDED TO YOU "AS IS", WITHOUT WARRANTY. THERE IS NO
WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE
RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
SERVICING, REPAIR OR CORRECTION.


IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE THE PROGRAM, THE ARCHIVE
AND ALL DATA OF THIS ARCHIVE FROM YOUR STORAGE SYSTEM. YOU ACCEPT THIS
LICENCE BY USING OR REDISTRIBUTING THE PROGRAM.


                                                        Thomas Richter

-----------------------------------------------------------------------------

So long,
	Thomas			(September 1998)


Contents of util/libs/mmu.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1358    4439  30.6% -lh5- d290 Sep 13  1998 MMULib/Asm_Includes/dos_lib.asm
[generic]                  989    2401  41.2% -lh5- ac82 Sep 13  1998 MMULib/Asm_Includes/exec_lib.asm
[generic]                  233     660  35.3% -lh5- 2739 Sep 13  1998 MMULib/Asm_Includes/expansion_lib.asm
[generic]                 1331    3201  41.6% -lh5- 2cd1 Sep 13  1998 MMULib/Asm_Includes/graphics_lib.asm
[generic]                 4605   19336  23.8% -lh5- 60e0 Sep 13  1998 MMULib/Asm_Includes/Macros.asm
[generic]                  350     750  46.7% -lh5- 7c61 Sep 13  1998 MMULib/Asm_Includes/utility_lib.asm
[generic]                 4055   10094  40.2% -lh5- 7910 Jun 28  1998 MMULib/Autodocs/implementation
[generic]                 4911   14841  33.1% -lh5- cd96 Jul  5  1998 MMULib/Autodocs/memory.doc
[generic]                 8478   26355  32.2% -lh5- bcec Aug 30  1998 MMULib/Autodocs/mmu.doc
[generic]                 1614    6474  24.9% -lh5- 1163 Sep 19  1998 MMULib/C_Sources/MMUScan.c
[generic]                  486    1475  32.9% -lh5- 56cb Sep 12  1998 MMULib/Include/clib/mmu_protos.h
[generic]                  611    1871  32.7% -lh5- 7621 Sep 19  1998 MMULib/Include/mmu/alerts.h
[generic]                  636    2021  31.5% -lh5- 291f Sep 19  1998 MMULib/Include/mmu/config.h
[generic]                  571    1651  34.6% -lh5- 30c7 Sep 19  1998 MMULib/Include/mmu/config.h.bak
[generic]                 1637    4327  37.8% -lh5- c721 Sep 19  1998 MMULib/Include/mmu/context.h
[generic]                 1569    4155  37.8% -lh5- 1c33 Sep 19  1998 MMULib/Include/mmu/context.h.bak
[generic]                  571    1651  34.6% -lh5- 30c7 Sep 19  1998 MMULib/Include/mmu/mmubase.h
[generic]                  454    1342  33.8% -lh5- 37c9 Sep 19  1998 MMULib/Include/mmu/mmubase.h.bak
[generic]                  263     549  47.9% -lh5- cad9 Sep 12  1998 MMULib/Include/mmu_lib.fd
[generic]                  346    1007  34.4% -lh5- c241 Sep 12  1998 MMULib/Include/pragmas/mmu_pragmas.h
[generic]                  106     141  75.2% -lh5- 5012 Sep  6  1998 MMULib/Include/proto/mmu.h
[generic]                  116     165  70.3% -lh5- 8286 Sep  6  1998 MMULib/Include/proto/mmu.h.bak
[generic]                  449    1396  32.2% -lh5- e231 Sep 13  1998 MMULib/Lib_Sources/MakeFile
[generic]                 2084    8857  23.5% -lh5- 8dc1 Sep 19  1998 MMULib/Lib_Sources/mu_030.a
[generic]                  500     752  66.5% -lh5- f4b7 Sep 19  1998 MMULib/Lib_Sources/mu_030.o
[generic]                 2045    8745  23.4% -lh5- 5d38 Sep 19  1998 MMULib/Lib_Sources/mu_040.a
[generic]                 3038   12588  24.1% -lh5- 6c9d Sep 15  1998 MMULib/Lib_Sources/mu_040.a.bak
[generic]                  501     772  64.9% -lh5- 583d Sep 19  1998 MMULib/Lib_Sources/mu_040.o
[generic]                 2086    8771  23.8% -lh5- 31c6 Sep 19  1998 MMULib/Lib_Sources/mu_060.a
[generic]                 3069   12624  24.3% -lh5- 164c Sep 15  1998 MMULib/Lib_Sources/mu_060.a.bak
[generic]                  496     760  65.3% -lh5- e461 Sep 19  1998 MMULib/Lib_Sources/mu_060.o
[generic]                 1880    7686  24.5% -lh5- 0869 Sep 19  1998 MMULib/Lib_Sources/mu_851.a
[generic]                  392     576  68.1% -lh5- 256f Sep 19  1998 MMULib/Lib_Sources/mu_851.o
[generic]                  672    2174  30.9% -lh5- 72cf Sep 19  1998 MMULib/Lib_Sources/mu_alerts.i
[generic]                  455    1615  28.2% -lh5- 75d6 Sep 19  1998 MMULib/Lib_Sources/mu_alerts.i.bak
[generic]                 4544   20388  22.3% -lh5- 5927 Sep 19  1998 MMULib/Lib_Sources/mu_context.asm
[generic]                 1688    5890  28.7% -lh5- 184d Sep 19  1998 MMULib/Lib_Sources/mu_context.i
[generic]                 1122    1844  60.8% -lh5- afa8 Sep 19  1998 MMULib/Lib_Sources/mu_context.o
[generic]                 1783    9134  19.5% -lh5- 7b16 Sep 19  1998 MMULib/Lib_Sources/mu_detect.a
[generic]                 1370    4670  29.3% -lh5- b445 Sep 19  1998 MMULib/Lib_Sources/mu_detect.a.bak
[generic]                  391     636  61.5% -lh5- 6ab3 Sep 19  1998 MMULib/Lib_Sources/mu_detect.o
[generic]                 4239   18370  23.1% -lh5- 1d9e Sep 19  1998 MMULib/Lib_Sources/mu_lib.asm
[generic]                 2608   10241  25.5% -lh5- 8879 Sep 19  1998 MMULib/Lib_Sources/mu_lib.asm.bak
[generic]                 2639    9388  28.1% -lh5- ff0e Sep 19  1998 MMULib/Lib_Sources/mu_lib.i
[generic]                 1881    6279  30.0% -lh5- f840 Sep 19  1998 MMULib/Lib_Sources/mu_lib.i.bak
[generic]                 1219    2160  56.4% -lh5- a86e Sep 19  1998 MMULib/Lib_Sources/mu_lib.o
[generic]                 1124    3941  28.5% -lh5- 25d6 Sep 19  1998 MMULib/Lib_Sources/mu_loadlib.asm
[generic]                  293     428  68.5% -lh5- 4eb6 Sep 19  1998 MMULib/Lib_Sources/mu_loadlib.o
[generic]                 2950   11623  25.4% -lh5- 32fd Sep 19  1998 MMULib/Lib_Sources/mu_parse030.asm
[generic]                  551     696  79.2% -lh5- 2111 Sep 19  1998 MMULib/Lib_Sources/mu_parse030.o
[generic]                 2148    7385  29.1% -lh5- ac4f Sep 19  1998 MMULib/Lib_Sources/mu_parse040.asm
[generic]                  383     444  86.3% -lh5- 3c5d Sep 19  1998 MMULib/Lib_Sources/mu_parse040.o
[generic]                 2159    7403  29.2% -lh5- e247 Sep 19  1998 MMULib/Lib_Sources/mu_parse060.asm
[generic]                  383     444  86.3% -lh5- ba00 Sep 19  1998 MMULib/Lib_Sources/mu_parse060.o
[generic]                 2989   12718  23.5% -lh5- 4456 Sep 19  1998 MMULib/Lib_Sources/mu_pool.asm
[generic]                  665     996  66.8% -lh5- 56e0 Sep 19  1998 MMULib/Lib_Sources/mu_pool.o
[generic]                 1409    4979  28.3% -lh5- d441 Sep 19  1998 MMULib/Lib_Sources/mu_service.asm
[generic]                 1183    4106  28.8% -lh5- bb18 Sep 19  1998 MMULib/Lib_Sources/mu_service.asm.bak
[generic]                  273     348  78.4% -lh5- 0f03 Sep 19  1998 MMULib/Lib_Sources/mu_service.o
[generic]                  489    1684  29.0% -lh5- e048 Sep 19  1998 MMULib/Lib_Sources/mu_version.i
[generic]                  207     273  75.8% -lh5- d8c7 Sep 13  1998 MMULib/Lib_Sources/Project-Startup
[generic]                   65      80  81.2% -lh5- 4c18 Sep 13  1998 MMULib/Lib_Sources/Shell-Startup2
[generic]                 4288    8148  52.6% -lh5- c132 Sep 19  1998 MMULib/mmu.library
[generic]                 2964    6875  43.1% -lh5- 15b0 Sep 20  1998 MMULib/mmulib.readme
[generic]                 8440   15876  53.2% -lh5- 406c Sep 19  1998 MMULib/MMUScan
[generic]                  426     728  58.5% -lh5- 5931 Sep 17  1998 MMULib/PrintTTX
[generic]                 6457   16254  39.7% -lh5- b3d4 Sep 20  1998 MMULib/ReadMe
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        67 files  116287  370651  31.4%            Sep 23  1998
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>