[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] obsolete aout binutils?



Hi,

> - Someone does he work on the virtual memory support?
I wrote it on some other place, so I just repeat: I worked on this for about
4 months. Main idea was to port NetBSD's UVM to MiNT environment. I chose
this option because:

- UVM is well tested and proved stable
- UVM is great documented
- the author of UVM had to solve nearly the same problem as in FreeMiNT - to
"fit" new VM on existing one so he touches as little existing code as possible
- UVM is implemented on BSD architecture so they share a lot of ideas with
FreeMiNT

I think I did a great progress (even with countless fights with aranym+linux
box) - the complete lowlevel initialization is done. That means all that
dirty work that implies from the difference between "unix on image" (NetBSD) and "os
extension" (FreeMiNT) is already done. In practice: everything until
uvm_init() in main() function works.

TODO list is:
- remove all memory allocation and mmu code from FreeMiNT and replace with
UVM
- go trough UVM's source code, check every reference to NetBSD's kernel and
adapt it to FreeMiNT's ones - for example if in netbsd is process' pointer
defined as structure with entries x, y, z and in freemint as structure with
entries x, z and one global variable y, you need to fix it. and so on...

All at all, it isn't hard work. I have an exact picture how UVM works (270
pages ;) so it's just matter of time. And here is the problem - I received
my ct60 plus ct63 (yeah, two turbo falcons ;-) so I "switched" back to my
love - demo coding. So I didn't give up, it has just lower priority. If
there is someone interested, I can put it in some understandable form and
put online - in case someone will want to continue my work.

> It's a real pity than I'm not a system coder otherwise I would have made 
> something :-/
>
You don't need to born as system coder - I was pure demo coder, it's just
matter of reading and reading and asking lame questions... ;) 

> I'm alone to want that?
> 
> Guido, Franck, Draco, Patrice.. Any help/code will be *very very much* 
> apprecied by all the community.
>
Give me 48 hours per day ;-)


-- 

---------------------------------------------------------------------------
MiKRO         Atari XE/XL/Mega STE/Falcon060         http://mikro.atari.org
---------------------------------------------------------------------------