Subject: 060 Support (request for comments)
To: None <amiga-dev@NetBSD.ORG>
From: Daniel Widenfalk <t94dwi@student.tdb.uu.se>
List: amiga-dev
Date: 03/16/1995 18:10:24
Hi,
I'm ready to start implementing 060 support in my NetBSD-current kernel. I
would like all interested/involved parties to comment on the following:
1) The state of locore.s and amiga_init.c is somewhat messy. I'm not calling
it bad or anything, just messy. I would like to make a real clean-up of
those two files, perhaps splitting them into 020, 030, 040, 060, 881, 851
specific files. This will allow clearer code and, in the case of the
assembler files, cpu specific commands to be written as mnemonics rather
than .word statements.
2) The 060 support package from Motorola can't "coexist" with the fpsp for
the 040. This has to be dealt with! My suggestion is that stubs are added
to locore.s and a cpu-specific init function setup these stubs to point
to cpu-specific functions. This will actually gain an ounce of speed.
(I admit it won't be noticable) The stubs will also help in places like
cache control and maybe even vm/pmap handling.
3) The 060 has to have it's page-descriptors in non-cacheable ram as it won't
use the cache memory during table searches. This has to be dealt with too.
The p-d may lie in cacheable memory IF it is write-through, not copy-back.
4) What is the state of gas/gcc/g++? Does it support the 060 at all or do I
have to add 060 support there too?
Comments to these points are appreciated. Lets make it public for now. If the
discussion grown beyond limits you can mail me the comments and I'll compose
a summary and post it.
Thanks
/Daniel Widenfalk
t94dwi@student.tdb.uu.se
----
Author of not yet released FastlaneZ3 driver.